Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2023 Mar 5.
Published in final edited form as: J Comput Chem. 2021 Dec 18;43(6):431–434. doi: 10.1002/jcc.26798

Taking the Monte Carlo gamble: How not to buckle under the pressure!

Yessica K Gomez 1,*, Andrew M Natale 2,*, James Lincoff 3,*, Charles W Wolgemuth 4, John M Rosenberg 5, Michael Grabe 6
PMCID: PMC8776593  NIHMSID: NIHMS1762583  PMID: 34921560

Abstract

Consistent buckling distortions of a large membrane patch (200 Å × 200 Å) are observed during molecular dynamics (MD) simulations using the Monte-Carlo (MC) barostat in combination with a hard Lennard Jones (LJ) cutoff. The buckling behavior is independent of both the simulation engine and the force field but requires the MC barostat-hard LJ cutoff combination. Similar simulations of a smaller patch (90 Å × 90 Å) do not show buckling, but do show a small, systematic reduction in the surface area accompanied by ~ 1 Å thickening suggestive of compression. We show that a mismatch in the way potentials and forces are handled in the dynamical equations versus the MC barostat results in a compressive load on the membrane. Moreover, a straightforward application of elasticity theory reveals that a minimal compression of the linear dimensions of the membrane, inversely proportional to the edge length, is required for buckling, explaining this differential behavior. We recommend always using LJ force or potential-switching when the MC barostat is employed to avoid undesirable membrane deformations.

Keywords: barostat, molecular dynamics, lipid bilayer, curvature, Monte Carlo

GRAPHICAL ABSTRACT

graphic file with name nihms-1762583-f0001.jpg

Significant distortions of a large bio-membrane (lipid bilayer) are noted when a specific combination of molecular dynamics simulation parameters is employed (Monte Carlo (MC) barostat and Lennard-Jones hard cutoff (≤10 Å)). Other factors, such as molecular dynamics engine and protein force field are not causative. Smaller membrane patches simulated with the problematic combination show compressive effects but do not buckle. Nonetheless, we strongly suggest caution when using this parameter combination to simulate membrane systems.


We observed consistent undesirable distortions of a membrane patch during molecular dynamics (MD) simulations in Amber18 using the Monte-Carlo (MC) barostat1 in combination with a standard 10 Å hard Lennard-Jones (LJ) cutoff as recently mentioned by Im and colleagues2; here we report our successful efforts to ameliorate this problem by employing force-switching (FS). The MC barostat, which is currently implemented in Amber and OpenMM, is a relatively new barostat that is frequently used for constant pressure simulations as it reproduces the correct volume fluctuations, unlike the Berendsen barostat3, and it does not require the virial to be computed at every time step, unlike most barostats.1 Meanwhile, a 9 or 10 Å hard cutoff for nonbonded interactions is commonly employed to improve simulation speed, as explicitly recommended for use with Amber force fields. When these parameters are used to simulate a 200 Å × 200 Å × 80 Å box, we observe significant rapid buckling of an initially flat membrane into an egg carton pattern that then breaks xy-symmetry to relax into a sinusoidal plane wave, as shown in Figure 1.

Figure 1. Membrane deformation induced by MC barostat and 10 Å cutoff.

Figure 1.

A 200 Å × 200 Å patch of POPC membrane with the hydrophobic lipid tails colored cyan and the head groups colored by height (z-coordinate – blue positive, red negative). Note that all three panels show a 2 × 2 array of four simulation cells. (A) The initially flat membrane at the start of production exhibits minor height fluctuations. (B) By 125 ns, the membrane has buckled into an egg cartoon shape (see text). (C) By 700 ns, buckling has continued into nearly a steady state shape (see text).

After this initial observation, we ran a series of test simulations using different MD engines to isolate which parameter combinations correlate with membrane distortions (Supplementary Table A1), comparing the MC algorithm with 1) the widely available but problematic, Berendsen barostat and 2) the Parrinello-Rahman barostat4 implementation in Gromacs, which like the MC algorithm properly samples volume fluctuations. All simulations used semi-isotropic pressure scaling with coupling in the initial plane of the membrane (x-y plane) independent of the perpendicular axis. Examination of the box dimensions over time reveals that all simulations keep a constant volume (Supplementary Fig. A1), albeit with up to 3 % initial variation in the first few time steps in some cases; however, the MC barostat when used in combination with a 10 Å hard cutoff always results in a gradual compression of the x-y plane, and corresponding expansion along z, on the 100-ns timescale (yellow traces in Fig. 2A,B,C), leading to deformations like those shown in Figure 1.

