Algorithm Search⌘K

Conceptcore

Collective variable

Also called reaction coordinate.

A low-dimensional function of the atomic positions, such as a distance or torsion, used to describe a slow process and to bias or analyse it.

A collective variable (CV) is a function s(x)s(x) that maps the 3N3N atomic coordinates xx of a system to a few numbers, such as a distance between two atoms, a torsion angle, a number of contacts or the distance from a reference structure. It is chosen so that its value tells apart the states of interest, for example bound and unbound, folded and unfolded, reactant and product, and so that it changes slowly while everything else changes fast. Free energy methods work with the CV: umbrella sampling places windows along it, metadynamics puts its bias on it, and the weighted histogram analysis method builds the free energy profile along it. The term reaction coordinate is often used as a synonym; in a stricter sense it means a CV that describes the progress of a reaction exactly, such as the committor.

In plain words

A protein has thousands of atoms, and each of them moves all the time. To talk about what the protein does, such as folding or opening, we need a few numbers that sum up its shape, like the distance between its two ends.

Such a number is a collective variable. A good one changes clearly when the important event happens, and changes slowly, while the many other motions just jiggle around it.

With a good collective variable, we can draw a curve of how likely each value is, and push the system along it to see rare events. With a bad one, the important motion stays hidden, and the curve can mislead.

The idea

The free energy along a CV. Let x∈Rnx \in \mathbb R^n have the canonical density e−βU(x)/Ze^{-\beta U(x)} / Z with β=1/(kBT)\beta = 1/(k_B T), and let s:Rn→Rds : \mathbb R^n \to \mathbb R^d with dd small. The marginal density of ss is

p(z)=1Z∫δ(s(x)−z) e−βU(x) dx,p(z) = \frac{1}{Z} \int \delta(s(x) - z)\, e^{-\beta U(x)}\,dx,

and the free energy profile, or potential of mean force, is F(z)=−kBTln⁡p(z)F(z) = -k_B T \ln p(z), up to a constant. Differences F(z2)−F(z1)F(z_2) - F(z_1) give the relative probability of two values, and the minima of FF are the states as seen through ss. Every bias that depends on xx only through s(x)s(x) changes p(z)p(z) by an explicit factor, pbiased(z)∝p(z) e−βw(z)p_{\text{biased}}(z) \propto p(z)\, e^{-\beta w(z)}, which is why biasing methods can remove the bias exactly.

FF depends on the choice of variable, not only on the physics. If s~=g(s)\tilde s = g(s) for a smooth increasing gg in one dimension, the densities are related by p~(g(z)) g′(z)=p(z)\tilde p(g(z))\, g'(z) = p(z), so

F~(g(z))=F(z)+kBTln⁡g′(z).\tilde F(g(z)) = F(z) + k_B T \ln g'(z).

So the depth of a minimum and the height of a barrier in FF depend on how the CV is parametrized; only quantities such as the probability of a state, an integral of e−βFe^{-\beta F} over a region, do not. The same effect gives the volume terms of distances and angles: FF contains an entropy part that comes from the volume of the set {x:s(x)=z}\{x : s(x) = z\}, not from UU.

The mean force. Where ss is smooth with ∇s≠0\nabla s \ne 0, F′(z)F'(z) is a conditional average over the set s(x)=zs(x) = z of a local quantity built from ∇U\nabla U, ∇s\nabla s and the curvature of ss (the co-area formula; see Lelièvre, Rousset and Stoltz 2010). Constrained molecular dynamics at fixed ss, as in the blue moon ensemble, and the adaptive biasing force method estimate this mean force and integrate it to get FF.

What makes a CV good. A good CV (a) takes clearly different values in the states of interest, (b) is slow compared with all motions orthogonal to it, so that at fixed ss the rest of the system relaxes quickly, and (c) is smooth, so that its gradient gives a well-defined biasing force. Condition (b) is the hard one. In terms of dynamics, the best one-dimensional CV for a transition from AA to BB is the committor q(x)q(x), the probability that a trajectory started at xx reaches BB before AA: it is the ideal reaction coordinate, but it is not known in advance, and computing it needs methods such as transition path sampling.

