free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf ·...

38
Free energy calculations using molecular dynamics simulations Anna Johansson 2007-03-13

Upload: doanhuong

Post on 24-May-2018

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Free energy calculations usingmolecular dynamics

simulations

Anna Johansson 2007-03-13

Page 2: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Outline• Introduction to concepts• Why is free energy important?• Calculating free energy using MD

– Thermodynamical Integration (TI)– Free energy perturbation (FEP)– PMF– Umbrella sampling

• Example• Summary

Page 3: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Thermodynamical concepts

• Internal energy: U

• Enthalpy: H = U + PV

• Entropy: dS = ∆Q/TS = kB ln W

Page 4: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Free energy

• Gibbs free energy:G(N,P,T) = U - TS + PV

• Helmholtz free energy: F(N,V,T) = U - TS!

G = µiN

i

N

"

Page 5: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Every system seeks to achievea minimum of free energy

Favorable

Unfavorable

!

"G < 0

"G = 0

"G > 0

Page 6: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Statistical mechanics• A system with N interacting particles can be

described using a HamiltonianH(p1,p2…pN,r1,r2…rN)

• Ensembles are defined of which quantitiesthat are kept fixed– Canonical ensemble (N,V,T)– NPT-ensemble (N,P,T)

Page 7: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Solvation free energy

Page 8: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Binding free energy

Page 9: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Conformational free energy

Page 10: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Calculation of Free energy?• Experimentally

– Probability of finding a system at a given state

– Reversible work required to transform the systemfrom one state to another

• Computationally– Both can be used, but the second approach is

most efficient

!

"G = #RT ln(SA/S

B)

Page 11: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Thermodynamic cycles

!

"Ghyd = "G1#"G

3#"G

2= "G

1#"G

2

Page 12: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Statistical mechanics description offree energy in the canonical ensemble

!

A = "kBT lnQNVT

!

QNVT =1

h3NN!

exp["1

kBTH(x, px )]# dxdpx#

!

A = kBT ln exp1

kBH(x, px )

"

# $

%

& '

Page 13: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

!

A = "kBT lnQNVT

!

QNVT =1

h3NN!

exp["1

kBTH(x, px )]# dxdpx#

!

A = kBT ln exp1

kBH(x, px )

"

# $

%

& '

Statistical mechanics description offree energy in the canonical ensemble

Page 14: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

!

A = "kBT lnQNVT

!

QNVT =1

h3NN!

exp["1

kBTH(x, px )]# dxdpx#

!

A = kBT ln exp1

kBTH(x, px )

"

# $

%

& '

Statistical mechanics description offree energy in the canonical ensemble

Page 15: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Problems• Accurate calculations of absolute free energy is not

possible due to insufficient sampling during finitelength simulations.

• But free energy differences can be calculated usingstatistical simulations. Most used methods include:

Thermodynamical integrationFree energy perturbation

Umbrella samplingPotential of mean force

Page 16: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Thermodynamical integration

• Make the Hamiltonian a function of acoupling parameter

!

"

!

H(x, px;"a ) = H(x, px;" = 0)

!

H(x, px;"b ) = H(x, px;" =1)

Page 17: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Derivation of TI

!

"Aa#b = A($b ) % A($a ) =dA($)

d$d$

$a

$b

&

dA($)

d$=

'H(x, px;$)

d$exp%

1

kBTH(x, px;$)dxdpx&

exp%1

kBTH(x, px;$)dxdpx&

"Aa#b ='H(x, px;$)

'$$a

$b

&$

d$

Page 18: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Slow growth vs. intermediate values

• Either the integration can be obtained fromone simulation with a varying , “slowgrowth”

• Or, the value of is accuratelydetermined for a number of intermediatevalues of , the total free energy isdetermined with numerical integrationmethods based on these values

!

"

!

dA /d"

!

"

Page 19: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Single vs. double topology

Page 20: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Error estimation• Convergence criterion is that the is

smooth enough.• Slow growth

– Often results in insufficient sampling, thehysteresis can for some applications be used as ameasure of fluctuations

• Intermediate values– Estimated from the fluctuations in for each

value of

!

dA /d"

!

dH /d"

!

