C687: Lecture 3

Energy Minimization and Molecular Dynamics

Feb. 15, 1999

Instructor: Marty Pagel


Outline of this lecture

  1. Forcefields (15 minutes)
  2. Electrostatics (10 minutes)
  3. Minimization (20 minutes)
  4. Quantum Mechanical Methods (5 minutes)
  5. 10-minute break
  6. Conformational Analyses
    1. Systematic Searches (5 minutes)
    2. Monte Carlo Methods (5 minutes)
    3. Molecular Dynamics (15 minutes)
  7. Free Energy Peturbation Methods (5 minutes)
Optional material appears in gray boxes.


Forcefields

Description of the Classical (Newtonian) Forcefield:

Morse vs Harmonic Bond term:

Torsion Angle Term:

Gauche-Anti Isomerization of Butane

Dynamics at 300K

Dynamics at 900K

Scaling of nonbond terms:

Forcefield Parameters

  1. A parameter should be adjusted so that the simulated system reproduces properties of the real system. It does NOT have to equal a microscopic descriptor.
  2. As yet, there is no universal forcefield.
    Parameters for particular forcefields can only be used to study particular molecules.
  3. Forcefield parameters must be cohesive---modelers can't just "plug & play" new parameters without testing
  4. Forcefield parameters must be referenced

Types of Forcefields

Force
Field
Energy Term
Torsion Bond (1) Angle Planar (2) Bond-Angle Angle-Torsion-Angle Angle-Angle Torsion-Bond Bond-Bond Torsion-Angle Torsion-Torsion Tor-Planar Planar-Torsion-Planar Planar-Planar Urey Bradley VDW (3) Electrostatics (4) H-Bond (3) S-S Bond Formation
MM1
X
H
X

X
X









B



MM2
X
H
X
X
X










B
C-C,D-D


MM3
X
H
X
X
X

X
X







B
C-C,D-D


MM4
X
H
X
X
X
X
X
X
X
X
X
X
X


B
C-C,D-D


MMX
X
H
X
X
X










B
C-C,D-D
X

UBCFF
X
H
X


X








X
LJ6-12



CFF73
X
H
X
X
X
X
X

X




X

LJ6-9



Lyngby CFF94
X
M
X
X











LJ6-9 or LJ6-12
C-C


QMFF
X
H
X

X
X
X
X
X
X





LJ6-9
C-C


CVFF
X
H,M
X
X
X
X
X
X
X
X





LJ6-12
C-C


CFF91
X
H,M
X
X
X
X
X
X
X
X





LJ6-12
C-C


CFF93
X
H,M
X
X
X
X
X
X
X
X





LJ6-12
C-C


CFF95
X
H,M
X
X
X
X
X
X
X
X





LJ6-12
C-C


CFF95
X
H,M
X
X
X
X
X
X
X
X





LJ6-12
C-C,D-D


AMBER
X
H
X












LJ6-12
C-C
LJ10-12

AMBER95
X
H
X












LJ6-12
C-C


CHARMM
X
H
X
X











LJ6-12
C-C
LJ10-12

CHARMM95
X
H
X
X










X
LJ6-12
C-C
LJ10-12

TRIPOS
X
H
X
X











LJ6-12
C-C


MMFF94
X
H
X
X
X










Buffered LJ-like 7-14
Buffered C-C
X

OPLS
X
H
X












LJ6-12
C-C


AMBER-OPLS
X
H
X












LJ6-12
C-C


Dreiding
X
H,M
X
X











B or LJ6-12
C-C
LJ6-10

UFF
X
H,M
X
X











LJ6-12
C-C


EFF
X
H
X

X
X
X
X
X
X





B



EFF
X
H
X
X











LJ6-12
C-C


SCULPT
X














LJ6-12
C-C


YETI
X














LJ6-12
C-C
LJ10-12

ECEPP & UNICEPP
X














LJ6-12
C-C
LJ10-12
X
  1. H = harmonic term; M = Morse term
  2. also known as Out-Of-Plane or Improper Dihedral Angle term
  3. B = Buckingham-like term
    LJ6-9 = Lennard-Jones 6-9 term
    LJ6-12 = Lennard-Jones 6-12 term
    LJ10-12 = Lennard-Jones 10-12 term
    LJ-like 7-14 = Lennard-Jones 7-14 term with switching function at large distances
  4. C-C: Coulombic charge-charge electrostatic term
    D-D: Dipole-Dipole electrostatic term

    Comparison of Force Field Accuracies

