next up previous contents index
Next: Implementation of the free Up: Alchemical Free Energy Methods1 Previous: Alchemical Free Energy Methods1   Contents   Index


Theoretical Background

Free energy differences can be obtained through four different routes: (i) probability densities, (ii) free energy perturbation, (iii) thermodynamic integration, or (iv) nonequilibrium work approaches [22]. Within NAMD, alchemical transformations are modeled following the second and the third routes, both of which rely upon the use of a general extent parameter often referred to as the coupling parameter [8,61,49,50] for the description of chemical changes in the molecular systems between the reference and the target states.

The dual-topology paradigm

In a typical alchemical transformation setup involving the alteration of one chemical species into an alternate one in the course of the simulation, the atoms in the molecular topology can be classified into three groups, (i) a group of atoms that do not change during the simulation -- e.g. the environment, (ii) the atoms describing the reference state, $ a$ , of the system, and (iii) the atoms that correspond to the target state, $ b$ , at the end of the alchemical transformation. The atoms representative of state $ a$ should never interact with those of state $ b$ throughout the MD simulation. Such a setup, in which atoms of both the initial and the final states of the system are present in the molecular topology file -- i.e. the psf file -- is characteristic of the so-called ``dual topology'' paradigm [33,74,3]. The hybrid Hamiltonian of the system is a function of the general extent parameter, $ \lambda $ , which connects smoothly state $ a$ to state $ b$ . In the simplest case, such a connection may be achieved by linear combination of the corresponding Hamiltonians:

$\displaystyle {\cal H}({\bf x}, {\bf p}_x; \lambda) = {\cal H}_0({\bf x}, {\bf ...
...bda {\cal H}_b({\bf x}, {\bf p}_x) + (1-\lambda) {\cal H}_a({\bf x}, {\bf p}_x)$ (64)

where $ {\cal H}_a({\bf x}, {\bf p}_x)$ describes the interaction of the group of atoms representative of the reference state, $ a$ , with the rest of the system. $ {\cal H}_b({\bf x}, {\bf p}_x)$ characterizes the interaction of the target topology, $ b$ , with the rest of the system. $ {\cal H}_0({\bf x},
{\bf p}_x)$ is the Hamiltonian describing those atoms that do not undergo any transformation during the MD simulation.

For instance, in the point mutation of an alanine side chain into that of glycine, by means of a free energy calculation -- either free energy perturbation or thermodynamic integration, the topology of both the methyl group of alanine and the hydrogen borne by the C$ _\alpha$ in glycine co-exist throughout the simulation (see Figure 7), yet without actually seeing each other.

Figure 7: Dual topology description for an alchemical simulation. Case example of the mutation of alanine into serine. The lighter color denotes the non-interacting, alternate state.

The energy and forces are defined as a function of $ \lambda $ , in such a fashion that the interaction of the methyl group of alanine with the rest of the protein is effective at the beginning of the simulation, i.e.  $ \lambda $ = 0, while the glycine C$ _\alpha$ hydrogen atom does not interact with the rest of the protein, and vice versa at the end of the simulation, i.e.  $ \lambda $ = 1. For intermediate values of $ \lambda $ , both the alanine and the glycine side chains participate in nonbonded interactions with the rest of the protein, scaled on the basis of the current value of $ \lambda $ . It should be clearly understood that these side chains never interact with each other.

It is noteworthy that end points of alchemical transformations carried out in the framework of the dual-topology paradigm have been shown to be conducive to numerical instabilities from molecular dynamics simulations, often coined as ``end-point catastrophes''. These scenarios are prone to occur when $ \lambda $ becomes close to 0 or 1, and incoming atoms instantly appear where other particles are already present, which results in a virtually infinite potential as the interatomic distance tends towards 0. Such ``end-point catastrophes'' can be profitably circumvented by introducing a so-called soft-core potential [7,60], aimed at a gradual scaling of the short-range nonbonded interactions of incoming atoms with their environment, as shown in Equation 66. What is really being modified is the value of a coupling parameter ( $ \lambda_\mathrm{LJ}$ or $ \lambda_\mathrm{elec}$ ) that scales the interactions -- i.e., if set to 0, the latter are off; if set to 1, they are on -- in lieu of the actual value of $ \lambda $ provided by the user.

$\displaystyle V_\mathrm{NB}(r_{ij}) = \lambda_\mathrm{LJ} \varepsilon_{ij} \lef...^{\!\!3} \right] + \lambda_\mathrm{elec} \frac{q_iq_j}{\varepsilon_1 r_{ij}}$ (65)

It is also worth noting that the free energy calculation does not alter intermolecular bonded potentials, e.g. bond stretch, valence angle deformation and torsions, in the course of the simulation. In calculations targeted at the estimation of free energy differences between two states characterized by distinct environments -- e.g. a ligand, bound to a protein in the first simulation, and solvated in water, in the second -- as is the case for most free energy calculations that make use of a thermodynamic cycle, perturbation of intramolecular terms may, by and large, be safely avoided [11]. This property is controlled by the alchDecouple keyword described in

Free Energy Perturbation

Within the FEP framework  [8,21,22,34,52,61,92,95,105], the free energy difference between two alternate states, $ a$ and $ b$ , is expressed by:

$\displaystyle \Delta A_{a \rightarrow b} = -\frac{1}{\beta} \ \ln \left\langle ...
...}, {\bf p}_x) - {\cal H}_a({\bf x}, {\bf p}_x) \right] \right\} \right\rangle_a$ (66)