Figure 2. Changes in x/y-box dimensions over time for different combinations of system parameters.

Figure 2.

The identical length and width (x,y) of the membrane patches are plotted against time. The color key at the top defines combinations of barostats (MC - MC barostat or Ber - Berendsen) with LJ treatments (10 Å cutoff or 10 – 12 Å force switching). Each panel shows results for additional model combinations: (A) large membrane patch (initially 200 Å × 200 Å), Amber18.7 engine, and Lipid17 force field; (B) large patch, OpenMM7.4 engine, and Lipid17; (C) large patch, OpenMM7.4 engine, and CHARMM36 force field; and (D) small patch (initially 90 Å × 90 Å), Amber18.7 engine, and Lipid17.

Importantly, this phenomenon is not an artifact of a particular MD engine or force field as the buckling is reproduced in OpenMM as well as simulations performed with CHARMM36 (Supplementary Table A1), though CHARMM force fields are explicitly recommended for use with FS only. This suggests that the origin of the problem lies with the pairing of the MC barostat and a 10 Å (or shorter) LJ cutoff in membrane simulations. No other parameter combinations in Supplementary Table A1 resulted in significant membrane deformation.

We note that most published simulations employing the MC barostat in combination with a short LJ cutoff use smaller membrane patches, and they appear to be free of the distortions described above. We therefore tested whether 90 Å × 90 Å bilayers undergo buckling and found that that they do not (Supplementary Table A1 & Supplementary Figure A1F). That said, the MC barostat simulation with 10 Å LJ cutoff does experience a 2 Å decrease of the x and y dimensions (yellow trace in Fig. 2D) and a corresponding ~ 1 Å thickening of the width as if the membrane is under compression. Taken together, the extreme buckling observed on the large membrane patches coupled with the modest compression of the smaller patch suggests that there is an effective compressive force in the membrane plane when the semi-isotropic MC barostat is used with a hard cutoff.