Periodic Boundary Conditions

Minimum Image Model:

Explicit Image Model:


Electrostatics

The Non-bond Cutoff Method

Non-bond interactions dominate calulcation time:

Example of a Cutoff Function:

Calculations may require a very long cutoff to retain accuracy:

Cell Multipole Method

The electrostatic potential felt by atom imay be divided into a near-field potential due to the surrounding atoms (those within a few angstroms) and a far-field potential due to the rest of the atoms that interact with the ith atom. The potential associated with each basic cell can be represented as a general potential originating at the center of the cell.

Ewald Sum Method

Works for periodic systems with electrostatic fields that approximate a decaying sinusoid. Fourier transform of the decaying sinusoid = net sum of all electrostatic effects.

Constraints


Minimization

Steepest Decents Algorithm:

Conjugate Gradients Algorithm:

Newton-Raphson Method
Approximate Newton Raphson Methods: Diagonalize the Hessian Matrix:

Rules for selecting Minimization Algorithms
When Derivative > 10 Use the Steepest Decents Algorithm
When Derivative < 10 For systems < 200 atoms, use the Newton Raphson Algorithm
For systems > 200 atoms, use the Conjugate Gradients Algorithm

What is a Minimum?

A typical protocol for biomolecular Energy Minimization:
  1. fix heavy atoms, minimize
  2. tether heavy atoms, minimize
  3. fix heavy atoms of structurally conserved regions, minimize
  4. tether heavy atoms of structurally conserved regions, minimize
  5. fix backbone of structurally conserved regions, minimize
  6. tether backbone of structurally conserved regions, minimize
  7. remove all constraints, minimize

For details about performing minimizations, see the MolViz Discover Minimization Notes.

For an example of the Discover Minimization input, see this Example Input file.

For an example of the Discover Minimization output (with NO convergence), see this Example Output file (no convergence).

For an example of the Discover Minimization output (with convergence), see this Example Output file (with convergence).


Quantum Mechanical Methods

Quantum Mechanical Methods must be used for applications that are beyond the capability of classical methods:

Ab Initio Methods: Ab Initio methods are easier than you think! See the Gaussian 92 Example for more details.

  • No empirical (experimental) information is needed. Best for types of molecules with little experimental information.
  • Must choose appropriate basis set (set of atomic orbitals necessary to accommodate all electrons of the atoms in the ground state). Polarization effects, electron delocalization hyperconjugate effects, D orbitals require higher-order basis sets.
  • Results should always be evaluated.
  • Higher-order basis sets require more computational cost.

Semi-empirical methods: Semi-Empirical methods are easier than you think! See the Mopac 93 geometry optimization input file and the Mopac 93 geometry optimization output file for more details.
For more information about Mopac, see also the Mopac application notes and notes about How to use Mopac with PCMODEL.
  • Usually considers only valence electrons.
  • substitutes empirical parameters for some integrals.
  • Faster than Ab Initio methods by several orders of magnitude.
  • Results should always be carefully evaluated.

Hybrid QM/MM Methods:
Treat "active site" as QM system, with surrounding "medium" as MM force at "active site"/"medium" boundary.
QM system usually evaluated by semi-empirical methods.
Works well only if energy of "active site" is not insubstantially dependent on "medium".

Recently, a hybrid Ab Initio/semi-empirical/MM methods has been applied to systems with metals.


Conformational Analyses:
Systematic Searches

Can get unweildy with even a moderate number of degrees of freedom
Can limit systematic searches by:

Rigid Rotor technique: no mimimization after each rotation. OK for finding geometries with energy minima. Terrible for measuring rotational energy barriers.

Dihedral Driver technique: minimization after each rotation; may have to "drive" from different directions.
Good for measuring rotational energy barriers.


Conformational Analyses:
Monte Carlo Searches

Example of a Random Monte Carlo algorithm:
  1. move atomic coordinates in a random direction.
  2. minimize the structure.
  3. If the conformation's absolute energy is below a pre-set energy threshold, save the results.
  4. Return to the first step and repeat.

