Protein-ligand binding free energy: multiple trajectories¶
This example demonstrates the files and command-line options used by the multiple-trajectory (MT) workflow for a protein-small-molecule complex. The complex also serves as the source for any receptor or ligand component that is not supplied separately.
-
Protocol
Multiple trajectories
-
System
Protein-small molecule
-
Solvent model
GB-Neck2 (
igb=8) -
Bundled test
gmx_MMPBSA_test -t 16
Before you begin¶
The bundled command supplies a separate structure, trajectory, index, and topology for each state:
-
Complex
com.tpr,com_traj.xtc,index.ndx, andtopol.top -
Receptor
rec.pdb,rec_traj.xtc,rec_index.ndx, andrec.top -
Ligand
lig.pdb,lig_traj.xtc,lig_index.ndx, andlig.top -
Shared parameters
The
toppardirectory referenced by all three topology files
The complex index contains the receptor and ligand groups. The receptor and ligand indexes each use their System group. See the complete command-line reference for all options.
Supplying receptor and ligand components
The receptor and ligand inputs are independent of one another. If either component is not provided separately, gmx_MMPBSA extracts its structure and trajectory from the complex and generates its topology from the selected complex group. You can therefore supply both components, only the receptor, only the ligand, or neither one.
Run the example¶
Run the bundled test¶
The quickest way to reproduce this example is through the test runner:
See the gmx_MMPBSA_test documentation for download, selection, and cleanup options.
Run it manually¶
Download the protein-ligand MT example as a ZIP archive.
Extract the archive, change to the MT directory, and choose either the serial or MPI command. You can also view the example files on GitHub before downloading them.
gmx_MMPBSA -O \
-i mmpbsa.in \
-cs com.tpr \
-ct com_traj.xtc \
-ci index.ndx \
-cg receptor ligand \
-cp topol.top \
-rs rec.pdb \
-rt rec_traj.xtc \
-ri rec_index.ndx \
-rg System \
-rp rec.top \
-ls lig.pdb \
-lt lig_traj.xtc \
-li lig_index.ndx \
-lg System \
-lp lig.top \
-o FINAL_RESULTS_MMPBSA.dat \
-eo FINAL_RESULTS_MMPBSA.csv
mpirun -np 2 gmx_MMPBSA -O \
-i mmpbsa.in \
-cs com.tpr \
-ct com_traj.xtc \
-ci index.ndx \
-cg receptor ligand \
-cp topol.top \
-rs rec.pdb \
-rt rec_traj.xtc \
-ri rec_index.ndx \
-rg System \
-rp rec.top \
-ls lig.pdb \
-lt lig_traj.xtc \
-li lig_index.ndx \
-lg System \
-lp lig.top \
-o FINAL_RESULTS_MMPBSA.dat \
-eo FINAL_RESULTS_MMPBSA.csv
Configure the calculation¶
The example uses the minimal mmpbsa.in shown first below. The all-options version was generated with gmx_MMPBSA --create_input gb and then adapted with the same example-specific values. The concise block is the runnable starting point; the generated block includes additional options and defaults, so the two blocks are not textually identical. Both blocks therefore describe the same calculation.
Keep in mind
This input provides a practical starting point and can serve as the basis for production calculations. Review the available input-file options, their accepted values, and adjust settings that depend on your system or protocol. Additional sample inputs are available here.
How this example works¶
The complex inputs (-cs, -ct, -ci, -cg, and -cp) define the bound system and the selections used for any component that must be generated from it. The -rs/-rt/-ri/-rg/-rp options override that source for the receptor, while -ls/-lt/-li/-lg/-lp do the same for the ligand. Omitting one component leaves the other component's independently supplied inputs unchanged.
The calculation processes frames 1 through 10 with GB-Neck2 (igb=8), the matching mbondi3 radii (PBRadii=4), and 0.15 M salt.
Expected outputs¶
A successful calculation produces:
FINAL_RESULTS_MMPBSA.dat: the MM/GBSA summary and binding-energy statistics.FINAL_RESULTS_MMPBSA.csv: the per-frame energy terms requested with-eo.
Analyze the results¶
Open the results with gmx_MMPBSA_ana for interactive inspection and plotting. See the gmx_MMPBSA_ana documentation for usage details.
Created: October 17, 2020 22:35:03