Changes to the LJ parameters are known to impact atomistic properties, including the particularly sensitive lipid density. Specifically, a hard LJ truncation of 10 Å reduces long range attraction compared to, say, a 10–12 Å switching distance, and might be expected to lead to a reduced area-per-lipid (APL), as it does for the Berendsen barostat simulations (#3 & #4 in Supplementary Table A1). Why then does the MC barostat compress membranes when a short hard cutoff is employed? We believe that this arises from an inconsistency between the way forces and potentials are handled in the MC trial box-size change stage versus the dynamics stage. The MC barostat uses the potentials between pairs of atoms to determine whether a random box rescaling is energetically favorable. For a given configuration, atoms separated by a distance greater than the cutoff have zero interaction energy. However, in the dynamics steps, it is the force between atom pairs that is set to zero outside the cutoff distance, which is equivalent to a potential that is a negative constant for distances greater than the cutoff distance. These two corresponding LJ potential energy profiles are radically different (Supplemental Figure A2), with the MC barostat energy (potential U2 in Supplemental Figure A2) containing an effective step change in the potential favoring smaller pairwise distances. This inconsistency between the assumed potentials in the MC and the MD steps leads to a discrepancy between the target equilibrium lipid densities in the bilayer, with a higher target density in the MC steps compared to the dynamics, introducing an effective compressive bias in the XY plane (see SI Section 3).

We believe the problematic systems then evolve as follows. The flattened, effective potential employed during dynamics leads to lower in-plane lipid density by promoting out-of-plane lipid fluctuations resulting in membrane thickening. Meanwhile, the MC barostat favors higher in-plane lipid densities than the dynamics biasing volume trial moves toward compression of the xy-area over expansion. This area reduction exacerbates the crowding experienced during dynamics and the bilayer further thickens. This positive feedback cycle continues, eventually buckling the membrane. By using potential or force switching, even over very short distances, the target densities are consistent with one another, and the effective compression is removed so the membranes do not buckle (Supplementary Table A1, see simulation #9 versus #25–27). Importantly, this process does not occur when a hard cutoff is employed with either the Berendsen or the Parrinello-Rahman barostats because they calculate the pressure from the virial, which uses MD forces – not energies – to drive changes in the box size based on the difference from the target pressure.

Next we employed an elastic energy model of the membrane that includes an energetic cost for in-plane compression together with a Helfrich-like bending energy5 to attempt to understand why small membranes only compress while large membranes buckle (see SI Section 1 and ref6). According to this model, buckling occurs when the x/y cell dimensions decrease to the point where bending is more energetically favorable than in-plane compression, giving a quantitative relationship for when that threshold is reached (SI Eq. 9). When combined with the estimate of compressive strain induced by employing the MC barostat with a hard cutoff (SI Eq. 19), we arrive at an expression that predicts the critical membrane length (Lcritical) beyond which initially planar membrane patches of length (L0) buckle:

L0>Lcritical=πκR44ρ02ελ6R2 (1)

where κ is the bilayer bending modulus, ρ0 is the initial lipid density (the inverse of the APL), ε and λ are the well depth and radius, respectively, of the LJ potential, and R is the applied LJ cutoff distance.

Putting this together, the compressive bias stresses the membrane, and that stress tends to grow with repetitive applications of the Metropolis algorithm until either the induced strain balances the effective compressive load or the membrane buckles. Compressive elastic balance is achieved quickly with the small (L0 = 90 Å) membrane patch by a simple elastic compression. Equation 1 yields an Lcritical value of 190 Å for a 10 Å hard LJ cutoff and the parameters of our simulations, correctly predicting that the small patch would not buckle while the 200 Å patch would. We conducted additional simulations to test these ideas (see SI) including simulations with an 8 Å hard cutoff (Lcritical = 122 Å) and a 12 Å hard cutoff (Lcritical = 274 Å), and the results are all consistent with Equation 1. For example, a 200 × 200 Å patch with a 12 Å cutoff does not buckle, although it does show in-plane compression (#21 in Supplementary Table A1).

In conclusion, the extreme membrane distortions discussed here for the larger membrane patches only occur when using the MC barostat in combination with a 10 Å or less LJ cutoff; simply using a switching function avoids this undesirable result. While smaller patches do not undergo extreme distortion, they do deviate from experimentally derived parameters due to the effective compression; for instance, the APL shrinks from 68.7 ± 0.9 Å2 to 65.7 ± 0.9 Å2 when changing from a switching function to a hard cutoff (see #17 and #16 in SI Table A1), with the former being in general agreement with the experimental value of 68.3 ± 1.5 Å2 7, but not the latter. These results raise a cautionary note regarding any membrane-containing simulation employing the MC barostat coupled with a hard LJ cutoff, and additional analysis would be needed to determine how other properties are impacted such as lipid-protein interactions or properties of mixed bilayers.

Methods

Initial atomic coordinates were generated using the CHARMM-GUI bilayer builder module.8 The “large” system contained 1,200 POPC lipids, 53,866 water molecules with 0.15 M KCl, and had initial dimensions of 202 × 202 × 85 Å3. The “small” system contained 240 POPC lipids, 10,766 water molecules with 0.15 M KCl and had initial dimensions of 90 × 90 × 85 Å3. These structures were used to prepare all simulations. Two parameter sets were used in this study: 1) the Amber Lipid179 force field with TIP3P water10 and Joung-Cheatham ions11 (collectively referred to as “Lipid17” or “L17” throughout), or 2) the CHARMM36 lipid force field12 with CHARMM TIP3P water10 and standard CHARMM ions (collectively referred to as “CHARMM36” or “C36” throughout).

From the starting coordinates, we initiated 5 separate equilibration runs: A) “large” system with the Lipid17 forcefield in the Amber engine13; B) “large” system with the CHARMM36 forcefield in the Amber engine; C) “large” system with the CHARMM36 forcefield in the OpenMM engine14, D) “large” system with the CHARMM36 forcefield in the Gromacs engine15; and E) “small” system with the Lipid17 forcefield in the Amber engine. Heavy atoms were restrained with a force constant of 1.0 kcal/mol/Å2, and restraints were eased stepwise over 125 ps, followed by 20 ns of unrestrained dynamics. During equilibration, treatment of Van der Waals forces was done according to what is considered standard for the force field, i.e. for CHARMM36 Lennard-Jones (LJ) forces were switched smoothly to zero in the range 10–12 Å, while for Lipid17 a plain cutoff of 10 Å was used. For equilibration of all simulations, a Berendsen barostat was used. All equilibration and production simulations used semi-isotropic pressure coupling requiring the x and y dimensions of the simulation cell to scale together while z scaled freely, a target pressure of 1 atm, a 2 fs timestep, and in all cases, long range electrostatic interactions were treated using the Particle Mesh Ewald method.16 Water molecules were kept rigid using the SETTLE algorithm17, and bonds to hydrogen atoms were converted to rigid constraints using either the SHAKE18 (Amber and OpenMM) or LINCS19 (Gromacs) algorithms. All simulations in Amber and OpenMM used Langevin dynamics with a friction coefficient of 1 ps−1, while those in Gromacs used a Berendsen thermostat during equilibration and thereafter a Nose-Hoover thermostat, in all cases to maintain a constant temperature of 310 K. Simulations using a Monte Carlo barostat applied trial moves to the box vectors once per every 100 dynamics steps.

