Free energy simulations

Similar documents
Biomolecular modeling. Theoretical Chemistry, TU Braunschweig (Dated: December 10, 2010)

Free energy calculations

Biomolecular modeling III

Statistical thermodynamics for MD and MC simulations

Lecture 19: Free Energies in Modern Computational Statistical Thermodynamics: FEP and Related Methods

Free energy calculations using molecular dynamics simulations. Anna Johansson

Free energy calculations

Multi-Ensemble Markov Models and TRAM. Fabian Paul 21-Feb-2018

Alchemical free energy calculations in OpenMM

Free-energy calculations

Free energy calculations and the potential of mean force

Phase Equilibria and Molecular Solutions Jan G. Korvink and Evgenii Rudnyi IMTEK Albert Ludwig University Freiburg, Germany

An introduction to Molecular Dynamics. EMBO, June 2016

Statistical Mechanics for Proteins

Free energy, electrostatics, and the hydrophobic effect

Bayesian reconstruction of free energy profiles from umbrella samples

G : Statistical Mechanics

Computational Studies of the Photoreceptor Rhodopsin. Scott E. Feller Wabash College

Computer simulation methods (2) Dr. Vania Calandrini

The Molecular Dynamics Method

Free Energy Simulation Methods

Non-bonded interactions

Advanced sampling. fluids of strongly orientation-dependent interactions (e.g., dipoles, hydrogen bonds)

Non-bonded interactions

Molecular Interactions F14NMI. Lecture 4: worked answers to practice questions

Good Practices in Free-Energy Calculations

Lecture 14: Advanced Conformational Sampling

Hyeyoung Shin a, Tod A. Pascal ab, William A. Goddard III abc*, and Hyungjun Kim a* Korea

Lecture 2 and 3: Review of forces (ctd.) and elementary statistical mechanics. Contributions to protein stability

Free energy calculations with alchemlyb

Analysis of the simulation

Entropy and Free Energy in Biology

Entropy and Free Energy in Biology

Chapter 4: Going from microcanonical to canonical ensemble, from energy to temperature.

Unfolding CspB by means of biased molecular dynamics

Molecular dynamics simulation of Aquaporin-1. 4 nm

Why study protein dynamics?

Monte Carlo. Lecture 15 4/9/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Hands-on : Model Potential Molecular Dynamics

Computing free energies with PLUMED 2.0

Chapter 4. Glutamic Acid in Solution - Correlations

THE TANGO ALGORITHM: SECONDARY STRUCTURE PROPENSITIES, STATISTICAL MECHANICS APPROXIMATION

UNDERSTANDING BOLTZMANN S ANALYSIS VIA. Contents SOLVABLE MODELS

q 2 Da This looks very similar to Coulomb doesn t it? The only difference to Coulomb is the factor of 1/2.

3. Based on how energy is stored in the molecules, explain why ΔG is independent of the path of the reaction.

The PLUMED plugin and free energy methods in electronic-structure-based molecular dynamics

1. Thermodynamics 1.1. A macroscopic view of matter

Chapter 2 Ensemble Theory in Statistical Physics: Free Energy Potential

Structural Bioinformatics (C3210) Molecular Mechanics

Free Energy Estimation in Simulations

Molecular simulation and structure prediction using CHARMM and the MMTSB Tool Set Free Energy Methods

Computer simulation methods (1) Dr. Vania Calandrini

Advanced in silico drug design

Basics of Statistical Mechanics

Energy Barriers and Rates - Transition State Theory for Physicists

Beyond the Second Law of Thermodynamics

Lecture 2-3: Review of forces (ctd.) and elementary statistical mechanics. Contributions to protein stability

Computational Chemistry - MD Simulations

Swelling and Collapse of Single Polymer Molecules and Gels.

CS 273 Prof. Serafim Batzoglou Prof. Jean-Claude Latombe Spring Lecture 12 : Energy maintenance (1) Lecturer: Prof. J.C.

Introduction Statistical Thermodynamics. Monday, January 6, 14

Javier Junquera. Statistical mechanics