Common CVs.

  • Distances, angles and torsions between atoms or centres of mass. Torsions are periodic, and the bias and the histogram must use the period.
  • Coordination numbers, smooth counts of the neighbours within a cutoff, for example ∑j(1−(rij/r0)6)/(1−(rij/r0)12)\sum_j (1 - (r_{ij}/r_0)^6) / (1 - (r_{ij}/r_0)^{12}), used for bonds that break and form.
  • The root mean square deviation from a reference structure, and the number of native contacts.
  • Path CVs, which measure the progress along a path between two structures and the distance from it, close in spirit to the string method.
  • Learned CVs: the slowest modes found by principal component analysis, diffusion maps or other data analysis of trajectories.

Examples

The volume term of a distance. Two particles in three dimensions with no interaction between them, in a large box. The relative vector has a uniform density, so the density of its length rr is proportional to the area 4πr24\pi r^2 of the sphere, and F(r)=−2kBTln⁡r+constF(r) = -2 k_B T \ln r + \text{const}. So F(2)−F(1)=−2kBTln⁡2=−1.386 kBTF(2) - F(1) = -2 k_B T \ln 2 = -1.386\, k_B T: a larger distance has a lower free energy with no force at all. For a real pair potential u(r)u(r) the profile is F(r)=u(r)−2kBTln⁡r+constF(r) = u(r) - 2 k_B T \ln r + \text{const} at low density, and a bound state must be judged against this volume term.

Changing the variable. For the same pair, take s~=r3\tilde s = r^3 instead of rr. Then g′(r)=3r2g'(r) = 3r^2, and F~(r3)=F(r)+kBTln⁡(3r2)=const\tilde F(r^3) = F(r) + k_B T \ln(3 r^2) = \text{const}: in the variable r3r^3 the profile is flat. The two profiles describe the same system; neither is wrong.

A double well with s=xs = x. For U(x)=8(x2−1)2U(x) = 8(x^2 - 1)^2 in one dimension with s=xs = x, F=UF = U up to a constant, with a barrier of 8 kBT8\, k_B T. This is the test case of the umbrella sampling, WHAM and metadynamics pages, where the computed profiles are compared with UU.

A hidden slow motion. Take U(x,y)=8(x2−1)2+8(y2−1)2U(x, y) = 8(x^2 - 1)^2 + 8(y^2 - 1)^2 in two dimensions and the CV s=xs = x. The density is a product, so F(x)=8(x2−1)2F(x) = 8(x^2 - 1)^2 up to a constant, exactly. But a biased run along xx does not help the motion in yy, which has its own barrier of 8 kBT8\, k_B T: each window stays in the yy-well where it started. In this separable case the profile along xx is still right, because the yy-well does not change F(x)F(x). If the two wells in yy had different shapes for different xx, each window would report the free energy of its own yy-well, and the profile would depend on where the windows started. This is the most common failure of CV-based methods, and it is invisible in the profile itself.

Where it is used

  • Free energy profiles. Umbrella sampling with WHAM or MBAR, thermodynamic integration of the mean force, and constrained dynamics all compute FF along a CV, for example the free energy of a ligand as a function of its distance from a binding site.
  • Enhanced sampling. Metadynamics, adaptive biasing force and related methods put a time-dependent bias on the CVs to cross barriers.
  • Rare events and rates. Transition path sampling, forward flux sampling and the string method use CVs or order parameters to define the states and to measure progress, and the committor tests whether a CV is a good reaction coordinate.
  • Coarse-grained dynamics. The Mori-Zwanzig formalism gives an exact equation for the dynamics of a CV, with memory and noise, and its Markovian limit is a Langevin equation on FF.
  • Analysis of simulations. Projecting a trajectory on a few CVs is the standard way to see states and transitions in high-dimensional data.

References

  1. Tony Lelièvre, Mathias Rousset and Gabriel Stoltz, Free Energy Computations, A Mathematical Perspective, Imperial College Press, 2010, the definition of the free energy associated with a reaction coordinate, the marginal density and the mean force
  2. Alessandro Laio and Michele Parrinello, Escaping free-energy minima, Proceedings of the National Academy of Sciences of the USA 99(20), 2002, 12562-12566, the choice of a few collective variables that describe the slow process and the bias placed on them
  3. Johannes Kästner, Umbrella sampling, Wiley Interdisciplinary Reviews, Computational Molecular Science 1(6), 2011, 932-942, the reaction coordinate along which the windows are placed and the free energy profile along it
  4. Christophe Chipot and Andrew Pohorille (eds.), Free Energy Calculations, Theory and Applications in Chemistry and Biology, Springer Series in Chemical Physics 86, Springer, 2007, the treatment of free energies along an order parameter and the methods that bias it

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/9F91J7/text.yaml