A(")

Page 21: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Free energy perturbation

!

"Aa#b = A($b ) % A($a ) = %kBT lnQNVT ($b )

QNVT ($a )

!

"Aa#b = $kBT ln exp $1

kBTH(x, px;%b ) $H(x, px,%a )[ ]

& ' (

) * +

%a

Page 22: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Free energy perturbation

!

"Aa#b = A($b ) % A($a ) = %kBT lnQNVT ($b )

QNVT ($a )

!

"Aa#b = $kBT ln exp $1

kBTH(x, px;%b ) $H(x, px,%a )[ ]

& ' (

) * +

%a

Page 23: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Number of intermediate states

• The perturbation formula only holds for smallchanges between the states

• Reaction pathway often broken up into intermediatestates, such that the configuration sampled in state Aalso have a high probability in state B which is thecriterion for the ensemble average to converge

!

"Aa#b = $kBTk=1

N$1

% ln exp $1

kBTH(x, px;&b ) $H(x, px,&a )[ ]

' ( )

* + ,

&k

Page 24: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Error estimation

• Convergence may be probed by thetime-evolution of the ensemble average

• Statistical error may be estimated by afirst order expansion of the free energy

Page 25: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Potential of mean force

• According to the concept of PMF, if aforce depending on some reactioncoordinate can be extracted, then

!

"

"#$A

a%b= & F# #

Page 26: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Umbrella sampling

!

A(") = #kBT lnP(") + A0

• Confine the system to a small region by applying abiasing potential to ensure a uniform distributionof

• The reaction pathway often broken down inwindows where the free energy is determined

!

P(")!

P(") = # " $"(x)[ ]exp $1

kBTH(x, px )

%

& '

(

) * dxdpx+

Page 27: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Error estimation

• Convergence is probed by two criteria:– Convergence of individual windows. The

statistical error can be measured throughblock-averaging over sub-runs

– Appropriate overlap of free energy profilesbetween adjacent windows

Page 28: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Statistical precision vs. accuracy

• The approaches to estimate errors forthe different methods based on a singlesimulation only reflect the statisticalprecision of the method

• Statistical accuracy can be derived froman ensemble of simulations startingfrom different regions in phase space

Page 29: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Membrane proteins• α-helical membrane

proteins account for 25%of all proteins andpossibly as much as 50%of drug targets.

• Polar residues in trans-membrane segments areboth existing andimportant.

• Little is known about theinteractions betweenindividual residues andthe surroundingmembrane environment

Page 30: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

A lipid bilayer is aheterogeneous solvent, andpositional differences areimportant when studyinginteractions between aminoacids and lipid membranes

Free energy ofsolvating aminoacids analogs ina membrane

Page 31: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Potential of mean force

Page 32: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free
Page 33: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Potential of mean force

!

PMF(z) = Fconstr

(z)dz"

Page 34: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free
Page 35: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free
Page 36: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free
Page 37: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

Summary• Free energy is a very useful measurement of

the preferred direction of different kind ofreaction

• In most cases the free energy differencebetween states is most easily calculated andalso most interesting

• A number of different MD-based methodsexist to calculate free energy and there is aconstant development of these and new ones

Page 38: Free energy calculations using molecular dynamics …xray.bmc.uu.se/~calle/md_phd/free_energ.pdf · References. • Understanding Molecular Simulation, Frenkel D. & Smith • Free

References.• Understanding Molecular Simulation, Frenkel D. & Smith

• Free energy calculations in Biological systems. How useful are they in practice? Christophe Chipot. http://www.cirm.univ-rs.fr/videos/2006/exposes/02_LeBris/Chipot.pdf

• Molecular dynamics lecture notes 2003, Olle Edholm, Course inComputational Physics at KTH, http://courses.theophys.kth.se/SI2530/

• "Calculating free energy using average force", Eric Darve and AndrewPohorille, http://ctr.stanford.edu/ResBriefs01/darve2.pdf

• Free Energy calculations: a breakthrough for modeling organic chemistryin solution. W.L. Jorgensen. ACC Chem Res, 22(1989) 184-189

• Avoiding singularities and numerical instabilities in free energycalculations based on molecular simulations. Thomas C. Beutler, Alan E.Mark, Rene C. van Shaik, Paul R. Gerber, Wilfred F van Gunsteren. ChemPhys Letters 222(1994) 529-539