Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2019 Feb 12;15(2):799-802.
doi: 10.1021/acs.jctc.8b01010. Epub 2019 Feb 4.

Fast Solver for Large Scale Multistate Bennett Acceptance Ratio Equations

Affiliations

Fast Solver for Large Scale Multistate Bennett Acceptance Ratio Equations

Xinqiang Ding et al. J Chem Theory Comput. .

Abstract

The multistate Bennett acceptance ratio method (MBAR) and unbinned weighted histogram analysis method (UWHAM) are widely employed approaches to calculate relative free energies of multiple thermodynamic states that gain statistical precision by employing free energy contributions from configurations sampled at each of the simulated λ states. With the increasing availability of high throughput computing resources, a large number of configurations can be sampled from hundreds or even thousands of states. Combining sampled configurations from all states to calculate relative free energies requires the iterative solution of large scale MBAR/UWHAM equations. In the current work, we describe the development of a fast solver to iteratively solve these large scale MBAR/UWHAM equations utilizing our previous findings that the MBAR/UWHAM equations can be derived as a Rao-Blackwell estimator. The solver is implemented and distributed as a Python module called FastMBAR. Our benchmark results show that FastMBAR is more than 2 times faster than the widely used solver pymbar, when it runs on a central processing unit (CPU) and more than 100 times faster than pymbar when it runs on a graphical processing unit (GPU). The significant speedup achieved by FastMBAR running on a GPU is useful not only for solving large scale MBAR/UWHAM equations but also for estimating uncertainty of calculated free energies using bootstrapping where the MBAR/UWHAM equations need to be solved multiple times.

PubMed Disclaimer

Figures

Figure 1:
Figure 1:
(A) Comparison of wall times required to solve MBAR/UWHAM equations of different sizes by pymbar and FastMBAR. Both pymbar and FastMBAR (CPU) were run on one Intel® Xeon® Processor E5520. The GPU used was a NVIDIA® GEFORCE® GTX 1080. (B) Number of iterations required by pymbar and FastMBAR (running on CPUs and GPUs) to solve MBAR/UWHAM equations to the same estimator precision (the relative reduction of objective functions is smaller than 1e-12). (C) Wall times required by pymbar, FastMBAR (CPU), and FastMBAR (GPU) to evaluate objective and gradient functions once. (D) Estimator precision changes with the number of iterations for pymbar, FastMBAR (CPU), and FastMBAR (GPU) when solving the MBAR/UWHAM equation with the energy matrix size of 100×12421. Similar plots for solving MBAR/UWHAM equations of other energy matrix sizes can be found in Fig. S1-S7.

Similar articles

Cited by

References

    1. Shirts MR; Chodera JD Statistically optimal analysis of samples from multiple equilibrium states. J. Chem. Phys 2008, 129, 124105. - PMC - PubMed
    1. Tan Z; Gallicchio E; Lapelosa M; Levy RM Theory of binless multi-state free energy estimation with applications to protein-ligand binding. J. Chem. Phys 2012, 136, 144102. - PMC - PubMed
    1. Klimovich PV; Shirts MR; Mobley DL Guidelines for the analysis of free energy calculations. J Comput Aided Mol Des 2015, 29, 397–411. - PMC - PubMed
    1. Kumar S; Rosenberg JM; Bouzida D; Swendsen RH; Kollman PA The weighted histogram analysis method for free-energy calculations on biomolecules. I. The method. J. Comput. Chem 1992, 13, 1011–1021.
    1. Sugita Y; Okamoto Y Replica-exchange molecular dynamics method for protein folding. Chem Phys Lett 1999, 314, 141–151.

LinkOut - more resources