- 1Department of Computational Biological Chemistry, Faculty of Chemistry, University of Vienna, Vienna, Austria
- 2Vienna Doctoral School in Chemistry (DoSChem), University of Vienna, Vienna, Austria
- 3Department of Pharmaceutical Sciences, Faculty of Life Sciences, University of Vienna, Vienna, Austria
Protex is an open-source program that enables proton exchanges of solvent molecules during molecular dynamics simulations. While conventional molecular dynamics simulations do not allow for bond breaking or formation, protex offers an easy-to-use interface to augment these simulations and define multiple proton sites for (de-)protonation using a single topology approach with two different λ-states. Protex was successfully applied to a protic ionic liquid system, where each molecule is prone to (de-)protonation. Transport properties were calculated and compared to experimental values and simulations without proton exchange.
1 Introduction
Molecular dynamics (MD) simulations have become indispensable in modern computational science. Over the last decades, major improvements have been made regarding the size and speed so that nowadays, biologically relevant systems [i.e., membrane proteins (Goossens and De Winter 2018)] and many others can be studied in acceptable timescales (Hospital et al., 2015). Polarizable MD simulations further improved the accuracy of the underlying force fields, especially for dynamic properties (Schröder and Steinhauser, 2010; Schröder et al., 2011; Bedrov et al., 2019).
One drawback of classical force fields is the fixed topology, which means bonds are not designed to build or break. There are different approaches how to deal with that: Reactive force fields (REAX-FF) (Russo Jr and Van Duin, 2011; Zhang et al., 2014; Weismiller et al., 2015) have been developed, which use bond orders to describe the formation or breaking of bonds. In condensed-phase system, proton transfer has been modeled by applying a Markov model on top of molecular dynamics simulations (Dreßler et al., 2020a; Dreßler et al., 2020b) Alternatively, alchemical mutations with single or dual topology approaches can be applied if topology changes are required (Boresch and Karplus, 1999a; Boresch and Karplus, 1999b; Shirts, 2012; Mey et al., 2020). Alchemical approaches typically use an alchemical coupling parameter λ to control the transition of one molecule into another one (including possible bond break/formation); in our case, the transition from the protonated to the deprotonated species or vice versa. In constant pH simulations, the (de-)protonation reaction may be described as an instantaneous protonation state change (Mongan et al., 2004) or using alchemical intermediates (Lee et al., 2004; Khandogin and Brooks, 2005; Mongan and Case, 2005; Radak et al., 2017; Dobrev et al., 2020).
However, almost all these approaches are usually applied to a solute with few (de-)protonation sites. Often these sites are coupled to a “proton bath” (Börjesson and Hünenberger, 2001; Donnini et al., 2016; Radak et al., 2017) or an implicit solvent (Mongan et al., 2004; Mongan and Case, 2005) to ensure charge neutrality of the simulation box. However, this coupling limits the number of (de-)protonation sites, which is fine for constant pH simulation of an aqueous protein solution but maybe not be appropriate anymore if all solvent molecules are subject to the proton transfers. This is particularly true for protic ionic liquids (PILs), as proton transfers must be adequately captured even though hundreds of (de-)protonation sites exist. PILs consist of a Brønsted base (B) and acid (HA) and, therefore, can exchange a proton, which is a reaction currently not featured by modern force fields. In general, this reaction reads as
For example, accounting for proton exchange effects will be crucial for an adequate description of the conductivity in PILs. Additionally, examining the moving proton particularly can gain insight into the mechanism. However, classical constant pH simulations cannot model proton hopping from one molecule to another. Multistate empirical valence bond models for water (Schmitt and Voth, 1998; Day et al., 2002) focus on the moving proton and its delocalization between different water molecules. Still, they cannot cope with a large number of different (de-)protonation sites in protic ionic liquids.
We present protex - an open-source Python-based tool for proton exchange in MD simulations. It works seamlessly with the OpenMM toolkit (Eastman et al., 2017) and can perform customized transfer reactions without restricting the number of (de-)protonation sites. Contrary to common Monte Carlo approaches (Baptista et al., 2002; Mongan et al., 2004) of accepting/denying the proton transfers, we perform the one-step proton hopping with a quantum-mechanically derived probability once a distance criterion between the hopping proton and the acceptor is met. However, our probabilities are determined by a Markov chain model [Jacobi et al. (2022)]. In contrast to Dreßler et al, (2020a) and Dreßler et al. (2020b) our Markov chain is applied prior to MD simulation to compute reasonable starting probabilities for the various reactions. Subsequently, the probabilities can be set manually to test several models for proton diffusion and to optimize the agreement with the experiment. The program package protex is freely available on GitHub (https://github.com/cbc-univie/protex).
2 Materials and methods
2.1 λ-states of protic ionic liquids in a single topology approach
The protic ionic liquid 1-methylimidazolium acetate [Im1H][OAc] is in equilibrium with its neutral species 1-methylimidazole Im1 and acetic acid HOAc as shown in Figure 1.
FIGURE 1. The proton transfer reaction of 1-methylimidazolium (Im1H+) and acetate (OAc−) yielding 1-methylimidazole (Im1) and acetic acid (HOAc). For the sake of simplicity, the abbreviated names of the atom types are used (see Table 1).
The program protex uses a single topology approach with two discrete λ-states to allow for the proton exchange. For imidazoles and acetate, we model the neutral species Im1 and HOAc and the cation Im1H+ and anion OAc−, respectively. In principle, it is also possible to model the protonated acetic acid (Ingenmey et al., 2018; Jacobi et al., 2022), which might be necessary for the Grotthus conductivity mechanism, but we restrict ourselves to the simple protonation scheme by Jacobi et al. (2022) for the sake of simplicity. The deprotonation of the Im1H+ or HOAc is modeled by turning the hydrogen (HP) into a dummy atom (DM) which is part of the acetate OAc− and imidazole Im1 molecule.
In contrast to common alchemical mutations for proton transfer, the presented approach is not limited to partial charge mutations (Mey et al., 2020). As the atom types are changed to fit the DGenFF force field nomenclature (Chatterjee et al., 2019; Lin and MacKerell, 2019; Kumar et al., 2020) of the charged/neutral species, all bonded and non-bonded parameters are modified. Tables 1, 2 outline these changes in the atom types, Lennard-Jones parameters, partial charges qiβ, and polarizabilities αiβ. In imidazolium, both ring nitrogens share the same atom type NC. The neutral imidazole Im1 has lone pairs at the unsubstituted ring nitrogen (NB). As a consequence of protonation, the charge of these lone pairs is set to 0 e, turning off all their interactions.
TABLE 1. Atomtype, corresponding abbreviation, and Lennard-Jones parameters for the molecules Im1H+ and Im1, OAc−, HOAc. LP are lone pairs belonging to the respective nitrogens and oxygens.
TABLE 2. Partial charges, polarizabilities and Thole parameters for the molecules Im1H+ and Im1, OAc−, HOAc. LP are lone pairs belonging to the respective nitrogens and oxygens.
All these changes ensure that the molecules behave according to their charge state. This is particularly crucial for ionic liquids as the Coulombic interactions are neither short-ranged nor restricted to ion pairs and lead to cage-like structures (Schröder, 2011; Szabadi et al., 2022).
2.2 Polarizable force fields
During the protex update of the λ-states, significant changes in the atomic charges occur (see Table 2), which turn molecular ions into neutral molecules and vice versa. Since such drastic changes in electrostatic interactions between the molecules destabilize MD simulations, polarizable forces were applied to smoothen the transition of the Coulomb energy. These polarizable forces are anyway essential to close the gap between computational and experimental dynamics as non-polarizable force fields are usually one order of magnitude to viscous (Bedrov et al., 2019).
Among the different approaches to introduce polarizability to an MD simulation, we used the Drude oscillator model (Lamoureux and Roux, 2003; Bedrov et al., 2019). Each polarizable atom iβ is assigned an additional pair of Drude particles evoking an induced dipole
And usually set to a constant value for all atoms in a simulation resulting in increasing Drude charges qδ with increasing polarizabilities αiβ. The induced dipole
FIGURE 2. Drude pair, represented by black filled circles, connected with a harmonic spring with the spring constant kiβ. One Drude particle is located at the atom iβ (represented as an orange circle), carrying the charge -qδ. The other Drude particle carries the charge +qδ. The induced dipole
As the Coulomb interaction of the Drude particles already contains the dispersion between molecules, the corresponding Lennard-Jones interactions have to be reduced to counteract double counting. Bypassing a complete reparametrization of the Lennard-Jones parameters, atomic
Using the largest atomic polarizability αmax and the difference Δα between αmax and the polarizability αiβ of the current polarizable atom. The scaling factor s determines the influence of the polarizability on the Lennard-Jones
2.3 The program package protex
Protex augments an OpenMM simulation object and is not restricted to simulations of ionic liquids. The two main parts of the program are the ProtexSystem and Update classes. The former gathers the simulation object and additional information on the update process, wrapped in the ProtexTemplates class. The latter is responsible for the actual update process and handles the logic during an update. Figure 3 gives an overview of the program package protex.
FIGURE 3. Flowchart of a typical setup to simulate a protic solvent using protex. Python modules are shown in orange, with the corresponding classes denoted below. The blue arrows indicate a typical workflow to run a protex simulation. The gray box visualizes the external simulation object, which is not part of protex itself. A concrete example can be found in the SI.
The system object was created using CHARMM topology and parameter files in this work. A condition to perform proton exchange between residue protonation states is that the residues prone to a proton exchange have a one-to-one mapping between their atoms in the protonated and deprotonated form of the topology file. Please find a detailed example in the documentation at GitHub (https://github.com/cbc-univie/protex).
The ProtexTemplates class is used to gather the additional information needed for the simulation. The user may specify which transfer reactions should occur by specifying the residue names, the maximum distance, and the probability of this reaction. This way, the back-and-forth reaction of, for example, Im1H+ + OAc− → Im1 + HOAc, can be defined independently of the reaction Im1 + HOAc → Im1H+ + OAc−. Additionally, the atom name of the donor/acceptor atom needs to be specified. This would be the hydrogen for Im1H+ and the nitrogen for Im1 or the hydrogen of the acetic acid and both oxygens of the acetate. An example for the concrete definition of these variables can be found in the SI.
The ProtexSystem class combines the two former objects. It serves as an anchor for the actual propagation of the simulation, stores all information on the individual molecules (e.g., current name, charges, parameters, … ) in a separate Residue class, and can be used for loading and saving the current state and a PSF file. Two additional reporters are available, one reporting the current charge of all molecules in the system (ChargeReporter) and one reporting the energy contributions of the individual force objects (EnergyReporter). They can be used similarly to any other OpenMM reporter.
The Update classes handle everything connected to the update process during the simulation. The abstract base class Update serves as an anchor for different concrete implementations. NaiveMCUpate was used in this study, which checks for updates based on the distance and probability criterion. If the distance between the acceptor and donor falls below the distance criterion (as defined in ProtexTemplates), the proton exchange will happen with the given probability. The StateUpdate is responsible for the actual updates. It can be called anytime during the propagation of the trajectory. The update can either happen instantaneously between protonation states or using a non-equilibrium protocol in which multiple intermediate λ-states are used to interpolate between a source and target protonation state smoothly. The user can specify if only partial charges or all non-bonded and bonded interactions should be changed between protonation states.
As found in our previous study, the equilibrium for the Im1H+/OAc− system is around 30% charged and 70% neutral species. Hence an optional mechanism to stay around this equilibrium was implemented. As reported by Lill and Helms (Lill and Helms, 2001), the energy barrier for (de-)protonation is a function of the local environment and is not restricted to the exchanging molecules. Strictly speaking, the position of the barrier maximum is also a function of the local environment (Lill and Helms, 2001). However, as the corresponding calculations result in significant computational effort, we start with a fixed distance criterion. Dreßler et al, (2020a) and Dreßler et al. (2020b) introduced a Fermi function based to model the probability as a function of the distance, which will be included in future versions of protex.
The current probability pref is updated at each proton exchange event (see Figure 4)
where
FIGURE 4. Workflow of a typical protex simulation. A classical polarizable MD simulation in OpenMM is stopped at regular time intervals. protex determines possible molecules for proton transfers. An up arrow depicts one of the protonations, and a down arrow one of the deprotonations. The force field parameters are changed to represent the new (de-)protonated species, and the classical polarizable MD simulation is continued until the next proton transfer event.
Figure 4 shows the typical workflow of a protex simulation. Each number depicts the trajectory of one species in the system. After some specified simulation time (A), protex checks for possible proton transfers and executes them (indicated by the black arrows in Figure 4). Then the simulation is propagated until the next update event (B). Here, some of the molecules may have stayed close to each other and exchanged the proton back (see trajectory (7) and (8) in Figure 4). However, it is also possible that the proton is transferred to the next molecule [see trajectory (3)–(4)–(5)]. A significant amount of molecules never face a proton exchange [see trajectory (1), (6), (9), and (10)] which may be due to unfavorable orientations or no corresponding partner. The number of protonations equals the number of deprotonations, as the overall system is neutral at all times. Consequently, the number of up arrows is the same as that of down arrows in Figure 4. Also, the total number of protonations/deprotonations may differ between two exchange events. For example, (C) in Figure 4 has fewer exchanges than (A) or (B).
Benchmark tests on a NVIDIA RTX3090 and AMD Threadripper with a typical setup of 10 ps simulation time between the updates, showed that the protex routine takes about 25% of the total simulation time. Details can be found in the SI.
2.4 Computational setup
Details on the parametrization process of the molecular species involved can be found in Joerg and Schröder (2022). In short, the force field for Im1H+OAc− was based on the CHARMM General Force Field (CGenFF) (Kumar et al., 2020). Since the ionic liquid is not fully featured in the standard force field, electrostatic and bonded parameters were optimized based on quantum-mechanical reference calculations. For the calculation of dynamics properties, polarizable MD simulations were utilized. The polarizability was implemented using the Drude model, which adds an additional harmonic spring to all non-hydrogen atoms to emulate the induced forces. Due to their low mass, hydrogen atoms cannot be made polarizable, so the respective polarizabilities are added to their corresponding parent atoms. Drude particles were assigned a mass of 0.4 μ and a force constant
TABLE 3. Systems under investigation. All systems contain a total of 1,000 molecules, with initially 30% Im1H+ and OAc−, and 70% Im1 and HOAc. Scaling factors s of 0.25 and 0.4 were used, with five replicas and 50 ns simulation time each.
Packmol (Martínez et al., 2009) was used to pack the initial simulation boxes, which were subsequently subject to energy minimizations using CHARMM, removing possible clashes or very unfavorable configurations of molecules (Brooks et al., 2009). Then, the polarizable system was equilibrated with OpenMM for 5 ns applying a Monte-Carlo barostat at 1.0 atm to determine the final box length. The production runs in the NVT ensemble were done in OpenMM with a time step of 0.5 fs for 50 ns Temperature control of polarizable systems with the conventional Dual-Nosé-Hoover thermostat (Martyna et al., 1992) is challenging, due to heat flow from the degrees of freedom of real atoms to Drude atoms. This causes the center-of-mass temperature to be overestimated. Hence, we used a temperature-grouped Dual-Nosé-Hoover thermostat as described by Son et al. (2019) and Gong and Padua, (2021), which adds an additional group for center-of-mass translations, thus improving the accuracy of the simulations. The temperature was set to 300 K for the real atoms and 1 K for the Drude particles. Electrostatic interactions were treated using the Particle Mesh Ewald method: The cut-off distance was set to 11 Å and the switch distance to 10 Å. All simulations were run on the CUDA platform in single precision. Further details on the setup can be found in Joerg and Schröder, (2022).
Four possible transfer reactions were defined, including the forward and backward reaction described by Eq. 1 as well as the transfer between Im1H+/Im1 and HOAc/OAc−. In this work, the protonation states were switched instantaneously, with no additional λ states between the initial and final state. In the first step at each transfer event (see Figure 4), distances between transferable hydrogen atoms and hydrogen acceptors (nitrogen/oxygen) of the other molecules were checked, and only those pairs with a distance lower than 1.55 Å considered for the next step. The second step involves proton transfers with a particular probability. The initial probability of Table 4 are in accordance with Jacobi et al. (2022) but are updated applying Eq. 4. The time interval between the transfer checks was set to 10 ps
TABLE 4. We consider four possible proton transfer reactions corresponding to the simple reaction scheme in Jacobi et al. (2022). According to Eq. 4, the probabilities are updated during simulations. The first two reactions change the number of charged molecules.
2.5 Analysis
For the analysis of the trajectories, the MDAnalysis package (Michaud-Agrawal et al., 2011; Gowers et al., 2016) was applied and augmented by self-written Python code. For example, the combination of MDAnalysis and the voro++ library (Rycroft, 2009) allows for the computation of the coordination number Nkl and the volume Vk(shell = 1) of the first solvation shell around molecules of species k (Zeindlhofer et al., 2018; Szabadi et al., 2022). Based on this information, a shell-based potential of mean force
can be computed from the concentration cl (shell = 1) = Nkl/Vk(shell = 1) of species l in the first shell around species k and the bulk concentration cl = Nl/V. Negative PMF-values indicate preferential coordination of the species l around species k, whereas positive values result from a depletion of species l around k.
The diffusion coefficient can be calculated using the Einstein relation (Allen and Tildesley, 1986). For species k, it reads
With Δ r(t) = |r(t) − r (0)|. To obtain diffusion coefficients for each species in the system, the possible proton transfers, which consequently change the residue names, had to be accounted for. Therefore, the time series for each residue was cut when a transfer occurred. Only time series with at least 25 ns length were analyzed for the final analysis. Although this reduces the statistics of the mean-squared displacement, it ensures that the mobility of the charged and neutral compounds is not mixed. The slope for Eq. 6 was taken between 2 and 6 ns Additionally, diffusion coefficients for combined Im1H+/Im1 as well as OAc−/HOAc were calculated.
The analysis of the conductivity σ(0) needed some extra attention. Commonly, σ(0) is obtained from the mean-squared displacement
of the collective translational dipole moment
FIGURE 5. Trajectory of an exemplary Im1H+ (blue) and Im1 (green), either during the simulation (light) or after unfolding the box (dark). The green and red dots denote the position at the time of the update and after the unfolding, respectively.
The simplest way to bypass this problem is to undo this huge jump in
Using the center-of-masses
TABLE 5. Correction for the total translational dipole moment.
3 Results and discussion
In MD simulations, proton transfer events are usually harmful non-equilibrium situations as ions may become neutral or vice versa. Consequently, one expects significant jumps in the Coulomb energy of the system. This is undoubtedly true for non-polarizable MD simulations, but fortunately, the induced dipoles in polarizable trajectories counteract these jumps and smoothen the non-bonded (NB) interactions as shown in Figure 6 for s = 0.25 (blue) and s = 0.40 (orange). Strictly speaking, the non-bonded energy also comprises the Lennard-Jones interactions, but these do not change very much during the proton transfer as hydrogens usually have no significant contributions.
FIGURE 6. Non-bonded (NB) energy of the trajectories using s = 0.25 and 0.4, respectively. The jumps in Coulomb energy at the proton transfer events (black vertical dashed lines) are less than the fluctuations between two transfer events. The dashed lines above 0 kcal/mol represent the self-polarization energy Uδδ.
The time evolution of this non-bonded energy is a constant profile for s = 0.4 and gets more negative for s = 0.25. Interestingly, the Drude self-polarization energy, on the other hand, rises about the same amount in that case. Weakening of the Lennard-Jones spheres allows for closer distances of the induced dipoles of two polarizable atoms. Consequently, the interaction of these induced dipoles with other induced dipoles and with the permanent charges results in lower energy. Since this also leads to larger distances between the mobile Drude particle and the polarizable atom, the corresponding self-polarization term Uδδ increases. These effects in the non-bonded energy and self-polarization cancel out in the total energy, which changes roughly −7 kcal/mol/ns of the complete simulation box in case of s = 0.25 which might still be acceptable, although it is almost twice the drift per Drude oscillator compared to water [Lamoureux and Roux (2003)]. However, a scaling factor s of 0.40 is preferable as no drift is observed in Figure 6. Zooming into the trajectory (see inset in Figure 6), one notices that the jumps due to the multiple proton exchanges are less compared to the fluctuations of the non-bonded energy between two proton exchange events. This clearly demonstrates the induced dipoles’ functionality for stabilizing proton transfer MD simulations.
The simulation period of our polarizable MD simulations is 50 ns. As we stop the production every 10 ps to check for proton exchanges, (Jacobi et al., 2022), a molecule may face 5,000 exchanges at maximum. However, the average number of proton transfers for each molecule is much lower (see in the top panel of Figure 7) and equals roughly 10 to 15 exchanges on average.
FIGURE 7. (A) The number of transfers for every molecule. (B) The number of transfers for the reactions listed in Table 4.
Please note that the histograms are quite broad, revealing a heterogeneous system. Stronger Lennard-Jones-s-scaling leads to more transfers in general for all 500 Im1/Im1H+ and 500 HOAc/OAc− [s = 0.25 (blue): 5,725 transfers; s = 0.4 (orange): 3,585 transfers] since the overall movement is increased.
The lower panel of Figure 7 depicts the relevance of the reactions in Table 4. Interestingly, the proton transfers are dominated by proton exchanges between imidazole and imidazolium, although the reaction probability is significantly lower than that of the reactions Im1H+ + OAc− or OAc− + HOAc. This is due to the crucial distance between the hydrogen donor and acceptor, which was set to 1.55 Å in our simulations. As imidazole and imidazolium seem to come closer to each other and have the correct mutual orientation, these reactions happen more often than those with higher probability.
Our simulation still reproduces the equilibrium value of 30% ionic:70% neutral molecules (Jacobi et al., 2022; Joerg and Schröder, 2022) for both s-values as shown in Figure 8.
FIGURE 8. Fluctuating number of Im1H+ and Im1 molecules. The numbers are close to the initial 30% ionic to 70% neutral ratio due to the correction in Eq. 4.
However, we had to apply Eq. 4 to prohibit drifting away from the equilibrium partitioning of the molecules as the total number of proton transfer events, i.e. 5,000, is much lower than in the Markov chain analysis reported by Jacobi et al. (2022). Furthermore, due to the distance criterion rmax and the mutual orientation of the reacting species in the liquid phase, particular reactions are favored regardless of the value of the reaction probability pref.
So far, we have shown that our polarizable MD simulations, including proton transfer, are stable for at least 50 ns with the correct ratio of charged and neutral molecules. However, the more interesting question is: What is the difference between a polarizable simulation with fixed molecular charges qi and our new simulations, including proton transfers?
Table 6 shows the box length L, density ρ and conductivity σ(0) of the systems for scaling factors of s = 0.25 and s = 0.4. The box length and, thus, density are very similar for the different replicas, as well as compared to the simulations without proton transfer in our previous study (Joerg and Schröder, 2022). This is expected since the same workflow was used, and no proton transfers were allowed during the NpT runs, opposite to the NVT production run, which was used for analyzing transport properties. Hence, the conductivity is expected to differ. A notable increase was found for both systems allowing proton transfers as displayed in Table 6. Since conductivity is a collective property, the statistics are challenging explaining the slight deviations for the different replicas. Interestingly, the standard deviations in the case of s = 0.25 are significantly larger. Also, the conductivity σ(0) for s = 0.25 is above the experimental value, whereas σ(0) for s = 0.4 is within the range of the measured values.
TABLE 6. Average box length L, density ρ and conductivity σ(0) of the different replica for both scaling factors. The reference values for the polarizable MD simulation without proton transfers are taken from Joerg and Schröder (2022). The experimental density is from Chen et al. (2014) and the conductivity from MacFarlane et al. (2006); Hou et al. (2011); Chen et al. (2014); Thawarkar et al. (2019).
Figure 9 depicts the diffusion coefficients of the four involved species for both s-scaling factors. The horizontal solid lines are the average diffusion coefficient of the imidazole-based and carboxylate-based molecules taking into account the different mole fractions and proton transfers. The dashed lines correspond to the polarizable simulations without proton transfers (Joerg and Schröder, 2022). Although the diffusion coefficients increased compared to Joerg and Schröder (2022) (black arrows), they are still smaller than the corresponding experimental value (gray star) for both species (Thawarkar et al., 2019). As expected, the diffusion coefficients of the neutral molecules are higher than their charged counterpart because of fewer Coulombic interactions. This was also true for the polarizable simulations without proton transfers (black x in Figure 9) (Joerg and Schröder, 2022). Except for imidazole, the diffusion coefficients of the species are more or less unaffected by the implementation of the proton transfers. Overall, the molecular translational motion characterized by the diffusion coefficients is not responsible for the increase in the conductivity, which has to be due to collective effects.
FIGURE 9. Diffusion coefficients for the four species with a scaling factor of 0.25 and 0.4. The reference values for the single species (black x) are taken from Joerg and Schröder (2022). The experimental values (gray stars) are taken from Thawarkar et al. (2019).
Cage effects can be characterized by the shell-resolved potential of mean force PMF. Since we are interested in the different behavior of polarizable simulations with and without proton transfer, we plotted the differences ΔPMF of the mutual shell-resolved potential of mean forces PMFkl (shell = 1) for the species k, l ∈ {Im1H+, OAc−, Im1, HOAc} as a heat map in Figure 10.
FIGURE 10. Difference in Potential of mean force (PMF) for s = 0.25 between this work and Joerg and Schröder (2022).
Red boxes indicate that the solvation became less favorable after including proton transfers, whereas blue boxes reveal an increased attraction compared to the simulations without proton transfer. For the conductivity, the ΔPMFs, including the charged species in the top left regions of the heat map, are the most interesting. The dark red boxes for Im1H+/OAc− and Im1H+/Im1H+ correspond to weaker coordination of these species and fewer cation/anion or cation/cation pairs increase the conductivity σ(0). The overall charge of cation/anion pairs is zero; consequently, this pair does not contribute to σ(0). If two cations stick together for a long time, their overall mobility is reduced, hence the electric current. Allowing for proton transfer in the polarizable simulations has multiple effects: First, Im1H+/OAc− may react and become two neutral molecules. This reaction does not increase the conductivity. Second, in the case of a cation/cation pair, one of the imidazoliums may exchange its proton with acetate. Now, the second imidazolium has a new imidazole and acetic acid neighbor and may be more mobile than in the cation/cation aggregate before. This would increase the conductivity. Quite generally, in Figure 10, neutral molecules seem to accumulate in the immediate neighborhood of charged molecules (blue boxes in the top right region of the heat map) as a consequence of the multiple proton transfer events. This fact shows the weakening of ion cages by proton transfer reactions.
The proton transfers promote the diffusion of imidazoles Im1. If an imidazolium inside an ion cage transfers its acidic proton to one of the acetates, the emerging Im1 still encounters many other acetates in the former ion cage. This situation is energetically unfavorable, and the imidazole will try to escape immediately, thereby increasing the diffusion coefficient. The corresponding ΔPMF is −0.16 kJ·mol−1 (see Figure 10).
4 Conclusion
The lightweight open-source Python package protex was successfully implemented for polarizable MD simulations of the protic ionic liquid 1-methylimidazolium acetate. In contrast to constant pH simulation techniques handling proteins’ (de-)protonation, the current work deals with proton transfer within the solvent. Protex augments an OpenMM simulation object and is, therefore, straightforwardly usable with any polarizable OpenMM simulation and not restricted to protic ionic liquids. The transfer can either be instantaneously or through intermediate λ-states, with user-defined distances and probability criteria.
Allowing for proton transfers overcomes one of the critical limitations in classical MD simulations, i.e., the formation and breaking of bonds. However, proton transfers are essential for the meaningful simulation of protic ionic liquids or other proton-exchanging solvents. In the case of the protic ionic liquid 1-methylimidazolium acetate, a slight increase in the diffusion coefficients of all species is accompanied by a significant increase in the overall conductivity σ(0) of the system, which is now in excellent agreement with the experimental values.
Data availability statement
The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found below: https://github.com/cbc-univie/protex.
Author contributions
MW wrote the initial protex code layout. FJ refined the protex program and added more functionality. FJ and CS performed the analysis and wrote the manuscript draft. All authors contributed to the discussion of the results, the manuscript revision, and approved the submitted version.
Funding
This work was supported by Project No. I4383N of the FWF Austrian Science Fund.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fchem.2023.1140896/full#supplementary-material
References
Baptista, A. M., Teixeira, V. H., and Soares, C. M. (2002). Constant pH molecular dynamics using stochastic titration. J. Chem. Phys. 117, 4184–4200. doi:10.1063/1.1497164
Becker, T. M., Dubbeldam, D., Lin, L.-C., and Vlugt, T. J. (2016). Investigating polarization effects of CO2 adsorption in MgMOF-74. J. Comput. Sci. 15, 86–94. International Computational Science and Engineering Conference 2015 (ICSEC15). doi:10.1016/j.jocs.2015.08.010
Bedrov, D., Piquemal, J.-P., Borodin,, , MacKerell, Jr., Roux, B., and Schröder, C. (2019). Molecular dynamics simulations of ionic liquids and electrolytes using polarizable force fields. Chem. Rev. 119, 7940–7995. doi:10.1021/acs.chemrev.8b00763
Boresch, S., and Karplus, M. (1999b). The role of bonded terms in free energy simulations. 2. Calculation of their influence on free energy differences of solvation. J. Phys. Chem. A 103, 119–136. doi:10.1021/jp981629f
Boresch, S., and Karplus, M. (1999a). The role of bonded terms in free energy simulations: 1. Theoretical analysis. J. Phys. Chem. A 103, 103–118. doi:10.1021/jp981628n
Börjesson, U., and Hünenberger, P. H. (2001). Explicit-solvent molecular dynamics simulation at constant pH: Methodology and application to small amines. J. Chem. Phys. 114, 9706–9719. doi:10.1063/1.1370959
Brooks, B. R., Brooks, C. L., Mackerell, A. D., Nilsson, L., Petrella, R. J., Roux, B., et al. (2009). Charmm: The biomolecular simulation program. J. Comput. Chem. 30, 1545–1614. doi:10.1002/jcc.21287
Chatterjee, P., Heid, E., Schröder, C., and MacKerell, A. (2019). Polarizable general force field for drug-like molecules Drude general force field (DGenFF). Biophys. J. 116, 142a. doi:10.1016/j.bpj.2018.11.788
Chen, J., Chen, L., Lu, Y., and Xu, Y. (2014). Physicochemical properties of aqueous solution of 1-methylimidazolium acetate ionic liquid at several temperatures. J. Mol. Liq. 197, 374–380. doi:10.1016/j.molliq.2014.05.027
Day, T. J. F., Soudackov, A. V., Čuma, M., Schmitt, U. W., and Voth, G. A. (2002). A second generation multistate empirical valence bond model for proton transport in aqueous systems. J. Chem. Phys. 117, 5839–5849. doi:10.1063/1.1497157
Dobrev, P., Vemulapalli, S. P. B., Nath, N., Griesinger, C., and Grubmüller, H. (2020). Probing the accuracy of explicit solvent constant pH molecular dynamics simulations for peptides. J. Chem. Theory Comput. 16, 2561–2569. doi:10.1021/acs.jctc.9b01232
Donnini, S., Ullmann, R. T., Groenhof, G., and Grubmüller, H. (2016). Charge-neutral constant pH molecular dynamics simulations using a parsimonious proton buffer. J. Chem. Theory Comput. 12, 1040–1051. doi:10.1021/acs.jctc.5b01160
Dreßler, C., Kabbe, G., Brehm, M., and Sebastiani, D. (2020a). Dynamical matrix propagator scheme for large-scale proton dynamics simulations. J. Chem. Phys. 152, 114114. doi:10.1063/1.5140635
Dreßler, C., Kabbe, G., Brehm, M., and Sebastiani, D. (2020b). Exploring non-equilibrium molecular dynamics of mobile protons in the solid acid csh2po4 at the micrometer and microsecond scale. J. Chem. Phys. 152, 164110. doi:10.1063/5.0002167
Eastman, P., Swails, J., Chodera, J. D., McGibbon, R. T., Zhao, Y., Beauchamp, K. A., et al. (2017). OpenMM 7: Rapid development of high performance algorithms for molecular dynamics. PLoS Comput. Biol. 13, e1005659. doi:10.1371/journal.pcbi.1005659
Gong, Z., and Padua, A. A. H. (2021). Effect of side chain modifications in imidazolium ionic liquids on the properties of the electrical double layer at a molybdenum disulfide electrode. J. Chem. Phys. 154, 084504. doi:10.1063/5.0040172
Goossens, K., and De Winter, H. (2018). Molecular dynamics simulations of membrane proteins: An overview. J. Chem. Inf. Model. 58, 2193–2202. doi:10.1021/acs.jcim.8b00639
Gowers, R. J., Linke, M., Barnoud, J., Reddy, T. J. E., Melo, M. N., Seyler, S. L., et al. (2016). “MDAnalysis: A Python package for the rapid analysis of molecular dynamics simulations,” in Proceedings of the 15th Python in Science Conference–105. Sebastian Benthall and Scott Rostrup.98
Hospital, A., Goñi, J. R., Orozco, M., and Gelpí, J. L. (2015). Molecular dynamics simulations: Advances and applications. Adv. Appl. Bioinform. Chem. 8, 37–47. doi:10.2147/aabc.s70333
Hou, H.-Y., Huang, Y.-R., Wang, S.-Z., and Bai, B.-F. (2011). Preparation and physicochemical properties of imidazolium acetates and the conductivities of their aqueous and ethanol solutions. Acta Phys. Chim. Sin. 27, 2512–2520. doi:10.3866/pku.whxb20111120
Ingenmey, J., Gehrke, S., and Kirchner, B. (2018). How to harvest Grotthuss diffusion in protic ionic liquid electrolyte systems. ChemSusChem 11, 1900–1910. doi:10.1002/cssc.201800436
Jacobi, R., Joerg, F., Steinhauser, O., and Schröder, C. (2022). Emulating proton transfer reactions in the pseudo-protic ionic liquid 1-methylimidazolium acetate. Phys. Chem. Chem. Phys. 24, 9277–9285. doi:10.1039/d2cp00643j
Joerg, F., and Schröder, C. (2022). Polarizable molecular dynamics simulations on the conductivity of pure 1-methylimidazolium acetate systems. Phys. Chem. Chem. Phys. 24, 15245–15254. doi:10.1039/d2cp01501c
Khandogin, J., and Brooks, C. L. (2005). Constant pH molecular dynamics with proton tautomerism. Biophys. J. 89, 141–157. doi:10.1529/biophysj.105.061341
Kumar, A., Yoluk, O., and Collectivityrell, A. D. (2020). FFParam Standalone package for CHARMM additive and Drude polarizable force field parametrization of small molecules. J. Comput. Chem. 41, 958–970. doi:10.1002/jcc.26138
Lamoureux, G., and Roux, B. (2003). Modeling induced polarization with classical Drude oscillators: Theory and molecular dynamics simulation algorithm. J. Chem. Phys. 119, 3025–3039. doi:10.1063/1.1589749
Lee, M. S., Salsbury, F. R., and Brooks, C. L. (2004). Constant-pH molecular dynamics using continuous titration coordinates. Proteins Struct. Funct. Genet. 56, 738–752. doi:10.1002/prot.20128
Lill, M. A., and Helms, V. (2001). Compact parameter set for fast estimation of proton transfer rates. J. Chem. Phys. 114, 1125–1132. doi:10.1063/1.1332993
Lin, F.-Y., and MacKerell, A. D. (2019). “Force fields for small molecules,” in Biomolecular simulations: Methods and protocols. Editors M. Bonomi, and C. Camilloni (New York, NY: Springer New York), 21–54.
MacFarlane, D. R., Pringle, J. M., Johansson, K. M., Forsyth, S. A., and Forsyth, M. (2006). Lewis base ionic liquids. Chem. Commun., 1905–1917. doi:10.1039/b516961p
Martínez, L., Andrade, R., Birgin, E. G., and Martínez, J. M. (2009). Packmol: A package for building initial configurations for molecular dynamics simulations. J. Comput. Chem. 30, 2157–2164. doi:10.1002/jcc.21224
Martyna, G. J., Klein, M. L., and Tuckerman, M. (1992). Nosé–hoover chains: The canonical ensemble via continuous dynamics. J. Chem. Phys. 97, 2635–2643. doi:10.1063/1.463940
Mey, A. S. J. S., Allen, B. K., Bruce Macdonald, H. E., Chodera, J. D., Hahn, D. F., Kuhn, M., et al. (2020). Best practices for alchemical free energy calculations [article v1.0]. Living J. Comp. Mol. Sci. 2, 18378. doi:10.33011/livecoms.2.1.18378
Michaud-Agrawal, N., Denning, E. J., Woolf, T. B., and Beckstein, O. (2011). MDAnalysis: A toolkit for the analysis of molecular dynamics simulations. J. Comput. Chem. 32, 2319–2327. doi:10.1002/jcc.21787
Mongan, J., and Case, D. A. (2005). Biomolecular simulations at constant pH. Curr. Opin. Struct. Biol. 15, 157–163. doi:10.1016/j.sbi.2005.02.002
Mongan, J., Case, D. A., and McCammon, J. A. (2004). Constant pH molecular dynamics in generalized Born implicit solvent. J. Comput. Chem. 25, 2038–2048. doi:10.1002/jcc.20139
Radak, B. K., Chipot, C., Suh, D., Jo, S., Jiang, W., Phillips, J. C., et al. (2017). Constant-pH molecular dynamics simulations for large biomolecular systems. J. Chem. Theory Comput. 13, 5933–5944. doi:10.1021/acs.jctc.7b00875
Russo, M. F., and Van Duin, A. C. (2011). Atomistic-scale simulations of chemical reactions: Bridging from quantum chemistry to engineering. Nucl. Instrum. Methods Phys. Res. B Beam Interact. Mat. At. 269, 1549–1554. doi:10.1016/j.nimb.2010.12.053
Rycroft, C. H. (2009). Voro++: A three-dimensional voronoi cell library in C++. Chaos 19, 041111. doi:10.1063/1.3215722
Schmitt, U. W., and Voth, G. A. (1998). Multistate empirical valence bond model for proton transport in water. J. Phys. Chem. B 102, 5547–5551. doi:10.1021/jp9818131
Schröder, C. (2011). Collective translational motions and cage relaxations in molecular ionic liquids. J. Chem. Phys. 135, 024502. doi:10.1063/1.3601750
Schröder, C., Sonnleitner, T., Buchner, R., and Steinhauser, O. (2011). The influence of polarizability on the dielectric spectrum of the ionic liquid 1-ethyl-3-methylimidazolium triflate. Phys. Chem. Chem. Phys. 13, 12240–12248. doi:10.1039/c1cp20559e
Schröder, C., and Steinhauser, O. (2010). Simulating polarizable molecular ionic liquids with Drude oscillators. J. Chem. Phys. 133, 154511. doi:10.1063/1.3493689
Shirts, M. R. (2012). “Best practices in free energy CalDculations for drug design,” in Computational drug discovery and design. Editor R. Baron (New York, NY: Springer New York), 425–467.
Son, C. Y., McDaniel, J. G., Cui, Q., and Yethiraj, A. (2019). Proper thermal equilibration of simulations with Drude polarizable models: Temperature-grouped dual-Nosé–Hoover thermostat. J. Phys. Chem. Lett. 10, 7523–7530. doi:10.1021/acs.jpclett.9b02983
Szabadi, A., Honegger, P., Schöfbeck, F., Sappl, M., Heid, E., Steinhauser, O., et al. (2022). Collectivity in ionic liquids: A temperature dependent, polarizable molecular dynamics study. Phys. Chem. Chem. Phys. 24, 15776–15790. doi:10.1039/d2cp00898j
Szabadi, A., and Schröder, C. (2021). Recent developments in polarizable molecular dynamics simulations of electrolyte solutions. J. Comput. Biophys. Chem. 21, 415–429. doi:10.1142/s2737416521420035
Thawarkar, S., Khupse, N. D., Shinde, D. R., and Kumar, A. (2019). Understanding the behavior of mixtures of protic-aprotic and protic-protic ionic liquids: Conductivity, viscosity, diffusion coefficient and ionicity. J. Mol. Liq. 276, 986–994. doi:10.1016/j.molliq.2018.12.024
Weismiller, M. R., Junkermeier, C. E., Russo, M. F., Salazar, M. R., Bedrov, D., and Van Duin, A. C. (2015). ReaxFF molecular dynamics simulations of intermediate species in dicyanamide anion and nitric acid hypergolic combustion. Model. Simul. Mat. Sci. Eng. 23, 074007. doi:10.1088/0965-0393/23/7/074007
Zeindlhofer, V., Berger, M., Steinhauser, O., and Schröder, C. (2018). A shell-resolved analysis of preferential solvation of coffee ingredients in aqueous mixtures of the ionic liquid 1-ethyl-3-methylimidazolium acetate. J. Chem. Phys. 148, 193819. doi:10.1063/1.5009802
Keywords: molecular dynamics, ionic liquids, dynamic properties, proton exchange, conductivity
Citation: Joerg F, Wieder M and Schröder C (2023) Protex—A Python utility for proton exchange in molecular dynamics simulations. Front. Chem. 11:1140896. doi: 10.3389/fchem.2023.1140896
Received: 09 January 2023; Accepted: 06 February 2023;
Published: 17 February 2023.
Edited by:
Olga Russina, Sapienza University of Rome, ItalyReviewed by:
Martin Brehm, Martin Luther University of Halle-Wittenberg, GermanyPietro Ballone, Italian Institute of Technology (IIT), Italy
Copyright © 2023 Joerg, Wieder and Schröder. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Christian Schröder, Y2hyaXN0aWFuLnNjaHJvZWRlckB1bml2aWUuYWMuYXQ=