A Parallel-pulling Protocol for Free Energy Evaluation INTRODUCTION B A) , p

Molecular Modeling -- Lecture 15 Surfaces and electrostatics

Thermodynamics. Entropy and its Applications. Lecture 11. NC State University

When does TMAO fold a polymer chain and urea unfold it?

2 Structure. 2.1 Coulomb interactions

Introduction to Metabolism (Or Energy Management) Chapter 8

Chapter 6- An Introduction to Metabolism*

Replica exchange methodology. John Karanicolas June 2003

Introduction. Chapter The Purpose of Statistical Mechanics

Computing Relative Free Energies of Solvation Using Single Reference Thermodynamic Integration Augmented with Hamiltonian Replica Exchange

PHYS 352 Homework 2 Solutions

Limitations of temperature replica exchange (T-REMD) for protein folding simulations

Problem Set 1

Orthogonal Space Sampling of Slow Environment Responses

Lecture 6: Ideal gas ensembles

Molecular dynamics simulation. CS/CME/BioE/Biophys/BMI 279 Oct. 5 and 10, 2017 Ron Dror

10/26/2010. An Example of a Polar Reaction: Addition of H 2 O to Ethylene. to Ethylene

Lecture 2+3: Simulations of Soft Matter. 1. Why Lecture 1 was irrelevant 2. Coarse graining 3. Phase equilibria 4. Applications

Lecture 11: Protein Folding & Stability

Protein Folding & Stability. Lecture 11: Margaret A. Daugherty. Fall Protein Folding: What we know. Protein Folding

Khinchin s approach to statistical mechanics

Energy Landscapes and Accelerated Molecular- Dynamical Techniques for the Study of Protein Folding

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

Lecture 5: Electrostatic Interactions & Screening

Computing free energy: Replica exchange

MCB100A/Chem130 MidTerm Exam 2 April 4, 2013

Temperature and Pressure Controls

Aspects of nonautonomous molecular dynamics

A general overview of. Free energy methods. Comer et al. (2014) JPCB 119:1129. James C. (JC) Gumbart Georgia Institute of Technology, Atlanta

16. Working with the Langevin and Fokker-Planck equations

Organization of NAMD Tutorial Files

schematic diagram; EGF binding, dimerization, phosphorylation, Grb2 binding, etc.

to satisfy the large number approximations, W W sys can be small.

UNIVERSITY OF OSLO FACULTY OF MATHEMATICS AND NATURAL SCIENCES

Entropy online activity: accompanying handout I. Introduction

Molecular Mechanics. Yohann Moreau. November 26, 2015

Rare Event Simulations

Chemical Reac+ons and Enzymes. Lesson Overview. Lesson Overview. 2.4 Chemical Reactions and Enzymes

Transcription:

Free energy simulations Marcus Elstner and Tomáš Kubař January 14, 2013

Motivation a physical quantity that is of most interest in chemistry? free energies Helmholtz F or Gibbs G holy grail of computational chemistry, both for their importance and because they are difficult to calculate

Convergence issue especially desperate for free energies: F = k B T ln Q = k B T ln 1 Q = = k B T ln c 1 exp[βe( r, p)] exp[ βe( r, p)] d r d p Q = k B T ln exp[βe( r, p)] ρ( r, p) d r d p ln c [ ] E = k B T ln exp ln c k B T = serious issue the large energy values enter an exponential, and so the high-energy regions may contribute significantly! if these are undersampled, then free energies are wrong calculation of free energies impossible, special methods needed!

Tackling the issue two fundamental approaches: free energy perturbation and thermodynamic integration several computational tricks for particular types of reactions: alchemical simulations or umbrella sampling important: not necessary to find the absolute value of free energy; When considering a chemical reaction, it is important to know merely the free energy difference ( F, G) between the involved states (reactant A and product B). reaction does not need to involve chemical bonds being created or broken ligand binding a protein, passage of a molecule through membrane, protein folding

Tackling the issue Note on F vs. G: F is obtained in NVT simulations G is obtained in NPT simulations automatically, with otherwise identical simulation protocols In this presentation, F is written. Everything applies to G as well.