Each of the 5 equilibrated systems (coordinates, velocities, and box vectors) was used as the common starting point for several production trajectories with different settings and parameters outlined in Supplementary Table A1 and here in the main text.

Supplementary Material

tS1
figure plot2
figure plot1
figure
figure plot3
figure plot4

Acknowledgments

We would like to thank William DeGrado for first noticing the initial distortions and prompting us to explore the cause. This work was supported by a National Science Foundation Graduate Research Fellowship (YKG) and National Institutes of Health grants R01-GM089740, R01-GM117593, R01-GM137109, and Postdoctoral fellowship 4T32HL007731-25 (JL).

Footnotes

((Additional Supporting Information may be found in the online version of this article.))

Data Availability Statement

The data that support the findings of this study are available from the corresponding author(s) upon reasonable request.

References and Notes

  • 1.Åqvist J; Wennerström P; Nervall M; Bjelic S; Brandsdal BO Chem Phys Lett 2004, 384(4–6), 288–294. [Google Scholar]
  • 2.Lee J; Hitzenberger M; Rieger M; Kern NR; Zacharias M; Im W The Journal of chemical physics 2020, 153(3), 035103. [DOI] [PubMed] [Google Scholar]
  • 3.Berendsen HJ; Postma J. v.; van Gunsteren WF; DiNola A; Haak JR The Journal of chemical physics 1984, 81(8), 3684–3690. [Google Scholar]
  • 4.Parrinello M; Rahman A Journal of Applied physics 1981, 52(12), 7182–7190. [Google Scholar]
  • 5.Helfrich W Z Naturforsch [C] 1973, 28(11), 693–703. [DOI] [PubMed] [Google Scholar]
  • 6.Eid J; Razmazma H; Jraij A; Ebrahimi A; Monticelli L The journal of physical chemistry B 2020, 124(29), 6299–6311. [DOI] [PubMed] [Google Scholar]
  • 7.Kučerka N; Tristram-Nagle S; Nagle JF The Journal of membrane biology 2006, 208(3), 193–202. [DOI] [PubMed] [Google Scholar]
  • 8.Lee J; Cheng X; Swails JM; Yeom MS; Eastman PK; Lemkul JA; Wei S; Buckner J; Jeong JC; Qi Y; Jo S; Pande VS; Case DA; Brooks CL 3rd; MacKerell AD Jr.; Klauda JB; Im W Journal of chemical theory and computation 2016, 12(1), 405–413. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Dickson CJ; Madej BD; Skjevik AA; Betz RM; Teigen K; Gould IR; Walker RC Journal of chemical theory and computation 2014, 10(2), 865–879. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Jorgensen WL; Chandrasekhar J; Madura JD; Impey RW; Klein ML Journal of Chemical Physics 1983, 79(2), 926–935. [Google Scholar]
  • 11.Joung IS; Cheatham TE 3rd. The journal of physical chemistry B 2008, 112(30), 9020–9041. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Klauda JB; Venable RM; Freites JA; O’Connor JW; Tobias DJ; Mondragon-Ramirez C; Vorobyov I; MacKerell AD Jr.; Pastor RW Journal of Physical Chemistry B 2010, 114(23), 7830–7843. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Case DA (University of California, San Francisco) 2015.
  • 14.Eastman P; Swails J; Chodera JD; McGibbon RT; Zhao Y; Beauchamp KA; Wang LP; Simmonett AC; Harrigan MP; Stern CD; Wiewiora RP; Brooks BR; Pande VS PLoS computational biology 2017, 13(7), e1005659. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Abraham MJ; Murtola T; Schulz R; Páll S; Smith JC; Hess B; Lindahl E SoftwareX 2015, 1, 19–25. [Google Scholar]
  • 16.Darden T; York D; Pedersen L Journal of Chemical Physics 1993, 98(12), 10089–10092. [Google Scholar]
  • 17.Miyamoto S; Kollman PA Journal of computational chemistry 1992, 13(8), 952–962. [Google Scholar]
  • 18.Ryckaert JP; Ciccotti G; Berendsen HJC J Comp Phys 1977, 23, 327–341. [Google Scholar]
  • 19.Hess B; Bekker H; Berendsen HJC; Fraaije JGEM Journal of computational chemistry 1997, 18(12), 1463–1472. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

tS1
figure plot2
figure plot1
figure
figure plot3
figure plot4

Data Availability Statement

The data that support the findings of this study are available from the corresponding author(s) upon reasonable request.

RESOURCES