Skip to content

Commit 70a6362

Browse files
authored
Merge pull request #70 from MobleyLab/hbmayes
Made suggested changes.
2 parents f6bb59f + 31be790 commit 70a6362

File tree

3 files changed

+28
-29
lines changed

3 files changed

+28
-29
lines changed

paper/basic_training.bib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ @book{Jensen2007
972972
year = {2007}
973973
}
974974

975-
@article{Isele-Holder:2012:J.Chem.Phys.,
975+
@article{Isele-Holder:2012:JChemPhys,
976976
title = {Development and Application of a Particle-Particle Particle-Mesh {{Ewald}} Method for Dispersion Interactions},
977977
volume = {137},
978978
issn = {0021-9606},

paper/basic_training.pdf

-3.07 KB
Binary file not shown.

paper/basic_training.tex

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -147,21 +147,18 @@ \section{Scope of this document}
147147
There are several excellent textbooks on classical simulation methods; some we have found particularly helpful are Allen and Tildesley's ``Computer Simulations of Liquids''~\cite{allen_computer_2017}, Leach's ``Molecular Modelling''~\cite{LeachBook}, and Frenkel and Smit's ``Understanding Molecular Simulations''~\cite{Frenkel:2001:}, though there are many other sources.
148148
Tuckerman's ``Statistical Mechanics: Theory and Molecular Simulation''~\cite{Tuckerman:2010:} may be helpful to a more advanced audience.
149149

150-
In principle, anyone with adequate prior knowledge should be able to pick up one of these books and learn the required skills to perform molecular simulations, perhaps with help from a good statistical mechanics and thermodynamics book or two.
150+
In principle, anyone with adequate prior knowledge (namely, undergraduate level calculus and physics) should be able to pick up one of these books and learn the required skills to perform molecular simulations, perhaps with help from a good statistical mechanics and thermodynamics book or two.
151151
In practice, due to the interdisciplinary and somewhat technical nature of this field, many newcomers may find it difficult and time consuming to understand all the methodological issues involved in a simulation study.
152152
The goal of this document is to introduce a new practitioner to some key basic concepts and bare minimum scientific knowledge required for correct execution of these methods.
153153
We also provide a basic set of ``best practices'' that can be used to avoid common errors, missteps and confusion in elementary molecular simulations work.
154154
This document is not meant as a full introduction to the area; rather, it is intended to help guide further study, and to provide a foundation for other more specialized best-practices documents focusing on particular simulation areas.
155155

156-
Modern implementations of classical simulations also rely on a large body of knowledge from the fields of computer science and numerical methods, which will
157-
not be covered in detail here.
158-
156+
Modern implementations of classical simulations also rely on a large body of knowledge from the fields of computer science, programming, and numerical methods, which will not be covered in detail here.
159157

160158
\section{Science topics}
161159
\label{sec:science}
162-
A variety of fields provide the foundation for our simulation methods and analysis of the data produced by these methods.
163-
A new practitioner does not have to be an expert of all these fields but needs to understand some key concepts from each of these disciplines.
164-
In this section, we survey some topics that we believe even basic users of molecular simulations need to grasp, with suggestions for further reading on these subjects, as a preface for Section~\ref{sec:basics}.
160+
A new practitioner does not have to be an expert in all of the fields that provide the foundation for our simulation methods and analysis of the data produced by these methods.
161+
However, grasping some key concepts from each of these disciplines, described below, is essential for every practitioner of molecular simulations. This section serves as a preface for Section~\ref{sec:basics} and suggestions for further reading on these subjects are provided throughout the document.
165162
In each subsection, we begin by highlighting some of the critical topics from the corresponding area, then describe what these are and why they are important to molecular simulations.
166163

167164
\subsection{Classical mechanics}
@@ -170,7 +167,7 @@ \subsubsection{Key concepts}
170167

171168
Critical concepts from classical mechanics include:
172169
\begin{itemize}
173-
\item Newton's equations of motion and constants of motion
170+
\item Newton's equations of motion
174171
\item Hamilton's equations
175172
\item Point particles and rigid bodies
176173
\item Holonomic constraints
@@ -182,17 +179,18 @@ \subsubsection{Key concepts}
182179

183180
Classical molecular models typically consist of point particles carrying mass and electric charge, as well as potentially additional interactions such as van der Waals interactions and bonded interactions of various types.
184181
Sometimes it is much more efficient to freeze the internal degrees of freedoms and treat the molecule as a rigid body where the particles do not change their relative orientation as the whole body moves; this is commonly done, for example, for rigid models of the water molecule.
185-
Due to the high frequency of the O-H vibrations, accurately treating water classically would require solving the equations of motion with a very small timestep, so for computational efficiency water is often instead treated as a rigid body.
182+
The timestep for simulation is determined by the fastest frequency motion.
183+
Due to the high frequency of the O-H vibrations, accurately treating water classically would require solving the equations of motion with a very small timestep (commonly 1 fs).
184+
Thus, for computational efficiency water is often instead treated as a rigid body to allow a larger timestep (often double the length).
186185
Keeping specified objects rigid in a simulation involves applying holonomic constraints, where the rigidity is defined by imposing a minimal set of fixed bond lengths and angles through iterative procedures during the numerical integration of the equation of motion (see Section~\ref{sec:integrators} for more on constraints and integrators).
187-
It is important to understand the concept of point particles, rigid bodies and constraints.
188186

189-
Classical mechanics has several mathematical formulations --- namely the Newtonian, Hamiltonian and Lagrangian formulations.
190-
These formulations are equivalent, but for certain applications one formulation can be more appropriate than the other.
191-
Many simulation methods use the Hamiltonian formulation and therefore basic knowledge of Hamiltonian mechanics is essential if you wish to understand the details of simulation methods.
187+
Classical mechanics has several mathematical formulations, namely the Newtonian, Hamiltonian and Lagrangian formulations.
188+
These formulations are physically equivalent, but for certain applications one formulation can be more appropriate than the other.
189+
Many simulation methods use the Hamiltonian formulation and therefore basic knowledge of Hamiltonian mechanics is particularly important.
192190

193191
Classical mechanics has several conserved quantities and simulators should be familiar with these, for example, the total energy of a system is a constant of motion.
194192
These concepts play very important role in development and proper implementation of simulation methods.
195-
For example, a particularly straightforward check of the correctness of an MD code is to test the quality of the energy conservation.
193+
For example, a particularly straightforward check of the correctness of an MD code is to test whether energy is conserved.
196194

197195
Most books on molecular simulations have a short discussions or appendices on classical mechanics that can serve the purpose of very quick introductions to the basic concepts; Shell's book also has a chapter on simulation methods which covers some of these details~\cite{ShellBook}.
198196
A variety of good books on classical mechanics are also available and give further details on these concepts.
@@ -203,14 +201,14 @@ \subsection{Thermodynamics}
203201
\subsubsection{Key concepts}
204202
A variety of thermodynamic concepts are particularly important for molecular simulations:
205203
\begin{itemize}
206-
\item Temperature, pressure, stress
207-
\item Internal energy, enthalpy
204+
\item Temperature and pressure % removed stress; seems out of place
205+
\item Internal energy and enthalpy
208206
\item Gibbs and Helmholtz free energy
209207
\item Entropy
210208
\end{itemize}
211209

212210
One of the main objectives of molecular simulations is to estimate/predict thermodynamic behavior of real systems as observed in the laboratory.
213-
Typically this means we are interested in macroscopic systems, consisting of $10^{23}$ particles or more (i.e. at least several moles of particles).
211+
Typically this means we are interested in macroscopic systems, consisting of $10^{23}$ particles or more (i.e. at least a mole of particles).
214212
But properties of interest include not only macroscopic, bulk thermodynamic properties, such as density or heat capacity,
215213
but also microscopic properties like specific free energy differences associated with, say, changes in the conformation of a molecule.
216214
For this reason, it is important to understand key concepts in thermodynamics, such as temperature, pressure, entropy, internal energy, various forms of free energy, and the relationships between them.
@@ -274,17 +272,18 @@ \subsubsection{Key concepts}
274272
\begin{figure}[h]
275273
\centering
276274
\includegraphics[width=\linewidth]{simplelandscapes.pdf}
277-
\caption{Energy landscapes. (a) A highly simplified landscape used to illustrate rate concepts and (b) a schematic of a complex landscape with numerous minima and ambiguous state boundaries.}
275+
\caption{Energy landscapes. (a) A highly simplified landscape used to illustrate rate concepts and (b) a schematic of a more complex landscape with numerous minima and ambiguous state boundaries.}
278276
\label{landscapes}
279277
\end{figure}
280278

281279
The key dynamical concept to understand is embodied in the twin characteristics of timescales and rates.
282280
The two are literally reciprocals of one another.
283281
In Fig.\ \ref{landscapes}(a), assume you have started an MD simulation in basin A.
284-
The trajectory is likely to remain in that basin for a period of time -- the ``dwell'' timescale -- which increases exponentially with the barrier height according to the (reciprocal) Arrhenius factor as $\exp[(U^\ddagger - U_A)/k_B T]$; barriers many times the thermal energy $k_BT$ imply long dwells.
285-
The rate $k_{AB}$, which is the transition probability per unit time, exhibits reciprocal behavior -- i.e., $k_{AB} \sim \exp[-(U^\ddagger - U_A)/k_B T]$ according to the traditional Arrhenius factor.
286-
Note that all transitions occur in a random, \emph{stochastic} fashion and are not predictable except in terms of average behavior.
287-
More detailed discussions of rate constants can be found in numerous textbooks (e.g.,~\cite{DillBook, Zuckerman:2010:}).
282+
The trajectory is likely to remain in that basin for a period of time -- the ``dwell'' timescale -- which increases exponentially with the barrier height, $(U^\ddagger - U_A)$.
283+
Barriers many times the thermal energy $k_BT$ imply long dwell timescales, approximated as the reciprocal of $\exp[(U^\ddagger - U_A)/(k_B T)]$.
284+
The rate coefficient $k_{AB}$, which relates to the transition probability per unit time per amount of reactant(s).
285+
All transitions occur in a random, \emph{stochastic} fashion and are predictable only in terms of average behavior.
286+
More detailed discussions of rates and rate coefficients can be found in numerous textbooks (e.g.,~\cite{DillBook, Zuckerman:2010:}).
288287

289288
Once you have understood that MD behavior reflects system timescales, you must set this behavior in the context of an \emph{extremely} complex energy landscape consisting of almost innumerable minima and barriers, as schematized in Fig.\ \ref{landscapes}(b).
290289
Each small basin represents something like a different rotameric state of a protein side chain or perhaps a tiny part of the Ramachandran spaces (backbone phi-psi angles) for one or a few residues.
@@ -306,7 +305,7 @@ \subsubsection{Key concepts}
306305
There is a closely related connection for on- and off-rates with the binding equilibrium constant.
307306
For a \emph{continuous} coordinate (e.g., the distance between two residues in a protein), the probability-determining free energy is called the ``potential of mean force'' (PMF); the Boltzmann factor of a PMF gives the relative probability of a given coordinate.
308307
Any kind of free energy implicitly includes \emph{entropic} effects; in terms of an energy landscape (Fig.\ \ref{landscapes}), the entropy quantifies the \emph{width} of a basin.
309-
These points are discussed in textbooks, as are the differences between free energies for different thermodynamic ensembles -- e.g.., $F$, the Helmholtz free energy, when $T$ is constant, and $G$ , the Gibbs free energy, when both $T$ and pressure are constant -- which are not essential to our introduction~\cite{DillBook, Zuckerman:2010:}.
308+
These points are discussed in textbooks, as are the differences between free energies for different thermodynamic ensembles -- e.g.., $F$, the Helmholtz free energy, when $T$ is constant, and $G$, the Gibbs free energy, when both $T$ and pressure are constant -- which are not essential to our introduction~\cite{DillBook, Zuckerman:2010:}.
310309

311310
A final essential topic is the difference between equilibrium and non-equilibrium systems.
312311
We noted above that an MD trajectory is not likely to represent the equilibrium ensemble because the trajectory is probably too short.
@@ -321,7 +320,7 @@ \subsubsection{Books}
321320
Books which we recommend as particularly helpful in this area include:
322321
\begin{itemize}
323322
\item Reif's ``Fundamentals of Statistical and Thermal Physics''~\cite{Reif:2009:}
324-
\item McQuarrie ``Statistical Mechanics''~\cite{McQuarrie:2000:}
323+
\item McQuarrie's ``Statistical Mechanics''~\cite{McQuarrie:2000:}
325324
\item Dill and Bromberg's ``Molecular Driving Forces''~\cite{DillBook}
326325
\item Hill's ``Statistical Mechanics: Principles and Selected Applications''~\cite{Hill:1987:}
327326
\item Shell's ``Thermodynamics and Statistical Mechanics''~\cite{ShellBook}
@@ -490,7 +489,7 @@ \subsection{Force fields}
490489
Thus, to replicate a particular force field as described previously, such settings should be matched to prior work such as the work which parameterized the force field.
491490
The choice of how to apply a cutoff, such as through direct truncation, shifting of the potential energy function, or through the use of switching functions, should be maintained if identical matches to prior work computing the properties of interest are desired.
492491
This is especially important for the purposes of free energy calculations, where the potential energy itself is recorded.
493-
However, force fields are in some cases slow to adapt to changes in protocol, so current best practices seem to suggest that lattice-sum electrostatics should be used for Coulomb electrostatics in condensed phase systems, even if the chosen force field was fitted with cutoff electrostatics, and in many cases long-range dispersion corrections should be applied to the energy and pressure to account for truncated Lennard-Jones interactions~\cite{Shirts:2007:JPhysChemB, Isele-Holder:2012:J.Chem.Phys.}.
492+
However, force fields are in some cases slow to adapt to changes in protocol, so current best practices seem to suggest that lattice-sum electrostatics should be used for Coulomb electrostatics in condensed phase systems, even if the chosen force field was fitted with cutoff electrostatics, and in many cases long-range dispersion corrections should be applied to the energy and pressure to account for truncated Lennard-Jones interactions~\cite{Shirts:2007:JPhysChemB,Isele-Holder:2012:JChemPhys}.
494493

495494
For almost all force fields, many versions, variants, and modifications exist, so if you are using a literature force field or one distributed with your simulation package of choice, it is important to pay particular attention (and make note of) exactly what version you are using and how you obtained it so you will be able to accurately detail this in any subsequent publications.
496495

@@ -1065,7 +1064,7 @@ \subsubsection{ Ewald Summation}
10651064
\begin{figure}[h]
10661065
\centering
10671066
\includegraphics[width=\linewidth]{ewald.pdf}
1068-
\caption{Screening charge distribution. (top) Original charge distribution. (bottom)Point charges can be split into Direct space(blue) and Reciprocal space charges(red). Direct space charge consists of the original charges and gaussian-distributed screening charge. Reciprocal space charge is only the gaussian-distributed charge. }
1067+
\caption{Screening charge distribution. (top) Original charge distribution. (bottom)Point charges can be split into Direct space(blue) and Reciprocal space charges(red). Direct space charge consists of the original charges and gaussian-distributed screening charge. Reciprocal space charge is only the gaussian-distributed charge.}
10691068
\label{charges_ewald}
10701069
\end{figure}
10711070

@@ -1080,7 +1079,7 @@ \subsubsection{ Ewald Summation}
10801079
\centering
10811080
\includegraphics[width=\linewidth]{decay_comparison.pdf}
10821081
\caption{Comparison of decay of original $r^{-1}$ term(blue,*), erfc(r) in direct space(black,-) and $r^{-6}$ in van der waals term (red, -.). }
1083-
\label{charges_ewald}
1082+
\label{decay}
10841083
\end{figure}
10851084

10861085

@@ -1198,7 +1197,7 @@ \subsubsection{Grid based Ewald summation}
11981197
\begin{checklist}{Determine handling of cutoffs}
11991198
\begin{itemize}
12001199
\item As a general rule, electrostatics are long-range enough that either the cutoff needs to be larger than the system size (for finite systems) or
1201-
periodicity is needed along with full treatment of long-range electrostatics (Section~\ref{lr_electrostatics})
1200+
periodicity is needed along with full treatment of long-range electrostatics (Section~\ref{sec:classical_electrostatics} % changed section ref since the folloing does not currently exist (Section~\ref{lr_electrostatics})
12021201
\item Nonpolar interactions can often be safely treated with cutoffs of 1-1.5 nm as long as the system size is at least twice that, but long-range dispersion corrections may be needed (Section~\ref{sec:force_fields})
12031202
\end{itemize}
12041203
\end{checklist}

0 commit comments

Comments
 (0)