Free energy perturbation (FEP) Free energy perturbation states with energies E A ( r, p) and E B ( r, p), and partition functions Q A and Q B F = F B F A = k B T ln Q B exp[ βeb ] d r d p = k B T ln Q A exp[ βea ] d r d p exp[ βeb ] exp[βe A ] exp[ βe A ] d r d p = k B T ln exp[ βea ] d r d p = k B T ln exp[ βe B ] exp[βe A ] ρ A ( r, p) d r d p = k B T ln exp[ β(e B E A )] ρ A ( r, p) d r d p

Free energy perturbation (FEP) The working equation The integral has the form of an average of a property S taken with the phase space density of state A S A = S( r, p) ρ A ( r, p) d r d p and so we can write equivalently F (A B) = k B T ln exp[ β(e B E A )] A F (B A) = k B T ln exp[ β(e A E B )] B which is the free energy formula by Zwanzig (1954) and the essence of the FEP method.

Free energy perturbation (FEP) How to use it What does it mean? It is possible to perform a simulation of state A and obtain the free energy by averaging the exponential of the difference of energies of states B and A, or vice versa. Practically, we start an MD in state A to get the phase space density ρ A, and then calculate the difference between the energies of states B and A along the trajectory.

Free energy perturbation (FEP) Examples of use Free energy of deprotonation (ph) of an amino acid side chain in a protein We would run a simulation for the protonated species, and then evaluate the energy difference between protonated and unprotonated species to get the average of exp[ β(e B E A )]. This only works if the conformations of the protein and the configuration of water molecules, sampled along the MD, are very similar with both forms. Unfortunately, this is usually not the case.

Free energy perturbation (FEP) Examples of use The ionization of a molecule Again, we would perform a simulation of the neutral species and evaluate the energy differences. Alas, the configuration of water would be quite different here, too, leading to a very small overlap of phase space densities.

Free energy perturbation (FEP) Examples of use Deprotonation of amino acid (left), ionization of molecule (right), both hydrated

Free energy perturbation (FEP) Advantage of FEP direct evaluation of free energies (not desired): two simulations would be performed, one for each state A and B, and the free energy difference would follow as: F (A B) = k B T ln exp[βe B ] B k B T ln exp[βe A ] A note: F (A B) is very small (few kcal/mol), while the total energies are extremely large, e.g. when the solvent is included subtraction of two large numbers in order to get a small one leads to a huge relative error extremely accurate values of absolute energies necessary to run exceedingly long MD simulations so long that we will never be able to afford it!

Free energy perturbation (FEP) Advantage of FEP FEP evaluate the free energy difference directly in one simulation not necessary to sample the parts of the molecular system that do not change and are not in contact with the changing regions (as these do not contribute to the energy difference E B E A ). The region of phase space that has to be sampled thoroughly is much smaller, and the required simulation length becomes feasible.

Free energy perturbation (FEP) FEP in use requirements overlap in phase space or overlap of phase space densities the more similar the states A and B are the more similar are the corresponding phase space densities, and they may overlap:

Free energy perturbation (FEP) FEP in use requirements If the phase space densities for states A and B overlap the low-energy regions of state B may be sampled well even in the simulation of state A, and the free energy difference F (A B) may converge What happens if this is not the case? The simulation of state A hardly samples the region of phase space where the state B has low energy this region is undersampled, the averaging of the energy E B is wrong, and the calculation will not converge. We can expect this problem whenever E B E A > k B T

Free energy perturbation (FEP) FEP in use connecting the end states How to overcome this problem? insert an intermediate state that overlaps with both A and B: How does this help? free energy is a state function, and so F (A B) = F (A 1) + F (1 B)

Free energy perturbation (FEP) FEP in use connecting the end states We can perform two MD simulations, one for each of the states A and 1, and evaluate free energies for the two reactions. These may be expected to converge better, and their sum gives the free energy of A B: F = [ ] Q1 k B T ln QB = Q A Q 1 = k B T ln exp[ β(e 1 E A )] A k B T ln exp[ β(e B E 1 )] 1

