03.01.2014 Views

Slides

Slides

Slides

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

From Molecular to Con/nuum Physics I <br />

Paolo Carloni <br />

Tutorial <br />

Jens Dreyer <br />

Emiliano Ippoli4 <br />

WS 2011/2012


RWTH Cluster<br />

• Connec4ng to the RWTH cluster: <br />

ssh –Y @cluster.rz.rwth-­‐aachen.de <br />

• You need to be on the Aachen network: <br />

e.g. eduroam WLAN (Aachen or Jülich), RWTH VPN <br />

• Introduc4on to RWTH cluster <br />

• Users guide <br />

• Reference website <br />

• Tutorial files: /home/ei250498/TUTORIALS/ACETONE <br />

– Input files, COMMANDS, addi4onal necessary files , (output files) for each sec4on <br />

• Local course home page: <br />

/hbp://www.grs-­‐sim.de/research/biophysics/courses/fmcp_tutorial.html


Car-Parinello / Molecular Mechanics<br />

• Introduc/on to “prac/cal” computa/onal chemistry / <br />

theore/cal biophysics <br />

• Setup and execu/on of calcula/ons <br />

• Interpreta/on of results <br />

• Example: Dipole moment of acetone <br />

– Gas phase <br />

– Environmental effects <br />

– Temperature effects


Geometry Optimization<br />

• Characteris4c points <br />

gradient = 0 <br />

for all characteris4c points <br />

Minimum: 2 nd deriva4ves > 0 <br />

Maximum: 2 nd deriva4ves < 0 <br />

Transi4on state = first order saddle point: <br />

Single 2 nd deriva4ve < 0 (reac4on coordinate) <br />

All other 2 nd deriva4ves > 0 <br />

Higher order saddle points: <br />

several 2 nd deriva4ves < 0 <br />

other 2 nd deriva4ves > 0


Potential Energy Surfaces<br />

• Geometry op4miza4on <br />

• Minima <br />

• Transi4on states <br />

• Ac4va4on energies <br />

IR


Molecular Dipole Moments<br />

• Dipole moment defini/on: <br />

– Two iden4cal charges Q with a distance d <br />

-­‐Q <br />

+Q <br />

– Convention <br />

• Physics, physical and theore4cal chemistry: <br />

• Engineering, organic/inorganic chemistry:


Molecular Dipole Moments<br />

• Molecular dipole moments <br />

– k nuclei with charges +Z k • e: <br />

– Z e electrons with charges e: <br />

electronic<br />

distributions<br />

with arbitrary origin <br />

using pos. (S + ) and neg. (S -­‐ ) centers <br />

of charges with S+ as origin <br />

Figures: W. Demtröder Experimentalphysik 2, Springer Verlag, Berlin, 2009.


Molecular Dipole Moments<br />

• Molecular dipole moments <br />

– Examples <br />

H 2 O:<br />

4 pm<br />

Figures: W. Demtröder Experimentalphysik 2, <br />

Springer Verlag, Berlin, 2009.


Quantum Mechanical Dipole Moments


Dipole Moment and Symmetry<br />

Ψ 0 : allways totally symmetric for closed shell systems <br />

• The dipole moment can only be different from zero if one of its components, e.g. z (x, y, z) <br />

belongs to the to totally symmetric representa4on. <br />

• z can only belong to the totally symmetric representa4on if the point group (molecule) does <br />

not have a center of inversion nor a horizontal mirror plane (perpendicular to z). <br />

• Thus, only the point groups C 1 , C s , C n and C nv can have dipole moments different from zero.


Molecular Dipole Moments<br />

Alignment of dipole molecules <br />

on charges <br />

Alignment in electric fields <br />

without field <br />

Coulomb interac4ons <br />

in salt crystals <br />

Alignment of dipole molecules <br />

in the solid state <br />

with field


Dipole Moment Convergence<br />

• Func4on of the level of theory<br />

aug = augmented <br />

(diffuse func4ons) are important <br />

GGA: worse than LSDA<br />

„exact exchange: improvement<br />

Tables: F. Jensen Introduc:on to Computa:onal Chemistry, Wiley VCH, Weinheim, 2007.


Dipole Moment Of Acetone<br />

• Procedure <br />

– Gas phase <br />

• Construct the molecular geometry, e.g. using MOLDEN in internal coordinates <br />

and export in cartesian coordinates. <br />

• Geometry op4miza4on using CPMD <br />

– Environmental and temperature effects <br />

• Classiscal MD simula4on of acetone in a water box (AMBER) <br />

• QM/MM (Car-­‐Parinello – MD / GROMACS) hybrid simula4on


Cartesian Coordinates<br />

Rows of cartesian (xyz)<br />

coordinates<br />

C 0.000000 0.000000 0.000000<br />

H 0.000000 0.000000 1.089000<br />

H 1.029670 0.000000 -0.354544<br />

H -0.444367 0.973572 -0.201536<br />

H -0.555157 -0.777102 -0.523292


Internal Coordinates<br />

Bond lengths<br />

Bond angles<br />

Dihedral angle<br />

r (1-­‐2) <br />

(3-­‐1-­‐2) <br />

(4-­‐2-­‐1-­‐3) <br />

MOLDEN


Running Molden<br />

Ini4aliza4on: <br />

source /home/ei250498/PROGRAMS/modules/molden.sh <br />

Running: <br />

molden &


CPMD Input<br />

• General <br />

– Sec4ons: &NAME … &END <br />

– KEYWORDS in upper case, otherwise ignored <br />

– Sequence of sec4ons not important <br />

• Minimal input: 3 sec4ons <br />

– &CPMD … &END <br />

• Type of calcula4on: <br />

e.g. wave func4on op4miza4on, geometry op4miza4on, CPMD, … . <br />

– &SYSTEM … &END <br />

• System parameters: symmetry, cell, cutoff <br />

• Symmetry, shape and size of the simula4on cell <br />

– &ATOMS … &END <br />

• Atomic coordinates (cartesian) <br />

• Pseudopoten4als


CPMD Input<br />

• &CPMD … &END (required) <br />

– General control parameters for calcula4on, e.g. <br />

• Wavefunc4on op4miza4on (“single point calcula4on”) <br />

(default: 1.0D-­‐5) <br />

• Geometry op4miza4on <br />

„XYZ“ requests output files (in xyz-­‐format): <br />

GEOMETRY.xyz : final (if converged: <br />

„op4mized“) structure <br />

OPT_GEO.xyz : op4miza4on trajectory


CPMD Input<br />

• &SYSTEM … &END (required) <br />

– Simula4on cell and plane wave parameters <br />

• In CPMD all calcula4ons are inherently periodic: <br />

For “gas phase” calcula4ons the cell has to be large enough to avoid significant <br />

interac4ons between periodic neighbours. <br />

in a.u. (1 bohr = 1 a 0<br />

= 0.529 Å ) <br />

a b/a c/a cos cos cos <br />

orthorhombic <br />

acetone box + 7 Å <br />

ABSOLUTE: a b c <br />

cos a cos b cos g <br />

cutoff for the plane wave in <br />

rydberg (size of basis set) <br />

1 Ry = 1/2 E h<br />

= 13.6 eV <br />

