-
Notifications
You must be signed in to change notification settings - Fork 5
Protonation state sampling
Consider a system at equilibrium in a semigrand ensemble relevant for constant-pH simulation.
The thermodynamic parameters
Denote the instantaneous configuration of the system by
We can write the reduced potential
(NOTE: The inverse thermal energy
The probability density of interest is given by
where the unnormalized probability density
and the partition function
where we have written the explicit subscript
For simplicity, we first consider algorithms for dealign with tautomerization. These algorithms can be easily adapted to handle protonation states in a straightforward manner.
Consider the tautomerization of imidazole
(TODO: Replace this with a better figure)
The simplest approach we will consider is an instantaneous Metropolis Monte Carlo proposal where we propose to "hop" the proton from one titratable heavy atom site to another.
- Step 1: Propose
$x_{new} \sim p(x_{new} | x_{old})$ where the proton at position 1 is moved to a position that is a Gaussian random variable about the N at position 3. - Step 2: Accept or reject the move with the Metropolis-Hastings criteria
where we can use the difference in reduced potentials
We expect the average acceptance rate of the instantaneous heavy atom centered Monte Carlo proposal
Instead, we can significantly improve the choice of proposal probability by learning the parameters of the Gaussian distribution in terms of the heavy atom and its connected neighbors.
Suppose we have an arrangement
where
We expect this should significantly increase the acceptance rate
Even with improved proton proposal distributions, in solvent, instantaneous placement of protons without allowing relaxation of the surrounding solvent will likely lead to low acceptance rates
A very simple way to improve this is to perform parallel proposals: If we propose
(TODO: Check that we have correctly included the proposal probabilities
In the limit of
This idea is succinctly described in Waste recycling Monte Carlo.
It is possible to achieve superlinear improvements in acceptance probability
There are numerous ways to use NCMC for this scenario.
First, we consider building on the previous algorithms that draw a new proton position using one of the hydrogen position proposal probabilities
First, partition the atoms into the proton under consideration for transport---$x_{H, old}$---and all other protons---$x_{core}.
We draw the position of a new additional proton
We then integrate
where
$$ w = \sum_{t=1}^T [ u_{t}(x_t) - u_{t-1}(x_t) ]
The acceptance probability for
If rejected, however, the entire trajectory
The velocity will also need to be reversed on acceptance or rejection to ensure the correct distribution is maintained---see NCMC for more details. If an MCMC scheme is used where protonation state moves and MD moves that begin with a new velocity draw from the Maxwell-Boltzmann distribution, this can be ignored since the velocity will be refreshed immediately afterwards anyway.
As an alternative to transiently augmenting the number of particles, we can instead propose a displacement
where the alchemical energy function becomes
The acceptance probability replaces the proposal ratio
Excess protons are surprisingly mobile in bulk water. Water wires form spontaneously and enable the rapid nonlocal translocation of excess protons. In confined geometries, proton transport over large distances can occur on the sub-picosecond timescale.
As a result, we may not need to be overly concerned about where a proton is initially placed if we use NCMC to transport or insert/delete a proton---spontaneous water wires may effectively shuttle protons to/from relevant locations on their own. Whether this timescale is practical, of course, is a question for the Experiments section below.
Suppose we select a position for placing the proton that is uniform within the simulation box:
If we again integrate an NCMC switching protocol over
The acceptance probability will increase superlinearly in