Free energy perturbation (FEP) FEP in use connecting the end states Obviously, we can insert more than one intermediate state between A and B, if these differ exceedingly. For N intermediate states 1, 2,..., N, we obtain [ ] Q1 F = k B T ln Q2... QB = Q A Q 1 Q N = k B T ln exp[ β(e 1 E A )] A k B T ln exp[ β(e 2 E 1 )] 1... k B T ln exp[ β(e B E N )] N and we have to perform N + 1 simulations of states A, 1, 2,..., N.

Free energy perturbation (FEP) FEP in use This may look complicated, but it is rather straightforward, and the method can be used with common simulation packages conveniently. We can change the chemical identities of atoms or functional groups computational alchemy. Using a parameter λ, the force-field parameters of state A are changed to those of state B gradually: E λ = (1 λ) E A + λ E B

Free energy perturbation (FEP) Examples The hydration free energy difference of argon and xenon The two atoms differ only in the vdw parameters the well depth ε and the radius σ. We interpolate between the parameters for the two elements: ε λ = (1 λ) ε A + λ ε B σ λ = (1 λ) σ A + λ σ B In the simulation, we start from λ = 0, i.e. an argon atom, and change it in subsequent steps to 1. For each step (window), we perform an MD simulation with the corresponding values of the vdw parameters, and calculate the free energy difference.

Free energy perturbation (FEP) Examples

Free energy perturbation (FEP) Examples A true chemical reaction: HCN CNH More complicated we need the topologies of both molecules. Thus, a dual-topology simulation is performed: we have both molecules simultaneously in the simulation. These two molecules do not interact with each other, and we gradually switch off the interaction of one species with the solvent during the simulation while we switch on the other at the same time.

Thermodynamic integration (TI) Thermodynamic integration TI an alternative way to free energies. energy E is a function of λ, so free energy also becomes dependent on λ: F = F (λ) with F (0) = F (A) and F (1) = F (B). Therefore: F = F (B) F (A) = 1 0 F (λ) λ dλ with F (λ) = k B T ln Q(λ)

Thermodynamic integration (TI) TI working principle F λ (λ) = k BT ln Q λ (λ) = k BT 1 Q(λ) Q λ (λ) = k B T 1 Q(λ) = k B T 1 Q(λ) = k B T ( β) λ ( β) E λ Eλ λ Eλ = 1 λ ρ λ( r, p) d r d p = exp[ βe λ ] d r d p = λ exp[ βe λ] d r d p = exp[ βe λ ] d r d p Q(λ) Eλ λ λ

Thermodynamic integration (TI) TI working principle Essence of TI the derivative of free energy F with respect to λ is calculated as the average of derivative of total MM energy E, which can be directly evaluated in the simulation. The free energy difference follows simply as 1 Eλ F = dλ 0 λ λ

Thermodynamic integration (TI) How to do it practically We perform a MD simulation for each chosen value of λ: usually, equidistant values in the interval (0,1) are taken: 0, 0.05,..., 0.95 and 1. λ, Each of these simulations produces a value of E λ so we obtain the derivative of F in discrete points for λ (0, 1). This function is then integrated numerically, and the result is the desired free energy difference F.

Thermodynamic integration (TI) Example Free energy of hydration 1 of rare gas (neon) in the course of an NPT simulation, the van der Waals parameters of the neon atom are being gradually switched off by means of λ, so that the atom is effectively disappearing. The derivative of total energy with respect to λ is evaluated for 21 values of λ ranging from 0 to 1. Then, TI gives the Gibbs energy difference of two states: a neon atom in water no neon atom in water a neon atom outside of the solution, in vacuo 1 a quantity of considerable interest in chemical industry

Thermodynamic integration (TI) Example

Thermodynamic integration (TI) Choice of reaction coordinate Both FEP and TI require a coupling parameter λ, representing the reaction coordinate (λ = 0 is reactant; λ = 1 is product). Free energy is a state function the result is independent of the chosen path between the reactant and the product. We are free to use even an unphysical process as the reaction coordinate a change of chemical identity of one or more atoms (in the alchemical simulations).