Here, $ \beta^{-1} \equiv k_B T$ , where $ k_B$ is the Boltzmann constant, $ T$ is the temperature. $ {\cal H}_a({\bf x}, {\bf p}_x)$ and $ {\cal H}_b({\bf x}, {\bf p}_x)$ are the Hamiltonians describing states $ a$ and $ b$ , respectively. $ \left\langle \cdots \right\rangle_a$ denotes an ensemble average over configurations representative of the initial, reference state, $ a$ .

Figure: Convergence of an FEP calculation. If the ensembles representative of states $ a$ and $ b$ are too disparate, equation (67) will not converge (a). If, in sharp contrast, the configurations of state $ b$ form a subset of the ensemble of configurations characteristic of state $ a$ , the simulation is expected to converge (b). The difficulties reflected in case (a) may be alleviated by the introduction of mutually overlapping intermediate states that connect $ a$ to $ b$ (c). It should be mentioned that in practice, the kinetic contribution, $ {\cal T}({\bf p}_x)$ , is assumed to be identical for state $ a$ and state $ b$ .

\includegraphics[width=4cm]{figures/overlap1} (a) \includegraphics[width=4cm]{figures/overlap2} (b) \includegraphics[width=4cm]{figures/overlap3} (c)

Convergence of equation (67) implies that low-energy configurations of the target state, $ b$ , are also configurations of the reference state, $ a$ , thus resulting in an appropriate overlap of the corresponding ensembles -- see Figure 8. Transformation between the two thermodynamic states is replaced by a series of transformations between non-physical, intermediate states along a well-delineated pathway that connects $ a$ to $ b$ . This pathway is characterized by the general extent parameter [8,49,50,61], $ \lambda $ , that makes the Hamiltonian and, hence, the free energy, a continuous function of this parameter between $ a$ and $ b$ :

$\displaystyle \Delta A_{a \rightarrow b} = -\frac{1}{\beta} \ \sum_{i = 1}^N \l...
...+1}) - {\cal H}({\bf x}, {\bf p}_x; \lambda_i) \right] \right\} \right\rangle_i$ (67)

Here, $ N$ stands for the number of intermediate stages, or ``windows'' between the initial and the final states -- see Figure 8.

Thermodynamic Integration

An alternative to the perturbation formula for free energy calculation is Thermodynamic Integration (TI). With the TI method, the free energy is given as [50,91,31]:

$\displaystyle \Delta A = \int_0^1 \left<\frac{\partial {\cal H}({\bf x}, {\bf p}_x; \lambda)}{\partial \lambda}\right>_\lambda d\lambda$ (68)

In the multi-configuration thermodynamic integration approach  [91] implemented in NAMD, $ \left<\partial {\cal H}({\bf x},
{\bf p}_x; \lambda) / \partial \lambda~\right>_\lambda $ , the ensemble average of the derivative of the internal energy with respect to $ \lambda $ , is collected for a series of discrete $ \lambda $ values and written to tiOutFile. These values are analyzed by the separately distributed script, which performs the integration of individual energy components and reports back the total $ \Delta A$ values for the transformation.

next up previous contents index
Next: Implementation of the free Up: Alchemical Free Energy Methods1 Previous: Alchemical Free Energy Methods1   Contents   Index