(binding energy of 1s electron in H atom


Plane Waves<br />

– Plane wave basis sets depend only on the size of the periodic cell, and not <br />

on the actual system to describe within the cell. <br />

– This is in contrast to the linear increase of Gaussian basis sets with <br />

system size, i.e. plane waves become more favourable for large systems. <br />

– Plane wave are primarily used for periodic systems, but can also be used <br />

for molecules in supercells, where the cell is sufficiently large to prevent <br />

self-­‐interac4on with image cells. <br />

– Placing a small molecule into a large supercell requires many plane <br />

waves, which is more efficiently handled by localized Gaussian func4ons. <br />

– A 3D-­‐periodic system, however, me be beber described by plane waves. <br />

– Plane waves <br />

• describe delocalized slowly varying electron densi4es very well (e.g. metals) <br />

• core electrons, however are strongly localized <br />

• valence electrons have many rapid oscilla4ons in the core region to maintain <br />

orthogonality <br />

• describing the core region adequately requires a large number of plane waves. <br />

– Thus, plane waves are used in connec4on with pseudopoten4als


Choosing the Plane Wave Cutoff<br />

• Convergence behavior <br />

rela4ve error <br />

(no systema4c errors included) <br />

MT = Mar4ns-­‐Trouiller <br />

BHS =


CPMD Input<br />

• &DFT … &END (op4onal) <br />

– Exchange and correla4on func4onal <br />

• Default: LDA <br />

• Gradient-­‐corrected func4onals <br />

• Hybrid func4onals


CPMD Input<br />

• &ATOMS … &END (required) <br />

– Pseudopoten4als and atomic coordinates <br />

*atom _file name of the pseudopoten4al <br />

number of atoms of the current type <br />

x y z <br />

... <br />

Label specifying the method how <br />

to calculate the nonlocal parts of <br />

the pseudopoten4al. <br />

...<br />

Informa4on on the nonlocality of the <br />

pseudopoten4al: <br />

LMAX=l with l being the maximum <br />

quantum number s,p,d.


Running CPMD<br />

To run the 64-­‐bit version in CPMD-­‐3.13.2 (with QMMM rou4nes) execute: <br />

source /home/ei250498/PROGRAMS/modules/cpmd.sh <br />

Calcula4on on one node: <br />

$MPIEXEC $FLAGS_MPI_BATCH /home/ei250498/PROGRAMS/BIN/cpmd.x <br />

/home/ei250498/PROGRAMS/SRC/cpmd/PP > <br />

Batch file <br />

#BSUB -J Template<br />

#BSUB -o output<br />

#BSUB -e error<br />

!Batch system’s job name!<br />

!Filename of the batch system’s output messages (and error if no option -e used)!<br />

!Filename of the batch system’s error messages!<br />

#BSUB -n 2 ! !Number of cores to be reserve for the job (for this tutorial use n < 8)!<br />

#BSUB -W 00:15<br />

!Hard runtime limit: after the expiration of this time (here 15’) the job will be killed!<br />

#BSUB -M 700<br />

!Set the per-process memory limit in MB!<br />

#BSUB -a intelmpi<br />

!Specify which MPI version you want to use in the parallel run!<br />

Commands <br />

bsub < batch.script Job submission <br />

bsub –w Check jobs <br />

bkill ! Kill job


CPMD Output<br />

• Header <br />

– Date when the calcula4on was started. <br />

– Version of CPMD, date of compila4on. <br />

• Technical informa4on <br />

– Computa4on environment <br />

• &INFO (op4onal) contents <br />

• &CPMD: summary of parameters read in from &CPMD <br />

or their respec4ve default se~ngs <br />

• Addi4onal output files, e.g. <br />

– RESTART.1 /LATEST: final state of the system (binary) <br />

• needed for calcula4ons that need a converged wavefunc4on as star4ng point <br />

• LATEST: stores the name of the last restart file <br />

– GEOMETRY.xyz: coordinates in Å readable by most vis. prog. <br />

– GEOMETRY: coordinates/veloci4es/forces in a.u.


CPMD Output<br />

• Exchange correla4on func4onals:


CPMD Output<br />

• Atoms: coordinates in a.u. (1bohr = 0.529 Å) <br />

– acetone: C 3 H 6 O => 24 (valence) electrons <br />

(8 core electrons omibed) <br />

=> 12 doubly occupied orbitals <br />

(number of states) <br />

(closed shell)


CPMD Output<br />

• Informa4on on pseudopoten4als


CPMD Output<br />

• Distribu4on among the 8 cores


CPMD Output<br />

• &SYMMETRY: <br />

– summary of parameters read in from &SYMMETRY or their <br />

respec4ve default se~ngs and derived parameters


CPMD Output<br />

• Ini4al guess for the wave func4on op4miza4ons: <br />

– Superposi4on of atomic wavefunc4ons using a minimal <br />

(Slater) atomic basis set. <br />

Slater-­‐type orbital (STO):


CPMD Output<br />

• Ini4al guess for the Hessian matrix <br />

– Here: simple guess assuming a molecule with specified bonds <br />

– Alterna4ve: unit matrix <br />

– Hessian H: matrix of par4al second deriva4ves <br />

• used in Newton-­‐Raphson op4miza4on methods, which expand the actual <br />

func4on in a Taylor series to second order. <br />

– BFGS: (approximate) Hessian-­‐update procedure


CPMD Output<br />

• Geometry op4miza4on <br />

– First part: wave func4on op4miza4on <br />

Wave func4on <br />

op4miza4on <br />

NFI = step number („number of finite itera4ons“) <br />

GEMAX = largest off-­‐diagonal component of the Kohn-­‐Sham orbitals <br />

CNORM = average of the off-­‐diagonal components of the KS orbitals <br />

ETOT = total energy <br />

DETOT = change in total energy <br />

Convergence criterion: <br />

TCPU = 4me used for this step <br />

1.0D-­‐6


CPMD Output<br />

• Geometry op4miza4on <br />

– Ini4al posi4ons and gradients (forces) of the atoms <br />

Convergence <br />

criterion: <br />

7.0D-­‐4 <br />

(not yet fulfilled) <br />

GNMAX = largest absolute component of the force on any atom <br />

GNORM = average force on the atoms <br />

CNSTR = largest absolute component of a constraint force on the atoms


CPMD Output<br />

• Geometry op4miza4on <br />

– Final posi4ons and gradients (forces) of the atoms <br />

Convergence <br />

criterion: <br />

7.0D-­‐4 <br />

(fulfilled)


CPMD Output<br />

• Geometry op4miza4on: Convergence


CPMD Output<br />

• Geometry op4miza4on <br />

– Energies for the final geometry <br />

(K+E1+L+N+X) TOTAL ENERGY = <br />

(K) KINETIC ENERGY = <br />

(E1=A-­‐S+R) ELECTROSTATIC ENERGY = <br />

(S) ESELF = <br />

(R) ESR = <br />

(L) LOCAL PSEUDOPOTENTIAL ENERGY = <br />

(N) N-­‐L LOCAL PSEUDOPOTENTIAL ENERGY = <br />

(X) EXCHANGE CORRELATION ENERGY = <br />

GRADIENT CORRECTION ENERGY =


CPMD Properties: Dipole Moment<br />

• Modified input <br />

calculate proper4es specified by &PROP <br />

Read: <br />

wavefunc4on and geometry from the RESTART file <br />

given in the file LATEST. <br />

• Result <br />

(The &ATOM sec4on should s4ll be there, but the <br />

coordinates are ignored) <br />

By default the dipole moment is <br />

computed from real space integra4on


Force field: Bonded terms<br />

(not used routinely)


Force field: Non-bonded terms<br />

Van-der-Waals interaction<br />

Electrostatic (Coulomb) interaction<br />

Slowly decaying potential („long range“)<br />

Rapidly decaying potential<br />

Dipole – induced dipole interaction<br />

(also named London or dispersion force)<br />

• important for stabilizing biomolecular<br />

conformations<br />

• pairwise contributions (~N 2 )<br />

• cut-offs<br />

• Multipole methods (~N)<br />

• Ewald methods (~N)


Acetone in Water: Electrostatic Interactions<br />

• Non-­‐bonded interac4ons between polar molecules <br />

(here: acetone and surrounding water molecules) <br />

– described in terms of electrosta4c interac4ons between <br />

fragments having an internal asymmetry in the electron <br />

distribu4on. <br />

– the fundamental interac4on is in between the ElectroSta4c <br />

Poten4al (ESP), also called Molecular Electrosta4c Poten4al <br />

(MEP) generated by one molecule (or frac4on thereof) and <br />

the charged par4cles of one another. <br />

– the ESP at posi4on r is given as a sum of contribu4ons from <br />

the nuclei and the electronic wave func4on. <br />

– Force fields: no wave func4on available <br />

therefore: assign atomic charges


Electrostatic Potential<br />

• Electrosta4c poten4al of a point charge <br />

<br />

E<br />

P<br />

Electrosta4c poten4al <br />

r<br />

+ <br />

q<br />

Electrosta4c poten4al at point P: <br />

Work per unit charge needed to move <br />

an infinitesimal test charge q r from <br />

infinity to P <br />

– The electric poten4al due to a system of point charges is <br />

equal to the sum of the point charges' individual poten4als


Acetone in Water: Electrostatic Interactions<br />

• Amber10 MD package <br />

– not directly usable for ordinary organic molecules <br />

– accurate representa4on of electrosta4c interac4ons is crucial <br />

for a force field <br />

– no par4al charges, which have to be derived from quantum <br />

chemical methods. <br />

– Atomic charges <br />

• par44oning the wave func4on in terms of the basis func4ons <br />

• fi~ng schemes <br />

• par44oning the electron density into atomic domains <br />

– Procedure here: <br />

• calculate the electrosta4c poten4al on a grid around the molecule <br />

• least squares fi~ng algorithm is used to derive a set of atom-­‐centered point <br />

charges which best reproduce the molecular electrosta4c poten4al (MEP). <br />

• Charges for a new molecule: RESP = Restrained ElectroSta4c Poten4al fit <br />

• Quantum chemistry program: Gaussian09


Acetone in Water: Electrostatic Interactions<br />

• Gaussian geometry (re)op4miza4on <br />

blank lines <br />

4tle <br />

charge = 0 <br />

mul4plicity = 2S+1 = 1 (singlet) <br />

8 processors <br />

checkpoint file for restarts <br />

allocated memory <br />

#p starts command line with <br />

extended output <br />

opt geometry op4miza4on <br />

b3lyp DFT hybrid method <br />

6-­‐31G(d,p) <br />

• split valence atomic basis set using <br />

linear combina4ons of atom-­‐centered <br />

Gaussian func4ons <br />

• including d polariza4on func4ons on <br />

second-­‐row elements <br />

• including p polariza4on func4ons on <br />

hydrogen <br />

nosym<br />

no symmetry constraints <br />

no reorienta4on <br />

iop(6/7=3) print all MOs (also pop=full) <br />

gfinput print basis set


Running Gaussian<br />

1. Set the environment (Gaussian is installed on the cluster by default) <br />

module load CHEMISTRY <br />

module load gaussian (“typo in the script”) <br />

3. Running Gaussian09: <br />

g09 input_file.com & <br />

or <br />

g09 < input_file.com > output_file.log &


Acetone in Water: Electrostatic Interactions<br />

• Op4miza4on converged <br />

Item Value Threshold Converged?<br />

Maximum Force 0.000036 0.000450 YES<br />

RMS Force 0.000012 0.000300 YES<br />

Maximum Displacement 0.000659 0.001800 YES<br />

RMS Displacement 0.000205 0.001200 YES<br />

Predicted change in Energy=-1.761213D-08<br />

Optimization completed.<br />

-- Stationary point found.<br />

• Gaussian electrosta4c grid <br />

– Popula4on analysis using CHelpG <br />

• Produce charges fit to the electrosta4c poten4al at points selected according <br />

to the CHelpG scheme <br />

• CHelpG = CHarges from ELectrosta4c Poten4als using a Grid based method <br />

• IOP(6/33=2): print poten4al points and poten4als; regular = prin4ng op4on <br />

• gridpoints spaced 3.0 pm apart and distributed regularly in a cube (with <br />

dimensions of the molecule + 28 pm) <br />

• all points falling in the van-­‐der-­‐Waals radius of the molecule are discarded <br />

• a‚er evalua4ng the MEP at all valid grid points, atomic charges are derived <br />

that reproduce the MEP best. <br />

• constraint: sum of all atomic charges equals that of the overall charge of the <br />

system


Acetone in Water: Electrostatic Interactions<br />

• Electrosta4c proper4es <br />

**********************************************************************<br />

Electrostatic Properties Using The SCF Density<br />

**********************************************************************<br />

Atomic Center 1 is at 0.106628 -0.184661 0.134616<br />

Atomic Center 2 is at -0.306070 0.530098 1.027331<br />

...<br />

ESP Fit Center 11 is at -4.314199 -2.074932 -0.550336<br />

ESP Fit Center 12 is at -4.314199 -2.074932 -0.250336<br />

...<br />

ESP Fit Center 8258 is at 4.685801 1.525068 0.049664<br />

ESP Fit Center 8259 is at 4.685801 1.525068 0.349664<br />

8249 points will be used for fitting atomic charges<br />

Fitting point charges to electrostatic potential<br />

Charges from ESP fit, RMS= 0.00131 RRMS= 0.08248:<br />

Charge= 0.00000 Dipole= 0.9688 -1.6776 -2.0969 Tot= 2.8548<br />

1<br />

1 C 0.636884<br />

2 O -0.497075<br />

3 C -0.339357<br />

4 C -0.348283<br />

5 H 0.088163<br />

6 H 0.094388<br />

7 H 0.088026<br />

8 H 0.089879<br />

9 H 0.089824<br />

10 H 0.097552<br />

-----------------------------------------------------------------<br />

Electrostatic Properties (Atomic Units)<br />

-----------------------------------------------------------------<br />

Center Electric -------- Electric Field --------<br />

Potential X Y Z<br />

-----------------------------------------------------------------<br />

1 Atom -14.652194<br />

2 Atom -22.332217<br />

...<br />

11 Fit 0.002741<br />

12 Fit 0.002487<br />

...<br />

8258 Fit 0.003555<br />

8259 Fit 0.003179


Acetone in Water: Electrostatic Interactions<br />

• Par4al charges and molecular electrosta4c poten4al <br />

(derived with the CHelpG scheme) <br />

• the molecular electrosta4c poten4al is not typically displayed itself. <br />

• rather, it is usually mapped onto a molecular surface <br />

Molecular electrosta4c poten4al <br />

shows „chemical reac4vity“ <br />

Quantum chemistry: <br />

• MEP (in V= J/C) is usually mul4plied <br />

by the proton charge e and N A (J/mol). <br />

• MEP value is the electrical interac4on <br />

energy between the molecule and a <br />

proton at point P (assuming that the <br />

molecule is not polarized by the proton)


Antechamber<br />

– automates the process of developing force field descriptors <br />

for most organic molecules. <br />

– reads the electrosta4c grid from a Gaussian log file and <br />

calculates RESP (Restrained ElectroSta4c Poten4al fit) <br />

charges. <br />

Amber force field energy: <br />

q i , q j : <br />

par4al charges


Acetone in Water: Electrostatic Interactions<br />

• AMBER10 MD package <br />

– Assisted Model Building with Energy Refinement <br />

– Package of molecular simula4on programs <br />

– Molecular mechanical force fields for the simula4on of <br />

biomolecules (amino acids, protein, nuclei acids, ...) <br />

– Prepara4on: antechamber <br />

• program suite to automate the process of developing force field descriptors <br />

for most organic molecules <br />

– Prepara4on: XLEaP <br />

• basic model building and Amber coordinate and parameter/topology input file <br />

crea4on <br />

• includes a molecular editor which allows for building residues and <br />

manipula4ng molecules <br />

– Simula4on: sander <br />

• simulated annealing with NMR-­‐derived energy restraints <br />

• also main program used for MD simula4ons


Antechamber<br />

– automates the process of developing force field descriptors <br />

for most organic molecules. <br />

– reads the electrosta4c grid from a Gaussian log file and <br />

calculates RESP (Restrained ElectroSta4c Poten4al fit) <br />

charges.


Running AMBER<br />

Running AMBER suite programs: Ini4aliza4on: <br />

source /home/ei250498/PROGRAMS/modules/amber.sh <br />

antechamber <br />

XLEaP: <br />

xleap –f /home/ei250498/PROGRAMS/src/amber11/dat/leap/cmd/leaprc.ff99SB & <br />

loadamberprep acetone.resp.prep <br />

loadamberparams /home/ei250498/PROGRAMS/src/amber11/dat/leap/parm/gaff.dat <br />

loadamberparams /home/ei250498/TUTORIAL/ACETONE/5-­‐XLEAP/acetone.frcmod <br />

saveamberparm ACET acetone.top acetone.rst <br />

solvatebox ACET TIP3PBOX 14 <br />

saveamberparm ACET acetone_solv.top acetone_solv.rst


Antechamber<br />

– rapid genera4on of topology files for use with the AMBER <br />

simula4on programs <br />

• Automa4cally iden4fy bond and atom types <br />

• Judge atomic equivalence <br />

• Generate residue topology files <br />

• Find missing force field parameters and supply reasonable sugges4ons <br />

– antechamber executes the following programs <br />

(all provided with AmberTools): <br />

• divcon, atomtype, am1bcc, bondtype, espgen, respgen, prepgen <br />

-­‐i<br />

-­‐fi<br />

-­‐c <br />

-­‐o<br />

-­‐nc<br />

-­‐m<br />

-­‐fo<br />

-­‐rn<br />

inpuƒile name <br />

format inpuƒile [gout=Gaussian output, gzmat, pdb, mdl, ...] <br />

resp = use RESP charge model [Mulliken, bcc, ...] <br />

output filename <br />

net molecular charge (int) <br />

mul4plicity (2S+1), default=1 <br />

output file format [prepi = AMBER Prep (int)] <br />

residue name (unit), if not available in the input file (default: mol)


Antechamber: Structure and partial RESP charges<br />

– Residue descrip4on (“topology”) <br />

unit/residue <br />

name <br />

0 0 2<br />

This is a remark line<br />

molecule.res<br />

ACET INT 0<br />

CORRECT OMIT DU BEG<br />

0.0000<br />

1 DUMM DU M 0 -1 -2 0.000 .0 .0 .00000<br />

2 DUMM DU M 1 0 -1 1.449 .0 .0 .00000<br />

3 DUMM DU M 2 1 0 1.522 111.1 .0 .00000<br />

4 O1 o M 3 2 1 1.540 111.208 180.000 -0.495623<br />

5 C1 c M 4 3 2 1.216 109.863 51.285 0.630080<br />

6 C3 c3 3 5 4 3 1.520 121.699 -22.918 -0.324765<br />

7 H4 hc E 6 5 4 1.096 110.452 120.976 0.085845<br />

8 H5 hc E 6 5 4 1.096 110.406 -121.152 0.085845<br />

9 H6 hc E 6 5 4 1.090 109.785 -0.106 0.085845<br />

10 C2 c3 M 5 4 3 1.519 121.728 156.983 -0.324765<br />

11 H1 hc E 10 5 4 1.096 110.520 -120.935 0.085845<br />

12 H2 hc E 10 5 4 1.090 109.783 0.125 0.085845<br />

13 H3 hc E 10 5 4 1.096 110.476 121.116 0.085845<br />

atom name type <br />

LOOP<br />

IMPROPER<br />

C3 C2 C1 O1<br />

DONE<br />

STOP<br />

all atom model <br />

internal <br />

coordinates <br />

for cyclic systems <br />

connec4vi4es <br />

NOMIT: ini4al residue <br />

(keep dummy atoms) <br />

OMIT: other residues <br />

(omit dummy atoms) <br />

symbol for dummy atoms <br />

bond <br />

lengths <br />

IMPROPER (dihedral angle): <br />

prevents racemiza4on of asymmetric centers <br />

can be used to enforce planarity <br />

bond <br />

angles <br />

dihedral <br />

angles <br />

RESP <br />

charges <br />

Dummy atoms defining <br />

the space axes for the <br />

residues <br />

File: <br />

acetone.resp.prep<br />

Topological type (tree structure) <br />

Main <br />

Side, Branch, 3, 4, 5, 6, End (related to connec4vi4es) <br />

4 <br />

5 <br />

regular atoms <br />

10 <br />

(internal coordinates)


Acetone: Pre-Equilibration<br />

• Classical MD equilibra4on <br />

– relaxa4on near to a stable state <br />

– necessary in order to get closer to long relaxa4on 4mes, <br />

which are not accessable by ab ini4o MD methods alone <br />

• LEaP / XLEaP <br />

– creates a new system and generate force field files <br />

• reads AMBER force field informa4on / structural informa4on <br />

• constructs new molecules / residues / solva4on <br />

• generates topology and coordinate files to use in AMBER. <br />

– specify force field: xleap -s -f <br />

– e.g. leaprc.ff99SB: parameter files <br />

• parm99.dat : basic force field parameters (amino acids and some organic <br />

molecules <br />

• frcmod99SB: „Stony Brook“ modifica4on to ff99 backbone torsions <br />

• ff99: refers to a common force field for proteins for „general“ organic and <br />

bioorganic systems.


Acetone: XLEaP<br />

– graphical user interface <br />

– load par4al charges into XLEaP: loadAmberPrep <br />

– load other force field: loadAmberParams gaff.dat<br />

• GAFF: force field for general organic molecules <br />

– load addi4onal bond lengths and bond angle parameters: <br />

loadAmberParams acetone.frcmod<br />

(calculated with parmcal) <br />

– edit unit <br />

• unit: object containing all the informa4on for the calcula4on using AMBER <br />

– check unit <br />

• checks bond lengths, total charge, missing parameters, close contacts, … <br />

– save data into files readably by AMBER: <br />

saveAmberParm unit topologyfilename coordinatefilename<br />

• topology file : connec4vity, atom names, atom types, residue names, and charges <br />

• coordinate file : cartesian atomic coordinates <br />

<br />

BOND<br />

c-o 643.701 1.216<br />

... force equilibrium <br />

ANGLE<br />

constant value <br />

o-c-c3 67.993 121.723<br />

...


Acetone: Topology File<br />

%VERSION VERSION_STAMP = V0001.000 DATE = 04/18/10 23:38:18<br />

%FLAG TITLE<br />

%FORMAT(20a4)<br />

ACET<br />

%FLAG POINTERS<br />

%FORMAT(10I8)<br />

NATOMS NTYPES <br />

10 4 6 3 12 3 18 1 0 0<br />

37 1 3 3 1 3 4 4 4 0<br />

0 0 0 0 0 0 0 0 10 0<br />

0<br />

%FLAG ATOM_NAME<br />

%FORMAT(20a4)<br />

O1 C1 C3 H4 H5 H6 C2 H1 H2 H3<br />

%FLAG CHARGE<br />

%FORMAT(5E16.8)<br />

atomic charges * sqrt(k C ) = 18.2223 Å kcal/mol (= 1/4 0 a 0 ) <br />

-9.03139099E+00 1.14815068E+01 -5.91796526E+00 1.56429334E+00 1.56429334E+00<br />

1.56429334E+00 -5.91796526E+00 1.56429334E+00 1.56429334E+00 1.56429334E+00<br />

%FLAG MASS<br />

%FORMAT(5E16.8)<br />

File: <br />

acetone.top<br />

atomic masses <br />

1.60000000E+01 1.20100000E+01 1.20100000E+01 1.00800000E+00 1.00800000E+00<br />

1.00800000E+00 1.20100000E+01 1.00800000E+00 1.00800000E+00 1.00800000E+00<br />

%FLAG ATOM_TYPE_INDEX<br />

%FORMAT(10I8)<br />

1 2 3 4 4 4 3 4 4 4<br />

%FLAG NUMBER_EXCLUDED_ATOMS<br />

%FORMAT(10I8)<br />

9 8 7 3 2 1 3 2 1 1<br />

...


Acetone: Coordinate File<br />

File: <br />

ACET<br />

acetone.rst<br />

10 NATOM,TIME (I5,5E15.7) <br />

O 3.5369136 1.4228577 -0.0000019 C 3.9514241 0.7083417 -0.8923606<br />

C 3.1046075 -0.4091605 -1.4792938 H 2.9613371 -0.2564607 -2.5551062<br />

H 3.6104655 -1.3742500 -1.3612860 H 2.1359290 -0.4389819 -0.9804223<br />

C 5.3408964 0.8879357 -1.4792794 H 5.2805369 1.0887746 -2.5550287<br />

H 5.8482060 1.7136823 -0.9804012 H 5.9284698 -0.0297019 -1.3613192<br />

X,Y,Z : coordinates : FORMAT(6F12.7) (X(i), Y(i), Z(i), i = 1,NATOM) <br />

IF dynamics<br />

FORMAT(6F12.7) (VX(i), VY(i), VZ(i), i = 1,NATOM)<br />

VX,VY,VZ : velocities (units: Angstroms per 1/20.455 ps)<br />

IF constant pressure (in 4.1, also constant volume)<br />

FORMAT(6F12.7)<br />

BOX(1), BOX(2), BOX(3) BOX : size of the periodic box<br />

• the informa4on from the topology and the coordinate files need to be <br />

combined to describe the system.


Acetone in Water: Water Box<br />

– Automa4c genera4on of a periodic solvent rectangular box <br />

solvateBox solute solvent distance [closeness]<br />

solvateBox ACET TIP3PBOX 14 <br />

• solute UNIT (here: ACET) is modified by addi4on of solvent residues <br />

• distance: closest distance between any atom of the solute and the edge of <br />

the periodic box. <br />

• closeness: criterion for rejec4on of overlapping solute/solvent residues <br />

[factor mul4plies the sum of van-­‐der-­‐Waals radii of solute and solvent atoms <br />

(default = 1)] <br />

– Export the topology and coordinate files for the solvated <br />

system <br />

saveAmberParm ACET acetone_solv.top acetone_solv.rst


QM/MM (CPMD): Dipole moment<br />

• Gas phase calcula/on <br />

– Geometry op4miza4on, property calcula4on <br />

• Acetone in water at room temperature <br />

– Prepara4on <br />

• Generate parameters missing in the standard force field: <br />

par4al charges (restrained electrosta4c poten4al (RESP) procedure) <br />

• Build the system: generate topology and ini4al coordinates files; <br />

solute molecule (including par4al charges and other force constants; water box <br />

(including standard force field for water) <br />

– Classical pre-­‐equilibra4on <br />

• Restraint minimiza4on (relax the solvent while fixing the solute) <br />

• Unrestrained minimiza4on <br />

• Hea4ng to 300 K <br />

• Adjust the density (volume) by an NPT MD simula4on <br />

– QM/MM calcula4on <br />

• Prepara4on: Reimage coordinates, convert to GROMOS format <br />

• Simulated annealing (“instead of op4miza4on”) <br />

• Hea4ng <br />

• Produc4on run (NVT ensemble calcula4on) <br />

• Property calcula4on


Water Models<br />

– Water models differ by <br />

• number of points used to define the model <br />

• rigid or flexible structure <br />

• with or without polariza4on effects <br />

– simple water models <br />

• water molecules are maintained rigid <br />

• interac4on is described by pairwise <br />

coulombic (electrosta4c) and Lennard-­‐Jones (van-­‐der-­‐Waals) expressions <br />

• 3 to 6 interac4on sites for electrosta4c interac4ons <br />

• van-­‐der-­‐Waals interac4on is calculated with a single interac4on point per <br />

molecule centered on the oxygen (no vdW-­‐interac4on with hydrogens) <br />

3-­‐site model: <br />

• charge on each atom <br />

• L-­‐J parameter on O <br />

TIP3P <br />

4-­‐site model: <br />

• charge on O displaced <br />

on a dummy atom M <br />

hbp://en.wikipedia.org/wiki/Water_model


Water Models<br />

– Parameters for simple water models <br />

• rigid models: no vibra4onal (solvent) spectra <br />

• water dimer: e.g. <br />

4-­‐site model: 10 distances (3• 3 between the centers (H,H,M) <br />

+ O-­‐O L-­‐J interac4on) <br />

– Problems of simple water models <br />

• e.g. for systems with strong electric fields arising from ions. <br />

• inclusion of polariza4on effects necessary <br />

Table: A. Leach Molecular Modeling: Principles and Applica:ons, Pearson 2001.


Water Models<br />

http://www.lsbu.ac.uk/water/models.html#back2


Acetone in Water: Initial Structure


Sander: Pre-Equilibration<br />

• 1. Classical restrained minimiza4on of the system <br />

– acetone is restrained to its ini4al posi4on <br />

– water molecules are allowed to reorient, i.e. to solvate the <br />

solute properly (e.g. forming hydrogen bonds, ...) <br />

• 2. Classical minimiza4on without restraints <br />

• 3. Classical MD simula4on: Hea4ng / equilibra4on <br />

– constant volume <br />

– linear hea4ng (0 -­‐ 300 K) <br />

– acetone is weakly restrained (water molecules can surround <br />

the solute without forming holes) <br />

– relaxa4on 4me: 300 ps (0.3 ns), (water relaxa4on 4me ≈10 ps) <br />

• 4. Classical MD simula4on at 300 K and 1 atm (NPT) <br />

– constant temperature (thermostat) and pressure (barostat) <br />

– to adjust the density to its experimental value (≈1 g/cm 3 )


Acetone in Water: Pre-Equilibration<br />

• Pre-­‐equilibra4on of the system using classical MD <br />

• Program: SANDER <br />

– Simulated Annealing with NMR-­‐Derived Energy Restraints <br />

– Energy minimiza4on, molecular dynamics, NMR refinements, ... <br />

– Long-­‐range interac4ons <br />

• electrosta4c: par4cle-­‐mesh Ewald procedure (op4onally „true“ Ewald sum) <br />

• van-­‐der-­‐Waals: es4mated by a con4nuum model <br />

– Users can define restraints on bonds, angles, and torsions


Sander: Usage


Sander: 1. Restrained Minimization<br />

• Classical restrained minimiza4on of the system <br />

– acetone is restrained to its ini4al posi4on <br />

– water molecules are allowed to reorient, i.e. to solvate the <br />

solute properly (e.g. forming hydrogen bonds, ...) <br />

mpirun -np 8 sander.MPI ... &<br />

-O overwrite output files if they exist<br />

-i control data for Min/MD run: 1-restraint.inp<br />

-o output file: eq_restraint.out<br />

-c initial coordinates: acetone_solv.rst<br />

(opt. velocities, periodic box size (last line))<br />

-p topology file: acetone_solv.top<br />

-r final coordinates, etc. (for restart):eq_restraint.rst<br />

-ref reference coordinates for position restraints:<br />

acetone_solv.rst<br />

-inf latest mdout-format energy info: eq_restraint.info


Sander: 1. Restrained Minimization<br />

• 1-restraint.inp:<br />

EQUILIBRATION ACETONE: RESTRAINT<br />

&cntrl<br />

imin=1, ! Minimization (Default: imin=0 MD run)<br />

irest=0, ! DEFAULT: No restart<br />

blank <br />

char. <br />

requ. <br />

here <br />

ntb=1,<br />

! DEFAULT: Periodic boundary conditions with constant volume<br />

cut=10.0, ! Non-Bonded (Coulomb+VDW) cutoff in Angstrom (DEFAULT 8.0)<br />

maxcyc=50000, ! Maximum number of cycles of minimization (DEFAULT 1)<br />

ncyc=300, ! Number of initial cycles using steepest descent method,<br />

! after ncyc: conjugate gradient(DEFAULT 10)<br />

ntr=1,<br />

! Position restraints (DEFAULT 0 = off)<br />

/<br />

/ concludes &cntrl namelist <br />

Restraints on Acetone<br />

500.0<br />

restraining specified atoms in cartesian space using harmonic poten4als <br />

RES 1<br />

• restraintmask string determines restrained atoms <br />

END<br />

END<br />

• restraint_wt force constant (k in kcal/mol; restraint = k • (x 2 ) <br />

• coordinates are read in „restr“ format from the refc file (contains all <br />

atoms); constrained atoms have to be specified. <br />

• Results: eq_restraint.out, *.rst, *.info<br />

NSTEP ENERGY RMS GMAX NAME NUMBER<br />

9899 -1.4707E+04 3.3717E-02 8.8112E-01 O 3056<br />

(ntb=2<br />

constant pressure) <br />

BOND = 1236.8131 ANGLE = 0.2058 DIHED = 4.7658<br />

VDWAALS = 3658.4484 EEL = -19568.1735 HBOND = 0.0000<br />

1-4 VDW = 0.4341 1-4 EEL = -39.7447 RESTRAINT = 0.0772<br />

EAMBER = -14707.2511


Sander: 2. Unrestrained Minimization<br />

• 2-minimization.inp:<br />

EQUILIBRATION ACETONE: RESTRAINT<br />

&cntrl<br />

imin=1, ! Minimization (Default: imin=0 MD run)<br />

ntx=1,<br />

! coordinates are read formatted / no initial velocities<br />

irest=0, ! DEFAULT: No restart<br />

ntb=1,<br />

! DEFAULT: Periodic boundary conditions with constant volume<br />

cut=10.0, ! Non-Bonded (Coulomb+VDW) cutoff in Angstrom (DEFAULT 8.0)<br />

maxcyc=50000, ! Maximum number of cycles of minimization (DEFAULT 1)<br />

ncyc=300, ! Number of initial cycles using steepest descent method,<br />

! after ncyc: conjugate gradient(DEFAULT 10)<br />

ntr=0,<br />

! No position restraints (DEFAULT 0 = off)<br />

/<br />

• Results: eq_minimization.out, *.rst, *.info <br />

NSTEP ENERGY RMS GMAX NAME NUMBER<br />

5596 -1.4743E+04 5.8665E-03 1.0262E-01 H2 2080<br />

BOND = 1240.3048 ANGLE = 0.0822 DIHED = 4.8192<br />

VDWAALS = 3659.2696 EEL = -19608.3578 HBOND = 0.0000<br />

1-4 VDW = 0.5127 1-4 EEL = -39.9970 RESTRAINT = 0.0000


Sander: 2. Unrestrained Minimization


Sander: 3. MD heating to 300 K<br />

EQUILIBRATION ACETONE: HEATING<br />

&cntrl<br />

imin=0, ! DEFAULT: Molecular Dynamics<br />

! Nature and format of the input<br />

ntx=1,<br />

irest=0, ! DEFAULT: No restart<br />

! Nature and format of the output<br />

ntpr=200, ! Steps for energy info in .out and .info<br />

ntwr=1000, ! Steps for restart file (.rst)<br />

ntwx=500, ! Steps for coordinates file (.crd)<br />

ntwe=500, ! Steps for energy file (.en)<br />

! Potential function<br />

ntf=2,<br />

! coordinates are read formatted / no initial velocities<br />

! Bond interactions involving H-atoms omitted<br />

! (use with ntc=2)<br />

longer dt possible <br />

ntb=1,<br />

! DEFAULT: Periodic boundary conditions with constant volume<br />

cut=10.0, ! Non Bonded cutoff in Angstrom (DEFAULT 8.0)<br />

! Frozen on restrained atoms<br />

ntr=1,<br />

! Position restraint<br />

! Molecular dynamics<br />

300.000•1fs = 300 ps = 0.3 ns <br />

nstlim=300000, ! MD steps (at least > 10 ps, the relaxation time of water)<br />

dt=0.001, ! DEFAULT: Time step (in ps: 0.001 ps = 1 fs) dt should be one <br />

! Temperature regulation order of magnitude smaller than the fastest process (rot./vib.) <br />

ntt=3,<br />

! Langevin dynamics thermostat<br />

NVT canonical ensemble <br />

gamma_ln=1.0, ! Collision frequency of Langevin dynamics<br />

ig=71277, ! DEFAULT: Seed for pseudo number generator:<br />

! change it at each restart!<br />

...<br />

temp0=300.0, ! Reference temperature<br />

tempi=0.0, ! Initial temperature<br />

• 3-heating.inp:<br />

X-­‐H DOF have lible <br />

influence on many <br />

proper4es: <br />

room temperature <br />

ini4al veloci4es calculated from forces (if 0) <br />

or from a Maxwell distribu4on at T=0K


Sander: 3. MD at 300 K (NVT ensemble)<br />

• 3-heating.inp (continued):<br />

...<br />

SHAKE (Verlet) imposes constraints by the <br />

method of Lagrange undetermined mul4pliers. <br />

! Shake bond length constraints(only for MD) removes bond stretching degrees of freedom <br />

ntc=2,<br />

! Bonds involving hydrogens are constrained<br />

! Pressure regulation<br />

ntp=0, ! DEFAULT: No pressure scaling<br />

pres0=1.0, ! DEFAULT: Reference pressure (in atm)<br />

taup=0.2 ! Pressure relaxation time (in ps)<br />

/<br />

Restraints on Acetone<br />

5.0<br />

restraint force constant („weak“) <br />

RES 1<br />

END<br />

END<br />

EOF


Vibrational Motions<br />

• High-­‐frequency: <br />

bu O-H<br />

ag O-H<br />

• Intermediate frequency Low frequency <br />

bu C=O<br />

ag dimer ip stretching


Vibrational Motions<br />

• High-­‐frequency: <br />

– Examples: νX-­‐H (νO-­‐H, νS-­‐H, νN-­‐H, νC-­‐H, ...) <br />

– Wavenumbers: 2800 – 3600 cm -­‐1 <br />

– Frequencies: <br />

– Vibra4onal periods: <br />

• Intermediate frequencies: <br />

– Examples: νC=O, δOH, aroma4c ring vibra4ons, ... <br />

– Wavenumbers: ˜ ν = 400-­‐1800 cm -­‐1 <br />

– Frequencies: <br />

ν ≈1.2⋅ 10 13 5.4⋅ 10 13 s −1<br />

– Vibra4onal periods: T = 83 -­‐ 18 fs <br />

• Low frequencies: <br />

˜ ν =<br />

– Examples: intermol. modes, e.g. hydrogen bond modes, ... <br />

– Wavenumbers: 10-­‐400 cm -­‐1 <br />

– Frequencies: <br />

– Vibra4onal periods: T = 3 ps -­‐ 83 fs <br />

m<br />

ν = ˜ ν ⋅ c = 3000⋅ 10 8 s ⋅ 1<br />

10 −2 m = 9⋅ 1013 s −1<br />

T = 1 ν ≈11⋅ 10−15 s =11fs<br />

˜ ν =<br />

ν ≈ 0.03⋅ 10 13 1.2⋅ 10 13 s −1


Maxwell velocity distribution<br />

http://hyperphysics.phy-astr.gsu.edu


Statistical Thermodynamics<br />

• Canonical <br />

• Micro-­‐canonical <br />

Isolated system <br />

NVE = const. <br />

• Isothermal-­‐isobaric <br />

Heat bath T Heat bath / barostat T Energy <br />

Energy <br />

system <br />

exchange <br />

system <br />

exchange <br />

NVT = const. <br />

NPT = const. Volume <br />

exchange <br />

• Grand canonical <br />

Heat bath <br />

system <br />

VE = const. <br />

T <br />

Energy <br />

exchange <br />

Par4cle <br />

exchange <br />

NVT: <br />

• veloci4es scaling <br />

• thermostat <br />

• Langevin dyn. <br />

standard MD <br />

NPT: <br />

• thermostat <br />

• barostat: <br />

posi4on <br />

(volume) scaling


Langevin Dynamics<br />

– MD methods generate detailed informa4on about all the <br />

par4cles in the system and are therefore well suited for <br />

calcula4ng collec4ve proper4es. <br />

– if the interest is in the dynamics of a single molecule, the <br />

surrounding molecules can be modelled by only including their <br />

average interac4ons. <br />

– Langevin equa4on of mo4on: <br />

• normal intramolecular forces (F intra ) <br />

• the average interac4on is assumed to have a fric4on term (ζ) propor4onal to the <br />

atomic velocity (term removes energy) <br />

• a random component (F random ) that averages to zero (Gaussian distribu4on) <br />

(associated with a temperature: adds energy) <br />

– the Langevin equa4on of mo4on gives rise to stochas4c or <br />

Brownian dynamics.


Sander: 3. MD at 300 K (Heating)


Sander: 4. MD at 300 K / 1 atm (NPT)<br />

• 4-eq-density.inp:<br />

EQUILIBRATION ACETONE: DENSITY EQUILIBRATION<br />

&cntrl<br />

NPT canonical ensemble <br />

imin=0,<br />

! DEFAULT: Molecular Dynamics<br />

to adjust the density to <br />

! Nature and format of the input<br />

the equilibrium value of <br />

ntx=5,<br />

! Coordinates and velocities are read<br />

! formatted, box info is read if ntb>0 ≈ 1g/cm 3 . <br />

irest=1, ! Restart calculation (requires velocities in .rst file)<br />

...<br />

! Potential function<br />

ntf=2, ! Bond interactions involving H-atoms omitted<br />

ntb=2, ! Periodic boundary conditions with constant pressure<br />

cut=10.0, ! Non Bounded cutoff in Angstrom (DEFAULT 8.0)<br />

! frozen on restrained atoms<br />

ntr=0, ! DEFAULT: No position restraint<br />

! Molecular dynamics<br />

nstlim=300000, ! MD steps<br />

300000 • 1 fs = 300 ps = 0.3 ns <br />

dt=0.001, ! DEFAULT: Time step<br />

! Temperature regulation<br />

ntt=3, ! Langevin dynamics thermostat NPT canonical ensemble <br />

gamma_ln=1.0, ! Collision frequency of Langevin dynamics<br />

ig=71277, ! DEFAULT: Seed for pseudo number generator<br />

temp0=300.0, ! Reference temperature<br />

! Shake bond length constraints(only for MD)<br />

ntc=2, ! Bonds involving hydrogens are constrained<br />

! Pressure regulation<br />

ntp=1, ! Isotropic position scaling for constant pressure dynamics<br />

pres0=1.0, ! DEFAULT: Reference pressure (in atm)<br />

taup=2.0<br />

! Pressure relaxation time (in ps)<br />

/


Sander: 4. MD at 300 K / 1 atm (NPT)


Analysis and Processing: Reimaging<br />

• ptraj <br />

– general purpose u4lity for analyzing and processing trajectory <br />

or coordinate files created from MD simula4ons: <br />

• superposi4ons, extrac4ons of coordinates <br />

• calcula4on of bond/angle/dihedral values, atomic posi4onal fluctua4ons <br />

• correla4on func4ons, analysis of hydrogen bonds, etc. <br />

– input to ptraj is in the form of commands listed in a script <br />

– to use the program it is necessary to <br />

• read in a parameter/topology file (*.top) <br />

• set up a list of input coordinate files (trajin *.rst) <br />

• op4onally specify an output file (trajout *_new.rst restart) <br />

• specify a series of ac4ons to be performed on each coordinate set read in: <br />

center:1 center the box to the geometric center of Res 1 <br />

image center<br />

center [mask] [origin] [mass]<br />

reimage all molecules into the original unit cell <br />

(Under periodic boundary condi4ons, which par4cular unit cell a given molecule is in does <br />

not maber as long as, as a whole, all the molecules "image" into a single unit cell. In an MD <br />

simula4on, molecules dri‚ over 4me and may span mul4ple periodic cells unless "imaging" <br />

is enabled to shi‚ molecules that leave back into the primary unit cell.)


Analysis and Processing: Reimaging


Analysis and Processing: Convert MD Files<br />

• Convert from AMBER format to GROMOS format: <br />

– GROMOS (van Gunsteren, Berendsen) <br />

• Force field (GROMOS96, GROMOS05) <br />

• Name of an MD simula4on package <br />

– GROMACS (GROningen MAchine for Chemical Simula4ons) <br />

• Rewriben based on GROMOS <br />

• Free so‚ware (GNU general public license) <br />

• QM/MM interface of CPMD <br />

– Classical code <br />

• requires GROMOS format: coordinates (*.g96), topology, input file <br />

– QM part: keyword QMMM in the &CPMD sec4on <br />

&QMMM sec4on <br />

Conversion program:<br />

Conv_7.x (homemade)<br />

• QM/MM calcula4on <br />

– First, equilibrate the system classically using a regular classical MD code <br />

(usually keeping non-­‐parametrized parts rigid) <br />

– Define the QM system by assigning pseudopoten4als to selected atoms <br />

– Con4nue equilibra4on with CPMD using MOLECULAR DYNAMICS CLASSICAL <br />

– Wave func4on op4miza4on and normal MOLECULAR DYNAMICS CP


Ab initio MD<br />

• Born-­‐Oppenheimer (BO) MD <br />

– Electrons: <br />

• Wavefunc4on not propagated <br />

• Time-­‐independent Schrödinger equa4on is solved for each nuclear configura4on <br />

• Electronic minimiza4on for each step („expensive calcula4on“) <br />

– Nuclei <br />

• Calculate forces move atoms <br />

• Time step Δt improse by nuclei rela4vely large <br />

• Ehrenfest MD (EMD) <br />

– Electrons / nuclei <br />

• Wavefunc4on explicitly propagated – coupled to the nuclei <br />

• Time-­‐depnedent Schrödinger equa4on solved <br />

• No electronic minimia4on exept for t=0 <br />

• Time step Δt imposed by electrons very small („therefore rarely used“)


Ab initio MD<br />

• Car-­‐Parrinello MD <br />

– Goal: <br />

• Combine the advantages of BO MD and EMD <br />

• EMD: No electronic minimiza4on <br />

• BO: Large 4me step <br />

– Solu4on: <br />

• Adiaba4c separa4on between fast electrons (quantum) and slow (classical) nuclei <br />

• Quantum/classical problem mapped to a purely classical 2-­‐component problem with 2 <br />

separate energy scales (at the expense of losing the physical 4me informa4on of the <br />

quantum subsystem dynamics). <br />

• Molecular orbitals described as classical variables – decoupled from nuclei <br />

• Forces on nuclei as well as electrons as a deriva4ve of a suitable Lagrangian <br />

L CP<br />

=<br />

T<br />

<br />

I<br />

<br />

EKINC (T e )<br />

EKS (V<br />

1<br />

∑<br />

2 M <br />

<br />

e )<br />

<br />

<br />

I<br />

R 2 I<br />

+ ∑ µ φ i<br />

φ i<br />

− Ψ 0<br />

Ĥ e<br />

Ψ<br />

<br />

<br />

+ constraints<br />

0 <br />

<br />

I<br />

i<br />

<br />

<br />

orthonormality<br />

potential energy<br />

kinetic energy (nuclei + electrons/orbitals)<br />

• μ = fic44ous mass of the electrons


Ab initio MD: CPMD<br />

• Adiaba4c separa4on <br />

– Nuclei evolve according to physical temperature (e.g. body temp. 310 K) <br />

– Electrons evolve according to fic44ous temperature (“cold electrons”) <br />

• Electronic subsystem will stay close to exact Born-­‐Oppenheimer surface if kept at <br />

sufficiently low temperature <br />

– Decoupling nuclear and electronic mo4on <br />

• No overlap of power spectra – no energy transfer (“metastable”) <br />

Si 2 cell:<br />

Δt = 0.3 fs<br />

Μ = 300 a.u.<br />

t = 6.3 ps<br />

Electronic<br />

power spectrum<br />

Highest nuclear<br />

frequency


Ab initio MD: CPMD<br />

• Energies <br />

Conserved total energy<br />

Physical total energy<br />

(EHAM)<br />

(ECLASSIC)<br />

Electronic (potential) energy: oscillatory (EKS)<br />

Fictitious kinetic energy of the electrons:<br />

bound oscillations around a constant value,<br />

i.e. the electrons do not heat up (T e = measure<br />

for the deviation from the BO surface) (EKINC)<br />

Restrictions of CP MD:<br />

• Number of atoms ≈ 100 – 1000<br />

• Δt ≈ 0.1 fs<br />

• t ≈ few tens of ps


Ab initio MD: CPMD<br />

• How to control adiaba4city? <br />

• Dynamics of Kohn-­‐Sham orbitals as superposi4on of harmonic orbital <br />

classical fields, where ε j and ε i are the eigenvalues of occupied and <br />

unoccupied (virtual) orbitals: <br />

• Lowest frequency: <br />

ω e min ∝<br />

E gap<br />

µ<br />

• The frequency increases like the square root of the energy difference E gap , which is is the <br />

energy difference between HOMO (highest occupied molecular orbital) and LUMO <br />

(lowest unoccupied MO). <br />

• The frequency increases as the inverse of the square root for a decreasing fic44ous mass <br />

parameter μ. <br />

• To ensure adiaba4city, the difference to the highest phonon frequency <br />

should be large: ω min max<br />

e<br />

− ω n<br />

• The only adjustable parameter is μ (thus also called adiaba4city parameter) <br />

• Decreasing μ (lower kine4c energy, closer to BO surface) not only shi‚s the electronic <br />

spectrum upwards on the frequency scale as desired, but also stretches the en4re <br />

spectrum leading to an increase of the maximum frequency according to <br />

ω max e<br />

∝<br />

E cut<br />

µ<br />

where E cut is the largest kine4c energy in an expansion of the wave func4on in terms of a <br />

plane wave basis set. <br />

ω ij<br />

=<br />

( )<br />

µ<br />

2 ε j<br />

− ε i<br />

ω n<br />

max


Ab initio MD: CPMD<br />

• Therefore the MD methods introduces a limita4on with respect to the choice of the <br />

maximum 4me step that can be used, which is inversely propor4onal to the highest <br />

frequency in the system: <br />

Δt max ∝ 1<br />

ω e<br />

max ∝ µ<br />

E cut<br />

• Thus, a too small electronic mass entails very small 4me steps, therefore one has to find <br />

a compromise on the control parameter μ: <br />

• Typical values: μ = 500-­‐1000 a.u allowing for a 4me step of <br />

0.12 – 0.24 fs depending on the mass of the lightest nuclei. <br />

• μ too small: 4me steps too small <br />

• μ too large: adiaba4city lost <br />

• Replacing hydrogen by deuterium allows for a large 4me step and s4ll increase μ. <br />

• Thermostat electronic mo4on independently from nuclei.


QM/MM: Production<br />

• Controlling adiaba4city for CP dynamics in pra4ce <br />

– Adiaba4city: <br />

separa4on of ionic and electronic degrees of freedom <br />

• separa4ng the power spectrum of the orbital classical fields from the phonon <br />

spectrum of the ions, i.e. the gap between the lowest electronic frequency and <br />

the highest ionic frequency should be large enough <br />

• electronic frequencies depend on the fic44ous electron mass (EMASS), which <br />

can be op4mized to rise the lowest frequency appropriately (might turn out to <br />

be difficult in prac4ce). <br />

• Control: test simula4ons with observa4on of the energy components <br />

• EKINC: should be monitored <br />

– the fic44ous kine4c energy of the electrons might have a tendency to grow. <br />

– a‚er an ini4al transfer of a lible kine4c energy, the electrons should be much colder <br />

than the ions, since only the will the electronic structure be close to the Born-­‐<br />

Oppenheimer surface and thus, the wave func4on and forces derived from it are <br />

meaningful. <br />

• Ensuring adiaba4city of CP dynamics consists of decoupling the two subsystems <br />

and thus minimizing the energy transfer between ionic and electronic degrees of <br />

freedom. <br />

• In this sense CP dynamics is kept in a metastable state.


QM – MM - QM/MM<br />

Ab initio electronic structure theory:<br />

Density functional theory<br />

Classical all-atom force field<br />

ˆΗΨ = E 0<br />

Ψ<br />

E eff = E MM<br />

= E bonded<br />

+ E non−bonded<br />

Ab initio molecular dynamics:<br />

Car-Parrinello MD (CPMD)<br />

MR = −∇E 0<br />

Hybrid QM/MM<br />

Classical molecular dynamics<br />

Newton equation of motion<br />

MR = −∇E eff<br />

L CP<br />

=<br />

T<br />

<br />

I<br />

<br />

EKINC (T e )<br />

1<br />

∑<br />

2 M <br />

<br />

I<br />

R 2 I<br />

+ ∑ µ φ i<br />

φ i<br />

I<br />

i<br />

<br />

<br />

kinetic energy (nuclei + electrons/orbitals)<br />

EKS (V e )<br />

<br />

<br />

− Ψ 0<br />

Ĥ e<br />

Ψ<br />

<br />

<br />

0<br />

potential energy<br />

+ constraints <br />

<br />

orthonormality


QM/MM<br />

• Combina4on of accuracy (QM) and speed (MM) <br />

• Total energy in addi4ve schemes <br />

E QM / MM = E QM<br />

{ }<br />

{ }<br />

( )<br />

( )<br />

{ R α }<br />

{ }<br />

{ }, R I<br />

{ }<br />

( ) + E MM ( R ) I<br />

+ E QM − MM ( R )<br />

α<br />

• E QM R α<br />

: e.g. energy from the Kohn-­‐Sham Hamiltonian H KS e <br />

• E MM<br />

: the force field energy <br />

R J<br />

First introduced by: A. Warshel, M. Levitt J. Mol. Biol. 1976, 103, 227.<br />

Recent review: H.M. Senn, W. Thiel Ang. Chem. Int. Ed. 2009, 48, 1198.


QM/MM: Coupling<br />

• Coupling term: <br />

•<br />

QM −MM<br />

E steric follows MM model, e.g. Lennard-­‐Jones poten4al <br />

• electrosta4c interac4on <br />

E es<br />

QM −MM<br />

E QM − MM = E b<br />

QM −MM<br />

QM −MM<br />

E nb<br />

= E es<br />

QM −MM<br />

QM −MM<br />

+ E nb<br />

QM −MM<br />

+ E steric<br />

• Mechanical embedding: no influence of MM charges on QM part, i.e <br />

QM calcula4on is gas-­‐phase-­‐like without addi4onal poten4al due to <br />

the MM atoms <br />

• Electrosta4c part: either neglected or established by assigning <br />

fixed effec4ve charges to the QM nuclei, such as force field par4al <br />

charges. <br />

• Electrosta4c (electronic) embedding: electrosta4c interac4on between <br />

MM charges and QM charge density included by an addi4onal term to <br />

the QM Hamiltonian, where the electrosta4c interac4on of the MM <br />

atoms with the charge density of the QM system is taken into account <br />

in terms of an external charge distribu4on. <br />

• Polarized embedding: MM polariza4on due to QM system included as <br />

well (non-­‐self consistently or fully self-­‐consistently).


QM/MM: Electrostatic interaction<br />

• Plane waves: Simple numerical evalua4on of the coupling term is <br />

prohibi4ve as it would involve a large number of opera4ons: <br />

• Electronic charge density n(r) is defined on a FFT grid in both real <br />

and reciprocal space: <br />

Number of grid points (QM) × Number of MM atoms <br />

E es<br />

QM −MM<br />

n(r)<br />

= ∑ q I ∫<br />

i∈MM r − R I<br />

• Electron spill out or charge leakage due to the lack of orthogonality <br />

and thus Pauli repulsion for the interac4on of the electrons in the QM <br />

part with the nearby MM atoms. <br />

• Par4cularly severe for plane-­‐wave basis sets <br />

• The nega4ve electronic density can easily spread out into the <br />

vacuum region, where the posi4ve par4al charges of the MM <br />

atoms are located, instead of being kept close to the QM nuclei as <br />

is the case if small Gaussian basis sets without diffuse func4ons <br />

are used. <br />

• Various coupling schemes devised to cope with this problem <br />

dr


QM/MM: Bonded interactions<br />

Pseudopotentials<br />

• Introduced if covalent bonds connec4ng the QM and the MM system <br />

are cut <br />

• Link atom-­‐based scheme <br />

• QM part is electronically saturated by using capping atoms (o‚en <br />

monovalent atoms such as hydrogen, whose addi4onal degrees of <br />

freedom should be constrained as far as possible or even <br />

eleminated. <br />

• Alterna4vely, molecular pseudopoten4als can be constructed to <br />

saturate the valence of these QM atoms at the MM boundary. <br />

U. Röthlisberger, P. Carloni Drug-Target Binding Investigated by<br />

Quantum Mechanical/Molecular Mechanical (QM/MM) Methods,<br />

Lect. Notes Phys. 704, 449–479 (2006).<br />

MM<br />

QM


QM/MM: CPMD/GROMOS<br />

• Hamiltonian yiels consistent Euler-­‐Lagrange equa4ons for energy-­conserving<br />

MD propaga4on <br />

• QM: CPMD plane wave/pseudopoten4al Kohn-­‐Sham representa4on <br />

• MM: GROMOS simula4on package (including par4cle-­‐par4cle/par4cle-­mesh<br />

(P 3 M) algorithm <br />

• Electrosta4c embedding tailored to study dynamics of complex <br />

biomolecular systems and chemical reac4ons. <br />

• Hierarchical approach to deal with electrosta4c interac4ons in <br />

combina4on with an empirical modifica4on of the short-­‐range terms <br />

that does not require a refit of the MM force field used. <br />

QM −MM<br />

E nb<br />

QM −MM QM −MM<br />

= E es<br />

+ E steric<br />

n(r)<br />

= ∑ q I ∫<br />

r − R I<br />

dr + ∑ ∑ υ vdW<br />

R a<br />

− R I<br />

I ∈MM<br />

I ∈MM α ∈QM<br />

( )<br />

• QM system must be treated as a finite cluster by decoupling it from the <br />

ar4ficial periodic images (e.g. Martyna-­‐Tuckerman decoupling) <br />

A. Laio, J. VandeVondele, U. Röthlisberger J. Chem. Phys. 2002, 116, 6941.


QM/MM: CPMD/GROMOS<br />

• Hamiltonian formula4on from which the addi4onal external <br />

electrosta4c poten4al to be included in the Kohn-­‐Sham Hamiltonian <br />

and the one ac4ng onto the MM atoms as results of the QM charge <br />

distribu4on can be obtained consistently. <br />

• Electrosta4c part is split into short-­‐range and long-­‐range contribu4ons <br />

E es<br />

QM −MM<br />

QM −MM<br />

= E es− sr<br />

∑<br />

QM −MM<br />

+ E es−lr<br />

= q I<br />

n(r)υ I<br />

eff<br />

I ∈NN<br />

∫<br />

(<br />

QM − MM<br />

r − R I )dr + E es−lr<br />

• Short-­‐range: <br />

• only stemming from „nearest-­‐neighbour“ (NN) MM atoms located <br />

within a certain cutoff range around QM atoms. <br />

• Evaluated exactly by summing all grid-­‐point/MM atom <br />

contribu4ons in the NN class explicitly („modified Coulomb <br />

interac4on“). <br />

A. Laio, J. VandeVondele, U. Röthlisberger J. Chem. Phys. 2002, 116, 6941.


QM/MM: CPMD/GROMOS<br />

• Long-­‐range: <br />

• Computed approximately by expanding the charge density of the QM <br />

system in terms of mul4poles up to quadrupolar order: <br />

QM −MM<br />

E es−lr<br />

⎧<br />

⎪ C<br />

= ∑ q I ⎨<br />

R I<br />

− R +<br />

I ∉NN<br />

⎩⎪<br />

+ 1 2<br />

∑<br />

i, j<br />

Q ij<br />

R I<br />

− R 5<br />

• Coefficients C, D i , Q ij are the usual mul4pole moments computed from the <br />

charge density n(r) of the QM subsystem with respect to the geometric <br />

center of the QM system, R = (R 1<br />

, R 2<br />

, R 3<br />

),<br />

where i=1,2,3 are the cartesian <br />

components. <br />

∑<br />

i<br />

• Refinement: third region between the other two: <br />

• Charge density approximately represented by (restraint) electrosta4c <br />

poten4al-­‐based (R/ESP) charges centered on the QM atoms as <br />

obtained from a dynamical fi~ng procedure or taken from the MM <br />

force field used. <br />

A. Laio, J. VandeVondele, U. Röthlisberger J. Chem. Phys. 2002, 116, 6941.<br />

D i<br />

R I<br />

− R 3<br />

( R Ii<br />

− R ) i<br />

( R Ii<br />

− R )( i<br />

R Ij<br />

− R ) j<br />

⎫<br />

⎪<br />

⎬<br />

⎭⎪


QM/MM Input: Electrostatic coupling<br />

Explicit electrostatic interaction<br />

(modified Coulomb interaction)<br />

NN_atoms<br />

a. Charge > 0.1e<br />

Explicit electrostatic<br />

interaction<br />

(NN_atoms)<br />

b. Charge < 0.1e<br />

ESP coupling<br />

Hamiltonian<br />

(EC atoms)<br />

(R)ESP<br />

coupling<br />

Hamiltonian<br />

(EC atoms)<br />

If LONG-RANGE<br />

Interaction with a<br />

multipole expansion<br />

for the QM<br />

system up to quadrupolar<br />

order<br />

(file MULTIPOLE)<br />

If not:<br />

Coupling in the EC<br />

area via force-field<br />

charges.<br />

RCUT_NN<br />

RCUT_MIX RCUT_ESP


QM/MM: CPMD/GROMOS<br />

• Forces <br />

• Deriva4ve of the QM-­‐MM Hamiltonian with respect to nuclear posi4ons. <br />

• Addi4onal poten4al in the Kohn-­‐Sham Hamiltonian due to the QM-­‐MM <br />

interac4on is obtained by taking the analy4cal func4onal deriva4ve of the <br />

electrosta4c contribu4on with respect to the charge density n(r). <br />

• Bonded term <br />

• Included when covalent bonds are cut <br />

• Intramolecular link atom <br />

• hydrogen atom <br />

• empirically modified monovalent link atom based on a carbon <br />

pseudopoten4al <br />

• Included as parameterized in the MM force field considering the posi4ons <br />

of the carbon nuclei that are replaced by pseudopoten4als like MM sites. <br />

• Efficiency <br />

• Computa4onal overhead of MM part and QM-­‐MM interac4on about <br />

10-­‐30% compared to pure QM calcula4on. <br />

• Bobleneck: short-­‐range electrosta4c contribu4on <br />

A. Laio, J. VandeVondele, U. Röthlisberger J. Chem. Phys. 2002, 116, 6941.


QM/MM : Procedure<br />

• Start from classically equilibrated system <br />

• Re-­‐equilibrate the system with the QM/MM method <br />

– Actually the system should be first reop4mized <br />

– However, none of the op4mizers work together with the QM/<br />

MM interface <br />

– Therefore, use simulated annealing to find a minimum <br />

structure. <br />

• High ini4al temperature, e.g. 2000-­‐3000 K <br />

• During the MD run, the temperature is slowly reduced <br />

• Ini4ally the system is allowed to move over a large area, but as the temperature <br />

is decreased, it becomes trapped in a minimum <br />

• For infinitely slow cooling the system will find the global minimum, in prac4ce, <br />

however, only the local area is sampled.


QM/MM Input: Classical Input File<br />

TITLE<br />

input generated by QMMM interface<br />

END<br />

SYSTEM<br />

NPM: Number of (iden4cal) solute molecules <br />

1 1178<br />

NSM: Number of (iden4cal) solvent molecules <br />

END<br />

START<br />

(does not imply assignment to QM or MM part) <br />

1 1 210185 300.0 0.00000 1 8.31441E-3<br />

END<br />

STEP<br />

10 0.0 0.002<br />

END<br />

BOUNDARY<br />

1 3.324619890 3.264801930 3.303243240 90.0 0<br />

END<br />

SUBMOLECULES<br />

1 10<br />

END<br />

TCOUPLE<br />

0 300.0 0.100<br />

0 300.0 0.100<br />

0 300.0 0.100<br />

END<br />

CENTREOFMASS<br />

0 0 1000000<br />

END<br />

– gromos_mod.inp<br />

• not all keywords are actually ac4ve <br />

in QM/MM simula4ons <br />

BOUNDARY: Classical simula4on cell: <br />

1. Type of boundary condi4on: <br />

(1=rectangular, 0=vacuum,


QM/MM Input<br />

– gromos_mod.inp<br />

PRINT<br />

20 100 0<br />

END<br />

SHAKE<br />

1 0.00010<br />

END<br />

FORCE<br />

1 1 1 1 1 1 1 1 1 1 2 10 3544<br />

END<br />

PLIST<br />

Number of MD steps between prin4ng <br />

energies to the CPMD output <br />

FORCE: Controls force components and par44oning <br />

of the resul4ng energies: <br />

1. Group: 1/0 flags turn various force components on/off. <br />

2. Group: defines energy groups (number of groups / index <br />

number of the last atom in each group) <br />

(last number = number of all atoms) <br />

1 10 1.000000000000000 1.000000000000000<br />

END<br />

LONGRANGE<br />

50.0 0.0 0.7E10<br />

END<br />

POSREST<br />

0 2.5E4 1<br />

END<br />

LATSUM<br />

2 32 32 32 0 0.80000 1.33 100000<br />

END<br />

• Number of layers <br />

(usually 2, solute+solv.) <br />

• Index last atom layer 1 <br />

• Index last atom layer 2


QM/MM Input: Classical Topology File<br />

# GROMOS TOPOLOGY FILE<br />

# WRTOPO version:<br />

# $Id: wrtopo.f,v 1.19 1996/10/18 14:49:29 wscott Exp $<br />

#<br />

TITLE<br />

ACET<br />

END<br />

...<br />

ATOMTYPENAME<br />

# NRATT: number of van der Waals atom types<br />

6<br />

# TYPE: atom type names<br />

O<br />

C<br />

CT<br />

HC<br />

OW<br />

HW<br />

END<br />

RESNAME<br />

Atom type names from the <br />

AMBER force field library <br />

# NRAA2: number of residues in a solute molecule<br />

1<br />

# AANM: residue names<br />

CET<br />

END<br />

– gromos_mod.top<br />

NRATT: Number of classical atom types <br />

# <br />

atom type labels <br />

...


QM/MM Input: Classical Topology File<br />

SOLUTEATOM<br />

# NRP: number of solute atoms<br />

10<br />

# ATNM: atom number # MRES: residue number<br />

# PANM: atom name of solute atom # IAC: integer (van-der-Waals) atom type code<br />

# MASS: mass of solute atom # CG: charge of solute atom<br />

# CGC: charge group code (0/1) # INE: number of excluded atoms<br />

# INE14: number of 1-4 interactions<br />

#ATNM MRES PANM IAC MASS CG CGC INE<br />

# INE14<br />

1 1 O1 1 16.00000 -0.49562 0 3 2 3 7<br />

6 4 5 6 8 9 10<br />

...<br />

END<br />

BONDTYPE<br />

# NBTY: number of covalent bond types<br />

5<br />

# CB: force constant<br />

# B0: bond length at minimum energy<br />

# CB B0<br />

0.1839625E+08 0.1214000<br />

0.6040319E+07 0.1508000<br />

0.1183485E+08 0.1092000<br />

0.2525291E+08 0.0957200<br />

0.1009938E+08 0.1513600<br />

END<br />

C=O <br />

C-­‐C <br />

C-­‐H <br />

O-­‐H <br />

C-­‐C ? <br />

– gromos_mod.top <br />

List of parameters for bonded interac4ons


QM/MM Input: Classical Topology File<br />

...<br />

SOLVENTATOM<br />

# NRAM: number of atoms per solvent molecule<br />

3<br />

# I: solvent atom sequence number<br />

# IACS: integer (van der Waals) atom type code<br />

# ANMS: atom name of solvent atom<br />

# MASS: mass of solvent atom<br />

# CGS: charge of solvent atom<br />

# I ANMS IACS MASS CGS<br />

1 O 5 16.00000 -0.83400<br />

2 H1 6 1.00800 0.41700<br />

3 H2 6 1.00800 0.41700<br />

END<br />

SOLVENTCONSTR<br />

# NCONS: number of constraints to keep the solvent rigid <br />

3<br />

# ICONS, JCONS: atom sequence numbers forming constraint<br />

# CONS constraint length<br />

#ICONS JCONS<br />

CONS<br />

2 1 0.0957200<br />

3 1 0.0957200<br />

3 2 0.1513600END<br />

# end of topology file<br />

– gromos_mod.top


QM/MM Input: QM Part - CPMD Input<br />

– Type of CPMD job: QM/MM <br />

– New &QMMM sec4on <br />

– QM atoms are specified as usual in the &ATOM sec4on <br />

• instead of coordinates atom indicees as given in the GROMOS topology and <br />

coordinate files have to be provided. <br />

– Syntax for rectangular box size: A B/A C/A 0 0 0 <br />

– QM part is treated as isolated system <br />

• i.e. without explicit PBC, because it is surrounded by the MM environment <br />

(SYMMETRY: ISOLATED SYSTEM) <br />

• in fact, the calcula4on is s4ll done in a periodic cell (plane wave basis set is used) <br />

• Treat long-­‐range interac4ons <br />

(&SYTEM: POISSON SOLVER) <br />

&CPMD<br />

...<br />

QMMM<br />

...<br />

&END<br />

• Decoupling of the electrosta4c images in the Poisson solver equa4on requires to <br />

increase the box size over the dimension of the molecule (typical value: 3.5 Å)


QM/MM Input: QM Part - CPMD Input<br />

&QMMM<br />

TOPOLOGY<br />

gromos_mod.top GROMOS topology file <br />

COORDINATES<br />

gromos.g96<br />

INPUT<br />

gromos_mod.inp GROMOS input file <br />

ELECTROSTATIC COUPLING LONG RANGE<br />

RCUT_NN<br />

10<br />

RCUT_MIX<br />

15<br />

RCUT_ESP<br />

20<br />

UPDATE LIST<br />

100<br />

SAMPLE_INTERACTING<br />

0<br />

AMBERARRAYSIZES<br />

MAXATT 16<br />

MAXAA2 11<br />

MAXNRP 20<br />

MAXNBT 15<br />

MAXBNH 16<br />

MAXBON 13<br />

MAXTTY 14<br />

RCUT values <br />

in a.u. <br />

MXQHEH 22<br />

MAXTH 13<br />

MAXQTY 10<br />

MAXHIH 10<br />

MAXQHI 10<br />

MAXPTY 14<br />

MXPHIH 28<br />

GROMOS coordinate file (GROMOS96 format) <br />

update of various <br />

atom lists <br />

– annealing.int <br />

Electrosta4c coupling: QM -­‐ MM interac4on explicitly (NN atoms) <br />

• for r ≤ RCUT_NN from any QM atom <br />

• for RCUT_NN < r ≤ RCUT_MIX and charge > 0.1 e <br />

ESP coupling Hamiltonian (EC atoms) <br />

• for RCUT_NN < r ≤ RCUT_MIX and charge < 0.1 e <br />

• for RCUT_MIX < r ≤ RCUT_ESP <br />

If LONG RANGE: QM -­‐ MM interac4on by mul4pole expansion <br />

• for QM system with the rest of MM atoms up to quadrupoles <br />

Else <br />

• coupling of the rest of MM atoms via force field charges <br />

MXPHIH 28<br />

MAXPHI 11<br />

MAXCAG 11<br />

MAXAEX 20024<br />

MXEX14 22<br />

END<br />

ARRAYSIZES<br />

&END


QM/MM Input: QM Part - CPMD Input<br />

&CPMD<br />

QMMM<br />

MOLECULAR DYNAMICS CP<br />

ISOLATED MOLECULE<br />

QUENCH BO<br />

ANNEALING IONS<br />

0.99<br />

TEMPERATURE<br />

300<br />

EMASS<br />

600.<br />

TIMESTEP<br />

5.0<br />

MAXSTEP<br />

10000<br />

TRAJECTORY SAMPLE<br />

0<br />

STORE<br />

100<br />

RESTFILE<br />

1<br />

&END<br />

Calculate the ionic temperature assuming an isolated molecule of cluster <br />

(does not invoke the cluster op4on SYMMETRY 0) <br />

QUENCH: veloci4es of ions, wavefunc4ons and the cell are ini4ally set to zero. <br />

BO: converge the wave func4on in the beginning of the MD run <br />

Simulated annealing: <br />

veloci4es are mul4plied by 0.99 in every step, i.e. 1% of the kine4c energy is removed. <br />

Ini4al temperature: choosen to be the temperature from the classical equilibra4on <br />

Fic44ous electron mass: tests should verify that adia4city condi4ons are met <br />

(allows to tune, together with TIMESTEP (here ≈ 1.2 fs), the decoupling of <br />

electronic and ionic degrees of freedom). <br />

Print op4on: 0 = no trajectory is wriben. <br />

Print op4on: the RESTART file is updated every 100 steps. <br />

Number of RESTART files that are wriben in turn


QM/MM Input: QM Part - CPMD Input<br />

&SYSTEM<br />

POISSON SOLVER TUCKERMAN<br />

SYMMETRY<br />

0<br />

CELL 18.61 1.11 0.95 0 0 0<br />

CUTOFF<br />

70.<br />

CHARGE<br />

0.0<br />

&END<br />

&ATOMS<br />

*H_MT_BLYP.psp KLEINMAN-BYLANDER<br />

LMAX=S<br />

6<br />

4 5 6 8 9 10<br />

...<br />

&END<br />

&DFT<br />

FUNCTIONAL BLYP<br />

&END<br />

Plane wave cutoff <br />

Cell size in a.u. (1 bohr = 1 a 0<br />

= 0.529 Å ) <br />

a b/a c/a cos cos cos <br />

Procedure to determine box size: <br />

• get QM coordinates from gromos.g96 (label CET, in nm) <br />

• sort according to increasing x value <br />

• calculate the difference between the smallest and <br />

the largest one <br />

• add 2•3.5 Å for the Poisson‘s solver requirements <br />

• convert to atomic units <br />

6 H atoms with numbers: 4,5,6,8,9,10


QM/MM Output: Simulated Annealing<br />

• Output files <br />

– QMMM_ORDER: <br />

– CRD_INI.g96 / CRD_FIN.g96 <br />

# Total number of atoms Number of QM atoms <br />

# NRTOT = 3544 NATq = 10<br />

#<br />

#__GROMOS_____CPMD_______is_______ia___SYMBOL_<br />

4 1 1 1 H<br />

5 2 1 2 H<br />

...<br />

GROMOS no. / CPMD no. / CP species no. / no. in the list <br />

of atoms for this <br />

(QM atoms come first) <br />

species <br />

• Ini4al and final coordinate files in GROMOS96 extended format. <br />

– interacting.pdb / interacting_new.pdb<br />

• Contains all QM and MM atoms in the electrosta4c coupling NN list (non-­standard<br />

PDB format). <br />

ATOM 1 O QUA 2 3.501 5.134 5.831 0.00 10<br />

ATOM 2 C QUA 2 4.350 5.448 5.058 0.00 7<br />

ATOM 3 C QUA 2 5.419 4.483 4.605 0.00 8<br />

ATOM 4 H QUA 2 5.066 3.511 4.957 0.00 1<br />

...<br />

QM atom <br />

label <br />

GROMOS atom <br />

number <br />

CP atom number as <br />

in the trajectory file


QM/MM Output: Simulated Annealing<br />

• Output files <br />

– MM_CELL_TRANS <br />

• cell shi‚ vectors for every frame of the trajectory (NFI, 1 st column) <br />

(The QM system is always re-­‐centered) <br />

– ENERGIES: contains all energies of the trajectory <br />

• annealing.out <br />

...<br />

FICTITIOUS ELECTRON MASS: 600.0000<br />

TIME STEP FOR ELECTRONS: 5.0000<br />

TIME STEP FOR IONS: 5.0000<br />

QUENCH SYSTEM TO THE BORN-OPPENHEIMER SURFACE<br />

SIMULATED ANNEALING OF IONS WITH ANNERI = 0.990000<br />

ELECTRON DYNAMICS: THE TEMPERATURE IS NOT CONTROLLED<br />

ION DYNAMICS: THE TEMPERATURE IS NOT CONTROLLED<br />

Isolated system <br />

NVE = const. <br />

INITIAL VELOCITIES ARE<br />

TAKEN FROM A MAXWELLIAN<br />

DISTRIBUTION WITH<br />

TEMPERATURE TEMPI<br />

Frac4on of molecules <br />

with speed v (in ‰) <br />

speed v <br />

(m/s)


QM/MM Output: Simulated Annealing<br />

• annealing.out <br />

– charge compensa4on <br />

– MD energies <br />

!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!!<br />

THE QM SYSTEM DOES NOT HAVE AN INTEGER CHARGE.<br />

A COMPENSATING CHARGE OF 0.000040 HAS BEEN<br />

DISTRIBUTED OVER THE NN ATOMS. prac4cally = 0 <br />

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />

NFI EKINC TEMPP EKS ECLASSIC EHAM EQM DIS TCPU<br />

1 0.00006 297.0 -54.34715 -51.01094 -51.01088 -36.46342 0.218E-04 1.53<br />

2 0.00056 293.9 -54.34671 -51.04477 -51.04421 -36.46309 0.863E-04 1.54<br />

...<br />

1572 0.00071 3.8 -57.65444 -57.61126 -57.61055 -36.47961 0.421E+00 1.55<br />

1573 0.00071 3.8 -57.65484 -57.61169 -57.61098 -36.47961 0.421E+00 1.60<br />

• NFI Step number („number of finite itera4ons“ <br />

• EKINC Fic44ous kine4c energy of the electrons <br />

(should oscillate but not increase during a simula4on) <br />

• TEMPP Temperature for atoms („ions“) = „EKIONS /degrees of freedom“ <br />

• EKS Kohn-­‐Sham energy (equivalent to poten4al energy in classical MD) <br />

• ECLASSIC Total energy in classical MD, but not the conserved quan4ty for CP <br />

dynamics (EKIONS + EKS) <br />

• EHAM Energy of the total CP Hamiltonian (conserved; ECLASSIC + EKINC) <br />

(depending on 4me step and electron mass this quan4ty might <br />

oscillate, but should not dri‚) <br />

• EQM Energy of QM part (contribu4ons from electrons and nuclei) <br />

• DIS Mean squared displacement of the atoms wrt ini4al coordinates <br />

(provides informa4on of diffusion)


Car-Parrinello Lagrangian<br />

L = T −V<br />

L CP<br />

=<br />

T<br />

I<br />

EKINC (T e )<br />

<br />

1<br />

2 M ˙<br />

I<br />

R 2 I<br />

+ ∑ µ ˙ φ ˙<br />

i<br />

φ i<br />

<br />

i<br />

<br />

∑<br />

I<br />

kinetic energy (nuclei + electrons/orbitals)<br />

EKS (V e )<br />

<br />

− Ψ ˆ<br />

0<br />

H e<br />

Ψ<br />

<br />

+ constraints<br />

0 <br />

potential energy<br />

orthonormality<br />

• EKINC = T e <br />

• TEMPP = 2 / (n degrees of freedom k) with k=1.38×10 -­‐23 J/K, Boltzman const. <br />

• EKS = V e (Kohn-­‐Sham energy = E pot ) <br />

• ECLASSIC = E phys = T I + V e = E conserved – T e = EHAM – EKINC <br />

• EHAM = T I + T e + V e = E conserved = EHAM = ECLASSIC + EKINC <br />

(constant of mo4on)


QM/MM Output: Simulated Annealing<br />

• annealing.out (con4nued) <br />

– averages and root mean squared devia4ons <br />

• useful to detect unwanted energy dri‚s or too large fluctua4ons <br />

****************************************************************<br />

* AVERAGED QUANTITIES *<br />

****************************************************************<br />

MEAN VALUE +/- RMS DEVIATION<br />

[-^2]**(1/2)<br />

ELECTRON KINETIC ENERGY 0.000867 0.300539E-03<br />

IONIC TEMPERATURE 37.2640 52.8318<br />

DENSITY FUNCTIONAL ENERGY -56.788301 0.907159<br />

CLASSICAL ENERGY -56.369667 1.48329<br />

CONSERVED ENERGY -56.368800 1.48357<br />

NOSE ENERGY ELECTRONS 0.000000 0.00000<br />

NOSE ENERGY IONS 0.000000 0.00000<br />

CONSTRAINTS ENERGY 0.000000 0.00000<br />

RESTRAINTS ENERGY 0.000000 0.00000<br />

ION DISPLACEMENT 0.306287 0.932230E-01<br />

CPU TIME 1.5641


QM/MM Output: Simulated Annealing<br />

• annealing.out (con4nued) <br />

– final energies <br />

****************************************************************<br />

ELECTRONIC GRADIENT:<br />

MAX. COMPONENT = 1.11491E-03 NORM = 1.23088E-04<br />

TOTAL INTEGRATED ELECTRONIC DENSITY<br />

IN G-SPACE = 24.000000<br />

IN R-SPACE = 24.000000<br />

(K+E1+L+N+X+Q+M) TOTAL ENERGY = -57.65483705 A.U.<br />

(K+E1+L+N+X) TOTAL QM ENERGY = -36.47961427 A.U.<br />

(Q) TOTAL QM/MM ENERGY = 0.00000000 A.U.<br />

(M) TOTAL MM ENERGY = -21.15838639 A.U.<br />

DIFFERENCE = -0.01683640 A.U.<br />

(K) KINETIC ENERGY = 27.71417532 A.U.<br />

(E1=A-S+R) ELECTROSTATIC ENERGY = -27.62253859 A.U.<br />

(S) ESELF = 29.92067103 A.U.<br />

(R) ESR = 1.68735525 A.U.<br />

(L) LOCAL PSEUDOPOTENTIAL ENERGY = -29.40960654 A.U.<br />

(N) N-L PSEUDOPOTENTIAL ENERGY = 3.57453859 A.U.<br />

(X) EXCHANGE-CORRELATION ENERGY = -10.73618306 A.U.<br />

GRADIENT CORRECTION ENERGY =<br />

-0.58308674 A.U.<br />

****************************************************************


QM/MM Output: Simulated Annealing


QM/MM Output: Simulated Annealing<br />

9-1_annealing_<br />

INTERACTING_NEW.pdb<br />

9-1_annealing_CRD_FIN.pdb


QM/MM: Test<br />

– Verify that the reached configura4on is physically reasonable <br />

by running a NVE simula4on and <br />

• monitor the temperature (TEMPP) <br />

• the physical energy ECLASSIC <br />

• both should stabilize a‚er some steps, usually oscilla4ng around a temperature <br />

smaller than 100 K. <br />

• If energy and/or temperature increase con4nuously, the structure is not good <br />

and another annealing procedure from a different star4ng point is needed, e.g. <br />

from a point a‚er hea4ng the system at 300 K to move it away from the „wrong“ <br />

local minimum.<br />

&CPMD<br />

QMMM<br />

MOLECULAR DYNAMICS CP<br />

ISOLATED MOLECULE<br />

RESTART COORDINATES VELOCITIES WAVEFUNCTION<br />

EMASS<br />

600.<br />

TIMESTEP<br />

5.0<br />

MAXSTEP<br />

3000<br />

TRAJECTORY SAMPLE<br />

0<br />

&END


QM/MM: Test<br />

– Result: temperature and energy


QM/MM: Heating<br />

– Hea4ng of the system up to room temperature <br />

– The system is coupled to a thermostat <br />

• e.g. Berendsen-­‐type thermostat <br />

(gentler than the TEMPCONTROL mechanism („scaling“) to thermalize a system, <br />

but not usable for produc4on runs as the Berendsen scheme does not represent <br />

any defined sta4s4cal ensemble (use Nose-­‐Hoover instead)).<br />

&CPMD<br />

QMMM<br />

RESTART COORDINATES VELOCITIES WAVEFUNCTION<br />

MOLECULAR DYNAMICS CP<br />

ISOLATED MOLECULE<br />

BERENDSEN IONS<br />

3.8 1000<br />

TEMPERATURE RAMP<br />

3.8 340.0 1<br />

EMASS<br />

600.<br />

TIMESTEP<br />

5.0<br />

MAXSTEP<br />

3000<br />

TRAJECTORY SAMPLE<br />

0<br />

&END<br />

target temperature (here ini4al temperature 3.8K) <br />

4me constant in a.u (1000•0.0241 fs • 5.0 (TIMESTEP) ≈ 0.12 ps) <br />

ini4al temperature <br />

target temperature <br />

ramping speed <br />

= 3.8 K (result of annealing procedure) <br />

= 340 K <br />

= 1 (K / atomic 4me unit) <br />

(• TIMESTEP = K / 4me step) <br />

(ramping affects the target temperature for TEMPCONTROL, BERENDSEN<br />

and NOSE thermostats.)


QM/MM: Heating<br />

– Hea4ng of the system up to room temperature


QM/MM: Production<br />

• QM/MM-­‐CPMD at room temperature <br />

– restart from previous wave func4on, coordinates and <br />

veloci4es, the laber conserves the final temperature from <br />

previous run. <br />

– Nosé-­‐Hoover chains thermostat <br />

• preserves Maxwell velocity distribu4on <br />

• provides a NVT ensemble for a system in equilibrium <br />

&CPMD<br />

QMMM<br />

MOLECULAR DYNAMICS CP<br />

RESTART WAVEFUNCTION COORDINATES VELOCITIES<br />

ISOLATED MOLECULE<br />

QUENCH BO<br />

NOSE IONS<br />

300 4000<br />

EMASS<br />

600.<br />

TIMESTEP<br />

5.0<br />

MAXSTEP<br />

10000<br />

≈ 1.2 ps <br />

target temperature (in K) <br />

thermostat frequency (in cm -­‐1 ) <br />

• should be different from any <br />

resonance frequency, e.g. <br />

νCH ≈ 3000 cm -­‐1 <br />

νOH (H-­‐bonded) ≈ 3200-­‐3400 cm -­‐1 <br />

TRAJECTORY SAMPLE<br />

100<br />

STORE<br />

1000<br />

RESTFILE<br />

10<br />

&END<br />

save restart file every 1000 steps <br />

number of restart files to save, <br />

at which the dipole moment <br />

will be calculated


QM/MM: Production<br />

• QM/MM-­‐CPMD at room temperature


QM/MM Output: Production run<br />

9-4_production_<br />

INTERACTING_NEW.pdb<br />

9-4_production_CRD_FIN.pdb


QM/MM: Dipole Moment Calculation<br />

– The dipole moment is calculated at each of the 10 snapshots <br />

saved in the restart files <br />

– take the mean value to es4mate temperature and entropy <br />

effects due to the water environment <br />

&CPMD<br />

QMMM<br />

RESTART WAVEFUNCTION COORDINATES LATEST<br />

PROPERTIES<br />

RESTFILE<br />

0<br />

&END<br />

&PROP<br />

DIPOLE MOMENT<br />

&END<br />

Do not save restart files <br />

Restart file given in LATEST is used <br />

(edit LATEST for each calcula4on) <br />

Result: <br />

CALCULATE DIPOLE MOMENT<br />

****************************************************************<br />

* PROPERTY CALCULATIONS *<br />

****************************************************************<br />

RESTART INFORMATION READ ON FILE<br />

./RESTART.1<br />

*** PHFAC| SIZE OF THE PROGRAM IS 98340/ 293224 kBYTES ***<br />

CENTER OF INTEGRATION (CORE CHARGE): 9.07529 10.34847 9.71750<br />

DIPOLE MOMENT X Y Z TOTAL<br />

1.59842 -0.15788 -0.66958 1.74017 atomic units<br />

4.06277 -0.40128 -1.70190 4.42307 Debye


QM/MM: Dipole Moment Calculation<br />

• Analysis <br />

– take the mean value to es4mate temperature and entropy <br />

effects due to the water environment <br />

– Dipole moment in water at 300 K: 4.50978 D <br />

– Dipole moment in the gas phase at 0 K: 3.08990 D <br />

– The dipole moment increases due to the water enviroment and <br />

temperature effect. <br />

• geometry varia4on with respect to the gas phase (temperature effect) <br />

• different polariza4on of the electronic wave func4on


QM/MM: Dipole Moment Calculation<br />

• Analysis <br />

– take the mean value to es4mate temperature and entropy <br />

effects due to the water environment <br />

– Dipole moment in water at 300 K: 4.50978 D <br />

– Dipole moment in the gas phase at 0 K: 3.08990 D <br />

– The dipole moment increases due to the water enviroment and <br />

temperature effect. <br />

• geometry varia4on with respect to the gas phase (temperature effect) <br />

• different polariza4on of the electronic wave func4on <br />

CPMD <br />

gas phase opt <br />

T = 0 K <br />

QMMM <br />

in water <br />

T = 300 K


QM/MM: Dipole Moment Calculation<br />

• Dipole – dipole interac4ons of acetone and water <br />

• hydrogen bonding

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!