Thermodynamic integration (TI) Choice of the number of windows we would like to have as few as possible, without compromising numerical precision of the calculation. the factors affecting the choice are different in FEP and in TI: FEP: the assumption is that while simulating the state A, the low-energy regions of state B are sampled well. The closer the windows are, the better this condition is met. TI: the free energy derivative is always evaluated for one λ-value, and the problem present in FEP does not occur here. However, numerical inaccuracy may be due to the numerical integration of the free energy derivative

Free energy from non-equilibrium simulations TI limits major limitation of TI using equilibrium simulations for discrete λs very slow convergence of G/ λ when the alchemical change becomes large. It is perfectly possible to mutate of a single amino acid side chain in a protein (when the structure of the protein remains the same), but larger reactions are getting impossible to simulate.

Free energy from non-equilibrium simulations Non-equilibrium simulations recent development use of non-equilibrium simulations The usual equilibration of the system for every of the selected values of λ is not performed Instead, a non-equilibrium simulation consists of n MD steps, where λ starts at 0 and increases by 1/n in every MD step. This way, the simulation never describes the system in equilibrium, as the external parameter λ is changing all the time.

Free energy from non-equilibrium simulations Principle A single simulation of this kind would be of no value...... but when we perform an ensemble of such simulations, we can use the Jarzynski s equality to obtain the free energy (as a special kind of ensemble average): exp[ β F ] = exp[ βw ] where W are values of irreversible work obtained from the individual non-equilibrium simulations: 1 ( ) E W = dλ λ (difference from TI: no equilibrated values of E/ λ) 0

Free energy from non-equilibrium simulations Practice and analysis The non-equilibrium simulations can be very short Where is the sampling problem? (it is always somewhere... ) large statistical weight carried by rarely occuring simulations (unfavorable averaging in Jarzynski s equality).

Free energy from non-equilibrium simulations Analysis 1 simple Solution to the problem exponential work averaging with gaussian approximation: An ensemble of simulations is performed for the forward process 0 1 as well as for the reverse process 1 0. Then, approximate the distributions of forward and backward work by gaussians with mean and std. dev. W f, σ f and W r, σ r, resp. Free energy follows as the average of values F f = W f 1 2 βσ2 f F r = W r + 1 2 βσ2 r

Free energy from non-equilibrium simulations Analysis 2 better A more general expression than the Jarzynski equality Crooks fluctuation theorem (CFS): the distributions of forward and reverse work are related like P f (W ) = exp[β(w F )] P r ( W ) This can be applied in two slightly different ways:

Free energy from non-equilibrium simulations CFS first possibility Once we have obtained well-converged distributions P f and P r from an equal number of forward and reverse simulations, we can apply Bennett s acceptance ratio: 1 1 + exp[β(w F )] (implicit equation for F ) f 1 = 1 + exp[ β(w F )] r

Free energy from non-equilibrium simulations CFS second possibility A more direct application of CFS: The free energy corresponds to the value of work W for which the probabilities P f and P r are equal the intersection point of the distributions. We can search for the intersection point, after fitting each of the distributions with a gaussian function first. This will reduce possibly large errors that may occur when the distributions have little overlap (are far from each other ). The assumption of normality of work distributions holds for a system with a large number of degrees of freedom.

Free energy from non-equilibrium simulations CFS second possibility (from Goette and Grubmüller 2009)

Thermodynamic cycles Differences of differences Often we are interested not in the absolute free energies and not even in the reaction free energies, but rather in the difference ( ) of reaction free energies ( F ) of two similar reactions: F or G

Thermodynamic cycles Reaction free energy difference Example left: binding of an inhibitor molecule I to an enzyme E, difference of binding free energies to similar enzymes E and E : E + I EI G 1 E + I E I G 2