Example of a Metropolis Monte Carlo algorithm (a.k.a. Boltzmann-Weighted Monte Carlo algorithm or Weighted Monte Carlo algorithm):

  1. Set the "temperature of the system" (e.g., 500K).
  2. Evaluate the energy of the current conformation.
  3. Move atomic coordinates in a random direction.
  4. Evaluate the energy of the new conformation.
  5.  
  6. Return to step 2. Repeat steps 2-5 thousands of times.
  7. Lower the temperature of the system by a small increment (e.g., 1 K).
  8. Return to step 2. Repeat steps 2-6 hundreds of times, until the temperature of the system is near 1 K.
The Metropolis Monte Carlo algorithm performs an "annealing": At high temperatures, almost all new conformations are "accepted". As the system is slowly cooled, more new conformations are "rejected". At low temperatures, almost all new conformations are "rejected".

Monte Carlo methods require very long samplings.
To prove that the MC search has sampled sufficiently long enough, start from different starting points: if each run gives the same result, the caluclation has converged on the same ensemble.
Monte Carlo methods are the best techniques for ring systems.


Conformational Analyses:
Molecular Dynamics

Assign random velocities to each atom corresponding to Maxwell-Boltmann Distribution.
Calculate new atomic positions from velocities & timestep.

Dynamics Timestep

Must use small timestep to avoid errors.

The RATTLE method:

Hold bond lengths fixed, use a 3fsec timestep, with 1e-5 bond length tolerance.
Angles can also be fixed, but there is little improvement in computation speed.

Relation of standard deviation in total energy and the CPU time per step with and without RATTLE:

            No RATTLE                    RATTLE
            ---------        ------------------------------------
                              tol. = 1e-7          tol. = 1e-5
                             ----------------    ----------------
Timestep  SDV     Time/step   SDV   Time/step    SDV     Time/Step
 (fs)  (kcal mol-1) (sec)    (kcal mol-1) (sec)  (kcal mol-1)  (sec)

 0.5     0.740    0.889      0.058   0.971      0.058     0.937
 1.0     2.941    0.893      0.232   0.985      0.232     0.944
 1.5     6.352    0.884      0.525   0.988      0.526     0.953
 2.0     9.832    0.886      0.939   0.993      0.939     0.957
 2.5    10.217    0.887      1.494   0.998      1.494     0.967
 3.0            crashed      2.224   1.004      2.224     0.961
 3.5                         3.239   1.008      3.239     0.966
 4.0                         4.859   1.006      4.858     0.967
 4.5                         6.821   1.011      6.820     0.970
 5.0                        11.126   1.012     11.125     0.973
 5.5                           crashed             crashed

(``tol'' = tolerance) 

Simulated Annealing

See the comparison of Molecular Dynamics and Simulated Annealing.
For simulated annealing, cool slowly, cool with as many temperature decrements as possible.
For details about performing Molecular Dynamics, see the Molecular Dynamics Notes

Molecular Dynamics Analysis

Make graphs of distances, angles, torsions, etc., vs time.
Make Cluster Graph (RMSD comparison of each pair of conformers).

Miscellaeous Notes

Molecular Dynamics with Massively Parallel Processor (MPP) Systems

MPP applications must consider 3 conecpts:
  1. granularity of tasks
    Most MD is coarse-grained: parallelism is at level of subroutines or functions, not at fine-grained loop-level.
  2. load balancing
  3. Non-Uniform Memory Access (NUMA):
    • atom decomposition method: atoms are assigned to specific processors
      Inefficient beyond 64 CPUs
    • force decomposition method: force calculations are assigned to specific processors Inefficient beyond 64 CPUs; best method for high-performance FORTRAN and other SIMD (Single Instruction Multiple Data) formalisms (in general, MIMD formalisms are more appropriate for MD).
    • spacial decomposition method: blocks of space are assigned to specific processors
      Most efficient method, because it can most naturally take advantage of cell multipole methods. Hardest method to code.
Most popular modeling applications (AMBER, CHARMM, GROMOS, Discover) have bene parallelized for up to 64 CPUs. The Lennard-Jones benchmark problem is used by most researchers to test MPP MD code. However, speed is still lacking for most modeling studies.


Free Energy Peturbation method


Changes between A and B must be small.
A and B must bind to R in same location and general orientation.
While the free energy change is usually small, the mtheod is very precise, leading to small uncertainty.
This method also accounts for solvation effects.


Back to  |  C687 Spring 1999  |  Courses & Instruction  |  MolViz Home  |
Send comments to chemvis@indiana.edu
Last updated: 01/23/2001