Skip to main content

Advertisement

Log in

A Python tool to set up relative free energy calculations in GROMACS

  • Published:
Journal of Computer-Aided Molecular Design Aims and scope Submit manuscript

Abstract

Free energy calculations based on molecular dynamics (MD) simulations have seen a tremendous growth in the last decade. However, it is still difficult and tedious to set them up in an automated manner, as the majority of the present-day MD simulation packages lack that functionality. Relative free energy calculations are a particular challenge for several reasons, including the problem of finding a common substructure and mapping the transformation to be applied. Here we present a tool, alchemical-setup.py, that automatically generates all the input files needed to perform relative solvation and binding free energy calculations with the MD package GROMACS. When combined with Lead Optimization Mapper (LOMAP; Liu et al. in J Comput Aided Mol Des 27(9):755–770, 2013), recently developed in our group, alchemical-setup.py allows fully automated setup of relative free energy calculations in GROMACS. Taking a graph of the planned calculations and a mapping, both computed by LOMAP, our tool generates the topology and coordinate files needed to perform relative free energy calculations for a given set of molecules, and provides a set of simulation input parameters. The tool was validated by performing relative hydration free energy calculations for a handful of molecules from the SAMPL4 challenge (Mobley et al. in J Comput Aided Mol Des 28(4):135–150, 2014). Good agreement with previously published results and the straightforward way in which free energy calculations can be conducted make alchemical-setup.py a promising tool for automated setup of relative solvation and binding free energy calculations.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

Notes

  1. Here, we do not prepend it with the adjective “maximal” as this would imply the largest possible number of atoms the two molecules can have in common which is not what is always wanted. For example, in the mannitol-to-tetrahydropyran transformation, the inclusion of an extra –CH2– fragment in the common substructure would certainly make the substructure larger but only at the expense of favoring certain conformations of mannitol which, in general, should be avoided.

  2. This somewhat loose term means that the “disappearing” atoms contribute less and less to the total potential energy of the system as the coupling parameter lambda grows. “Appearing” is the opposite process. Ultimately, a fully “disappeared” atom (a dummy atom) no longer retains any non-bonded interactions with the rest of the system, while a fully “appeared” atom has full non-bonded interactions with the rest of the system (and is a normal atom).

  3. Because of the necessity to use soft-core potentials for both non-bonded interactions in this study it is impossible to employ exactly the same lambda schedule used previously [16].

References

  1. Berendsen HJC, Postma JPM, van Gunsteren WF, DiNola A, Haak JR (1984) Molecular dynamics with coupling to an external bath. J Chem Phys 81(8):3684–3690

    Article  CAS  Google Scholar 

  2. Beutler TC, Mark AE, van Schaik RC, Gerber PR, van Gunsteren WF (1994) Avoiding singularities and numerical instabilities in free energy calculations based on molecular simulations. Chem Phys Lett 222(6):529–539

    Article  CAS  Google Scholar 

  3. Beveridge DL, DiCapua FM (1989) Free energy via molecular simulation: applications to chemical and biomolecular systems. Annu Rev Biophys Biophys Chem 18:431–492

    Article  CAS  Google Scholar 

  4. Boyce SE, Mobley DL, Rocklin GJ, Graves AP, Dill KA, Shoichet BK (2009) Predicting ligand binding affinity with alchemical free energy methods in a polar model binding site. J Mol Biol 394(4):747–763

    Article  CAS  Google Scholar 

  5. Chipot C (2014) Frontiers in free-energy calculations of biological systems. Wiley Interdiscip Rev Comput Mol Sci 4(1):71–89

    Article  CAS  Google Scholar 

  6. Chodera JD, Mobley DL, Shirts MR, Dixon RW, Branson K, Pande VS (2011) Alchemical free energy methods for drug discovery: progress and challenges. Curr Opin Struct Biol 21(2):150–160

    Article  CAS  Google Scholar 

  7. Demmel JW (1997) Applied numerical linear algebra. SIAM

  8. Deng Y, Roux B (2009) Computations of standard binding free energies with molecular dynamics simulations. J Phys Chem B 113(8):2234–2246

    Article  CAS  Google Scholar 

  9. Frenkel D, Smit B (2001) Understanding molecular simulation. From algorithms to applications. Academic Press, New York

    Google Scholar 

  10. Hansen N, van Gunsteren WF (2014) Practical aspects of free-energy calculations: a review. J Chem Theory Comput 10:2632–2647

    Article  CAS  Google Scholar 

  11. Jorgensen WL, Ravimohan C (1985) Monte Carlo simulation of differences in free energies of hydration. J Chem Phys 83(6):3050–3054

    Article  CAS  Google Scholar 

  12. Kabsch W (1976) A solution for the best rotation to relate two sets of vectors. Acta Cryst A 32(5):922–923

    Article  Google Scholar 

  13. Klimovich PV, Shirts MR, Mobley DL (2015) Guidelines for the analysis of free energy calculations. J Comput Aided Mol Des 29(5):397–411

    Article  CAS  Google Scholar 

  14. Liu S, Wu Y, Lin T, Abel R, Redmann JP, Summa CM, Jaber VR, Lim NM, Mobley DL (2013) Lead optimization mapper: automating free energy calculations for lead optimization. J Comput Aided Mol Des 27(9):755–770

    Article  CAS  Google Scholar 

  15. Mobley DL, Klimovich PV (2012) Perspective: alchemical free energy calculations for drug discovery. J Chem Phys 137(23):230,901

    Article  Google Scholar 

  16. Mobley DL, Wymer KL, Lim NM, Guthrie JP (2014) Blind prediction of solvation free energies from the SAMPL4 challenge. J Comput Aided Mol Des 28(4):135–150

    Article  CAS  Google Scholar 

  17. Muddana HS, Fenley AT, Mobley DL, Gilson MK (2014) The SAMPL4 host-guest blind prediction challenge: an overview. J Comput Aided Mol Des 28(4):305–317

    Article  CAS  Google Scholar 

  18. Pitera JW, van Gunsteren WF (2002) A comparison of non-bonded scaling approaches for free energy calculations. Mol Simul 28(1–2):45–65

    Article  CAS  Google Scholar 

  19. Rocklin GJ, Boyce SE, Fischer M, Fish I, Mobley DL, Shoichet BK, Dill KA (2013) Blind prediction of charged ligand binding affinities in a model binding site. J Mol Biol 425(22):4569–4583

    Article  CAS  Google Scholar 

  20. Shirts MR, Mobley DL (2013) An introduction to best practices in free energy calculations. Methods Mol Biol 924:271–311

    Article  CAS  Google Scholar 

Download references

Acknowledgments

We acknowledge the financial support of the National Institutes of Health (1R15GM096257-01A1, 1R01GM108889-01) and the National Science Foundation (CHE 1352608) and computing support from the UCI GreenPlanet cluster, supported in part by NSF Grant CHE-0840513. We thank Shuai Liu (UCI) for useful comments on the LOMAP functionality, and Michael Shirts (University of Virginia) for helpful discussions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to David L. Mobley.

Electronic supplementary material

Below is the link to the electronic supplementary material.

10822_2015_9873_MOESM1_ESM.zip

In the Supporting Information, we provide a copy of the script, as well as the input files used to set up the relative free energy calculations for a set of molecules.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Klimovich, P.V., Mobley, D.L. A Python tool to set up relative free energy calculations in GROMACS. J Comput Aided Mol Des 29, 1007–1014 (2015). https://doi.org/10.1007/s10822-015-9873-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10822-015-9873-0

Keywords