Thermodynamic cycles Reaction free energy difference The simulation of the ligand binding process itself very difficult. Reason possibly large structural changes in the enzyme upon binding. Solution of the problem do not simulate the reaction of binding, but rather the alchemical transmutation of enzyme E to E. E to E are very similar so this may be easy to do. (example: mutation of a single AA, e.g. leucine to valine) Then, the structure of complexes EI and E I may be similar as well, and the simulation may provide converged free energy.

Thermodynamic cycles Reaction free energy difference Free energy is a state function the sum of free energies around a thermodynamic cycle vanishes: (e.g. clockwise in figure left): G 1 + G 3 G 2 G 4 = 0 The difference of binding free energies equals the difference of free energies calculated in alchemical simulations: G = G 1 G 2 = G 3 G 4

Thermodynamic cycles Reaction free energy difference Similarly, it is possible to calculate the free energy difference of binding of two similar ligands to the same enzyme (figure right), or the difference of solvation energy of two similar molecules. In the latter case, two alchemical simulations would be performed: one in vacuo and the other in solvent. (Example the neon case, a couple of slides ago... )

Potentials of mean force (PMF) and umbrella sampling Realistic reaction coordinate Sometimes, we need to know how the free energy changes along a realistic reaction coordinate q within a certain interval. The free energy is then a function of q while it is integrated over all other degrees of freedom. Such a function F (q) is called the potential of mean force.

Potentials of mean force (PMF) and umbrella sampling Realistic reaction coordinate Examples: distance between two particles in a dissociating complex the position of a proton for a reaction of proton transfer the dihedral angle when dealing with conformational changes Looking for the free energy at a certain value of q, remaining degrees of freedom are averaged over (integrated out). One could think of performing an MD simulation and sampling all degrees of freedom except for q.

Potentials of mean force (PMF) and umbrella sampling Example free energy of formation of an ion pair in solution: MD simulation would be performed to calculate the free energy for every value of the reaction coordinate q.

Potentials of mean force (PMF) and umbrella sampling Foundations F = k B T ln exp[ βe( r, p)] d r d p We wish to evaluate an expression for q taking some value q 0. How to pick that one value? Convenient use the Dirac delta function δ(q q 0 ): a generalized function an infinitely sharp peak that bounds a unit area δ(x) is zero everywhere, except at x = 0, where it rises above bounds so that its integral is 1.

Potentials of mean force (PMF) and umbrella sampling Foundations The free energy for the fixed reaction coordinate q 0 is F (q 0 ) = k B T ln δ(q q 0 ) exp[ βe( r, p)] d p d u dq [ = k B T ln Q δ(q q 0 ) exp[ βe( r, p)] ] d p d u dq Q [ ] = k B T ln Q δ(q q 0 ) ρ( r, p) d p d u dq = k B T ln [Q δ(q q 0 ) ] = k B T ln Q k B T ln δ(q q 0 ) ( u are all coordinates except q)

Potentials of mean force (PMF) and umbrella sampling Foundations F (q 0 ) = k B T ln Q k B T ln δ(q q 0 ) What does this mean? ρ( r, p) is the probability that the system is at the point ( r, p), so P(q 0 ) = δ(q q 0 ) ρ( r, p) d r d p = δ(q q 0 ) is the probability that q takes the value of q 0. So, the integration collects all points in phase space where the reaction coordinate has this specified value q 0.

Potentials of mean force (PMF) and umbrella sampling Foundations in the example of the ion pair: We perform an MD simulation for the system, and then count how many times q takes the value q 0 : we calculate the probability P(q 0 ) of finding the system at q 0. Then, the free energy difference of two states A and B is F B F A = k B T ln Q k B T ln δ(q q B ) ( k B T ln Q + k B T ln δ(q q A ) ) = k B T ln δ(q q B) δ(q q A ) = k B T ln P(q B) P(q A ) which is actually the equilibrium constant P(B)/P(A).

Potentials of mean force (PMF) and umbrella sampling Energy profile and probability distribution along the reaction coordinate. Note the undersampled region of the barrier.

