ignasipuch / pelissimo

Development of free energy binding energy scoring for PELE
1 stars 0 forks source link

Pelissimo

This repository contains certain python scripts to analyze PELE simulations: analyze. Some others are meant to automatize specific PELE simulations in different ways: protocol.

Contents

Examples

In all cases the usage of the flag -h is recommended in order to understand the possibilities offered by the script.

python path/to/code/analysis.py -h

In case of doubt the code can be read since all the functions are commented and explained.

analysis

All the analysis scripts are designed to be run from the father directory of the output directory generated by PELE.

  1. disc.py: In this case we want to analyze the reports inside output_1 and we want to take a look at the fifth metric in the reports.

    python path/to/code/disc.py -d ouput_1 -c 5
  2. analysis.py: If we want to make 50 bootstrap datasets from the results in output_2 regarding the sasa:

python path/to/code/analysis.py -d ouput_2 -ns 50 -m sasa --bootstrap

If we want to select the snapshots the first quantile of the BindingEnergy and analyze the energetic results of the BindingEnergy:

python path/to/code/analysis.py -rn rmsd_report -es 3 -q ['BindingEnergy',0.25] --filter --analyze -m BindingEnergy
  1. pelefetcher.py: If we want to extract the pose in epoch 4, trajectory 33, model 7 and save it as 1MTS_min.pdb:
python path/to/code/pele_fetcher.py -e 4 -t 33 -m 7 -s 1MTS_min
  1. rmsd.py: We will require the ligand structure that we will base our RMSD upon (i.e. 1HPV_lig.pdb). :
python path/to/code/rmsd.py -pdbr 1HPV_lig.pdb

protocol

entropy

  1. dihedralclustering.py: If we want to calculates the 1A28's ligand dihedrals of all the simulation stored in the folder called output_original and cluster them with bins:
python path/to/code/dihedral_clustering.py -f 1A28_lig.pdb -d output_original 

strain

  1. linen.py: This code requires a DataLocal folder of the ligand. If we want to make a ligand-alone simulation of the 1A28_lig.pdb file with OpenFF and OBC as forcefield and solvent model:
python path/to/code/linen.py -f 1A28_lig.pdb -ff OpenFF-OPLS2005 -sm OBC