Potentials of mean force (PMF) and umbrella sampling Problem to be solved What to do: perform an MD simulation, specify a coordinate, and then just count how often the system is at special values of the reaction coordinate. The ratio of these values gives the free energy difference! The problem: If a high barrier has to be crossed to come from A to B, a pure (unbiased) MD simulation will hardly make it the ergodicity of the simulation is hindered. Even if it does, the high-energy region (barrier) will be sampled quite poorly.

Potentials of mean force (PMF) and umbrella sampling Working principle A straightforward solution: apply an additional potential, also called biasing potential to restrain the system to region/s of phase space that would otherwise remain undersampled. This is the underlying principle of the umbrella sampling. The additional potential will become a part of the force field, and it shall depend only on the reaction coordinate: V = V (q). Then: δ(q q 0 ) exp[βv ] = δ(q q 0 ) exp[βv (q 0 )] = exp[βv (q 0 )] δ(q q 0 )

Potentials of mean force (PMF) and umbrella sampling Working principle What will be the free energy look like in such a biased case? F (q 0 ) = k B T ln = k B T ln = k B T ln [ ] δ(q q0 ) exp[ βe] d r d p exp[ βe] d r d p [ δ(q q0 ) exp[βv ] exp[ β(e + V )] d r d p exp[ β(e + V )] d r d p ] exp[ β(e + V )] d r d p exp[ βe] d r d p [ δ(q q 0 ) exp[βv ] E+V ] exp[ β(e + V )] d r d p exp[βv ] exp[ β(e + V )] d r d p [ ] 1 = k B T ln δ(q q 0 ) exp[βv ] E+V exp[βv ] E+V [ ] 1 = k B T ln exp[βv (q 0 )] δ(q q 0 ) E+V exp[βv ] E+V = k B T ln δ(q q 0 ) E+V V (q 0 ) + k B T ln exp[βv E+V = k B T ln P (q 0 ) V (q 0 ) + k B T ln exp[βv ] E+V

Potentials of mean force (PMF) and umbrella sampling Working principle... free energy follows as function of reaction coordinate, or PMF: F (q) = k B T ln P (q) V (q) + K Interesting: An arbitrary potential V (q) was added to the system. We consider averages with the biased potential E + V (see E+V ). We obtain the biased probability P (q) of finding the system at the value of the reaction coordinate for the ensemble E + V, which differs from that of the unbiased ensemble P(q), obviously. Still, we obtain the right, unbiased free energy F (q), once we take the biased probability P (q), subtract the biasing potential V (q) and add the term K (which has to be determined yet).

Potentials of mean force (PMF) and umbrella sampling Practical PMF We can use this scheme efficiently, by way of moving a biasing harmonic potential along the reaction coordinate:

Potentials of mean force (PMF) and umbrella sampling Practical PMF Example probabilities from biased simulations histograms http://people.cs.uct.ac.za/ mkuttel/images/projectimages/wham.png

Potentials of mean force (PMF) and umbrella sampling Practical PMF We perform k simulations with biasing potentials V k and obtain F (q) = k B T ln P (q) V k (q) + K k For each of the k simulations, we extract the probability P (q) for every value of q and easily calculate V k (q). The curves of k B T ln P (q) V k (q) for simulations k and k + 1 differ by a constant shift, which corresponds to the difference of K:

Potentials of mean force (PMF) and umbrella sampling Practical PMF The main task to match the pieces of the curve together. One way to fit the values K k to obtain a total F (q) curve that is as smooth as possible. Requirement the pieces k and k + 1 must overlap sufficiently.

Potentials of mean force (PMF) and umbrella sampling Practical PMF WHAM Another way weighted histogram analysis method: The unbiased probabilities P(x j ) of coordinate x falling into the bin j of the histogram and the shifts K i are obtained with a self-consistent solution of a set of equations N i=1 P(x j ) = n i(x j ) exp[ βv i (x j )] N i=1 N i exp[ β(v i (x j ) K i )] bins K i = kt log P(x j ) exp[ βv i (x j )] (for a total of N simulations, i-th simulation contains N i frames, n i (x j ) is the number of hits in bin j in simulation i). WHAM is included in a range of modern MD packages. j