Abstract
Construction of lipid membrane and membrane protein systems for molecular dynamics simulations can be a challenging process. In addition, there are few available tools to extend existing studies by repeating simulations using other force fields and lipid compositions. To facilitate this, we introduce lipidconverter, a modular Python framework for exchanging force fields and lipid composition in coordinate files obtained from simulations. Force fields and lipids are specified by simple text files, making it easy to introduce support for additional force fields and lipids. The converter produces simulation input files that can be used for structural relaxation of the new membranes.
Keywords: molecular dynamics, lipid bilayers, membrane composition
Introduction
Molecular dynamics simulations of membrane systems and membrane proteins are becoming increasingly important, both as our ability to embrace larger systems on longer timescales increase, but also as more and more structures of membrane proteins become available from X-ray crystallography and NMR studies. Some examples highlighting the advances made over recent years include simulations of the Gramicidin A channel1, potassium channels2 and different transporters (as reviewed in 3). The accuracy of any simulation depends on the underlying model physics represented by the force field and parameterization of the molecular species in question under that force field. Such parameterizations are typically laborious and tend to be undertaken for individual molecules and force fields, although more general approaches have been developed4-6. Also, the construction of lipid membrane systems for simulations can often be time-consuming and specific to the simulation software or system employed. While there are simple, easy-to-use tools for construction of membrane systems in some systems, we desire a systematic framework to allow a broad range of users to adapt membrane systems to their parameter set of choice.
Results and Discussion
The aim of lipid-converter is to provide the research community with a tool that makes it simple to swap force fields and lipid compositions within a coordinate file. It is written in Python and requires no external libraries other than NumPy for numeric operations, gflags for command-line parsing, and the optional library NetworkX for automatic leaflet identification. It has two modes of operation, transformation and conversion. When transforming between force fields, lipid-converter currently supports lipids from the following the following parameter sets: Berger7, Gromos 43A1-S38, Gromos 53A69, Gromos 53A710, CHARMM3611, OPLS-UA12, and LIPID1113 (for details, see Table 1). Since the Stockholm Lipids14, compatible with the Amber force fields, uses the same nomenclature as CHARMM, this is thus also supported by extension. The combinations that are supported are obviously limited by the available parameterizations of different lipids and force fields. All transformations and conversions are specified in simple data files, and are performed by lipidconverter by simply matching atom names in the input and output files.
Table 1.
Table of currently supported combinations of force field transformations. Note that the Stockholm Lipids (Slipids) uses the same atom nomenclature as Charmm36.
Input forcefield | Output forcefield | Lipids in input file |
---|---|---|
Berger | Charmm36 | POPC,POPE,POPG,POPS,DMPC,DOPC,DPP |
Gromos43A1-S3 | Charmm36 | POPC,DMPC,DOPC,DPPC,DLPC |
Gromos53A6 | Charmm36 | POPC,POPG,DMPC,DPPC |
Gromos54A7 | Charmm36 | POPC,POPS,DMPC,DOPC,DPPC |
Berger | Gromos43A1-S3 | POPC,DMPC,DOPC,DPPC |
Amber/Lipidll | Charmm36 | POPC,POPE,POPS,POPG,DPPC,DOPC |
Charmm36 | Amber/Lipid11 | POPC,POPE,POPS,POPG,DPPC,DOPC |
Transforming heavy atoms between different force fields is a relatively straightforward procedure and requires only reordering and renaming atoms. When necessary, lipid-converter also constructs explicit hydrogens automatically. Converting between lipid types, however, may involve adding or removing atoms. Here lipid-converter tries as much as possible to preserve the geometry of the original lipids. Lipids in a bilayer environment are often somewhat entangled, and any addition or deletion of atoms might introduce clashes or voids in the system. Conversions between lipids are defined based on the differences and similarities between pairs of lipids. A simple example to illustrate this is the conversion from POPC to POPE in the CHARMM36 force field. This involves renaming of the C13, C14 and C15 head-group carbons into HN1, HN2 and HN3, while also removing the methyl hydrogens. Additional combinations have been implemented similarly, as shown in Table 2, and are easily extensible by the user. This allows the user to take an existing bilayer that may have been modified—perhaps by inserting proteins—and now study the influence on a different lipid composition in a straightforward manner without the need to construct a new membrane system from scratch.
Table 2.
Table of currently supported combinations of lipid type conversions. Similary as for transformations, support for Charmm36 also means support for Slipids.
Forcefield | Input lipid | Output lipid |
---|---|---|
Charmm36 | POPC | POPE,POPG,POPS,DOPC,DMPC,DPPC |
POPE | POPC,POPG,POPS,DOPC,DMPC,DPPC | |
POPG | POPC,POPE,POPS,DOPC,DMPC,DPPC | |
POPS | POPQPOPE | |
Gromos43Al-S3 | POPC | POPE,DOPC,DMPC,DPPC,DLPC |
POPE | POPC,DOPC,DMPC,DPPC,DLPC | |
DMPC | POPC,POPE,DOPC,DPPC,DLPC | |
DOPC | POPC,POPE,DMPC,DPPC,DLPC | |
DPPC | POPC,POPE,DMPC,DOPC,DLPC | |
DLPC | POPC,POPE,DMPC,DPPC,DOPC |
The usage of lipid-converter on the command line is very simple and straight forward. The user specifies an input coordinate file-either a PDB file or a Gromacs15 coordinate file-and the source and target force fields. The transformation is very quick; for a large vesicle system containing roughly 1700 POPC and POPE lipids, transformation from Berger parameters to CHARMM36 takes around 3 minutes, with most time spent constructing hydrogen atom positions. The web server is structured similarly but imposes an upper limit on the size of the system that can be processed due to server memory restrictions. When a conversion from one lipid species to another is requested, the user can decide to replace only every nth original lipid. This facilitates conversion of systems that originally consisted of only a single lipid species to a more complex simulation (see examples of usage below).
To illustrate the usage of lipid-converter, we used the Charmm-gui16 website to construct a membrane patch with 256 POPC lipids and 9374 water molecules. We converted this system to five other force fields and ran 250 ns simulations of each. Structural relaxation was tracked via the average lateral area per lipid head group. Different force fields will give slightly different results, but starting from the CHARMM36 formatted bilayer, all simulations reproduce within a 10% error the experimental area (0.683 nm2) per head group of POPC (Fig. 1). Of perhaps equal importance, average areas per head group measured over the interval 150 to 200 ns for each simulation are all within 1.5% of the value reported in the primary publication for each target force field. This demonstrates that lipidconverter is able to produce starting files that, together with appropriate run parameters, can match structural parameters for the canonical version of the target force field.
Figure 1. Lateral area per headgroup for POPC with different force fields staring from CHARMM36.
Different force fields result in different area values, but they all fall within the range of values that have been suggested from experiments (0.54-0.683 nm2)22,23 as well as close to the values reported in the primary publication(s) for each force field (dashed lines). Simulations for each force field have been continued to at least 250 ns and continue to show average areas per head group of within 1.5% of the values reported in the primary
Lipid-converter can also be used to generate membrane systems with an asymmetric lipid distribution. To assign lipids to leaflets in an automated manner, it uses the algorithm outlined by Michaud-Agrawal et al17. As noted by those authors, for a flat bilayer it is very simple to compare the z-coordinate of each lipid to the center of geometry and so be able to assign lipids to separate lipids. A strong point of the present algorithm is that it can also label leaflets in curved systems such as vesicles in an automated fashion.
An overview of supported force field transformations and lipid type conversions is presented in Tables 1 and 2. Due to the simple format of the data files for transformations and conversions, adding support for additional operations is trivial. As a final note, lipid-converter processes lipid molecules only; if the input file also contains protein and solvent molecules, those will be stripped out (to reduce memory footprint during processing) and must be added back in postprocessing.
Examples of usage
The command line client for lipid-converter is available after installation as a python-script called lipid-converter.py. The package documentation contains detailed usage information, but we summarize some common use cases here as well:
- Transformation of a CHARMM46 input bilayer to AMBER/lipid11$ lipid-converter.py -f input_file.pdb (.gro) -o output.pdb (.gro) -mode transform -ffin charmm36 -ffout lipid11 -canonical
- Conversion of a bilayer with Berger POPE to POPC, but converting only every second POPE to POPC$ lipid-converter.py -f input_file.pdb (.gro) -o output.pdb (.gro) -mode convert -ffin berger -lin POPE - lout POPC -canonical -n 2
- Making an asymmetric bilayer, starting from an all-POPC bilayer, changing every second POPC in the upper leaflet to POPE, and every third POPC in the lower leaflet to POPG$ lipid_converter.py -f step5_popc_only.gro -o foo.gro - mode convert -ffin charmm36 -lin POPC:POPC -lout POPE:POPG -asymmetry -n 2:3 -canonical
Methods
All simulations were started from a lipid bilayer consisting of 256 POPC lipids and 9374 water molecules obtained from the CHARMM-GUI16 website. Using lipid-converter, this coordinate file was transformed into Gromos43A1-S38, Gromos 53A69, Gromos 54A710, Berger7 and OPLS-UA12 nomenclature, respectively. For each target parameter set, this POPC membrane system was simulated for at least 250 ns using Gromacs 4.515. Long-range electrostatics were calculated using the Particle mesh Ewald-method18. Simulations with Gromos53A6, Gromos54A7 and Berger used a real-space cutoff of 1.2 nm while Gromos43A1-S3 and OPLS simulations used a 1.0 nm cutoff for electrostatic interactions. Lennard-Jones interactions where evaluated using a straight 1.2 nm cutoff for Gromos53A6, Gromos54A7 and Berger and a 1.0 nm cutoff for OPLS. Gromos43A1-S3 used a twin-range Lennard-Jones cutoff of 1.0/1.6 nm. All bonds were constrained using the LINCS19 algorithm. All systems were first energy minimized after conversion for 500 steps using Steepest descents, and simulations were then run using a 2 fs time step at a temperature of 300K maintained by the V-rescale thermostat20 and a pressure of 1 bar with the Parrinello-Rahman barostat21. Other settings, including appropriate water models, were chosen so to as closely as possible replicate the original methodologies found in the respective publications.
Conclusions
We have created lipid-converter, an open source and easily extendable Python framework for manipulation of lipids in molecular dynamics simulations. By design, it is very simple to introduce other kinds of lipids and force fields into the framework. This functionality is especially important for performing studies to compare and contrast the effect of different lipids and force fields in molecular dynamics simulations. Of course, since both choice of force field and lipid composition affect membrane structural parameters; careful re-equilibration is always necessary. An online version of this tool is available at http://lipidconverter.appspot.com; the code is also available for download from the Python Package Index. The code is licensed under LGPL2.
Acknowledgements
We thank Matt Eckler for beta-testing lipid converter.
Funding: This work was supported by an European Union fellowship (Marie Curie) PIOF-GA-2010-275548 to PL and NIH grant RO1GM098304 to PK.
Footnotes
Conflict of interest: None declared.
References
- 1.Roux B, Karplus M. Molecular Dynamics Simulations of the Gramicidin Channel. Annu. Rev. Biophys. Biomol. Struct. 1994;23:731–761. doi: 10.1146/annurev.bb.23.060194.003503. [DOI] [PubMed] [Google Scholar]
- 2.Jensen MO, et al. Mechanism of Voltage Gating in Potassium Channels. Science. 2012;336:229–233. doi: 10.1126/science.1216533. [DOI] [PubMed] [Google Scholar]
- 3.Oloo EO, Kandt C, O'Mara ML, Tieleman DP. Computer simulations of ABC transporter components. Biochemistry and cell biology. 2006;84:900–911. doi: 10.1139/o06-182. [DOI] [PubMed] [Google Scholar]
- 4.Malde AK, et al. An Automated Force Field Topology Builder (ATB) and Repository: Version 1.0. Journal of Chemical Theory and Computation. 2011;7:4026–4037. doi: 10.1021/ct200196m. [DOI] [PubMed] [Google Scholar]
- 5.da Silva A, Vranken WF. BMC Research Notes | Full text | ACPYPE - AnteChamber PYthon Parser interfacE. BMC research notes. 2012 doi: 10.1186/1756-0500-5-367. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Vanommeslaeghe K, MacKerell AD., Jr. Automation of the CHARMM General Force Field (CGenFF) I: Bond Perception and Atom Typing. J Chem Inf Model. 2012;52:3144–3154. doi: 10.1021/ci300363c. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Berger O, Edholm O, Jänig F. Molecular dynamics simulations of a fluid bilayer of dipalmitoylphosphatidylcholine at full hydration, constant pressure, and constant temperature. Biophysical Journal. 1997;72:2002–2013. doi: 10.1016/S0006-3495(97)78845-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Chiu S-W, Pandit SA, Scott HL, Jakobsson E. An Improved United Atom Force Field for Simulation of Mixed Lipid Bilayers. J Phys Chem B. 2009;113:2748–2763. doi: 10.1021/jp807056c. [DOI] [PubMed] [Google Scholar]
- 9.Kukol A. Lipid Models for United-Atom Molecular Dynamics Simulations of Proteins. Journal of Chemical Theory and Computation. 2009;5:615–626. doi: 10.1021/ct8003468. [DOI] [PubMed] [Google Scholar]
- 10.Poger D, Van Gunsteren WF, Mark AE. A new force field for simulating phosphatidylcholine bilayers. J Comput Chem. 2010;31:1117–1125. doi: 10.1002/jcc.21396. [DOI] [PubMed] [Google Scholar]
- 11.Klauda JB, et al. Update of the CHARMM all-atom additive force field for lipids: validation on six lipid types. J Phys Chem B. 2010;114:7830–7843. doi: 10.1021/jp101759q. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Ulmschneider JP, Ulmschneider MB. United Atom Lipid Parameters for Combination with the Optimized Potentials for Liquid Simulations All- Atom Force Field - Journal of Chemical Theory and Computation (ACS Publications). Journal of Chemical Theory. 2009 doi: 10.1021/ct900086b. [DOI] [PubMed] [Google Scholar]
- 13.Skjevik ÅA, Madej BD, Walker RC, Teigen K. LIPID11: a modular framework for lipid simulations using amber. J Phys Chem B. 2012;116f:11124–11136. doi: 10.1021/jp3059992. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Jäbeck JPM, Lyubartsev AP. Derivation and systematic validation of a refined all-atom force field for phosphatidylcholine lipids. J Phys Chem B. 2012;116:3164–3179. doi: 10.1021/jp212503e. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Pronk S, et al. GROMACS 4.5: A high-throughput and highly parallel open source molecular simulation toolkit. Bioinformatics. 2013 doi: 10.1093/bioinformatics/btt055. doi:10.1093/bioinformatics/btt055. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Jo S, Kim T, Iyer VG, Im W. CHARMM-GUI: a web-based graphical user interface for CHARMM. J Comput Chem. 2008;29:1859–1865. doi: 10.1002/jcc.20945. [DOI] [PubMed] [Google Scholar]
- 17.Michaud-Agrawal N, Denning EJ, Woolf TB, Beckstein O. MDAnalysis: A toolkit for the analysis of molecular dynamics simulations. J Comput Chem. 2011;32:2319–2327. doi: 10.1002/jcc.21787. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Darden T, York D, Pedersen L. Particle mesh Ewald: An N ⍰log(N) method for Ewald sums in large systems. J. Chem. Phys. 1993;98:10089–10092. [Google Scholar]
- 19.Hess B, Hess B. P-LINCS: A parallel linear constraint solver for molecular simulation. Journal of Chemical Theory and Computation. 2008;4:116–122. doi: 10.1021/ct700200b. [DOI] [PubMed] [Google Scholar]
- 20.Bussi G, et al. Canonical sampling through velocity rescaling. J. Chem. Phys. 2007;126:014101. doi: 10.1063/1.2408420. [DOI] [PubMed] [Google Scholar]
- 21.Parrinello M. Polymorphic transitions in single crystals: A new molecular dynamics method. J. Appl. Phys. 1981;52:7182–7190. [Google Scholar]
- 22.Pabst G, Rappolt M, Amenitsch H, Laggner P. Structural information from multilamellar liposomes at full hydration: full q-range fitting with high quality x-ray data. Phys Rev E Stat Phys Plasmas Fluids Relat Interdiscip Topics. 2000;62:4000–4009. doi: 10.1103/physreve.62.4000. [DOI] [PubMed] [Google Scholar]
- 23.Kucerka N, et al. Structure of Fully Hydrated Fluid Phase DMPC and DLPC Lipid Bilayers Using X-Ray Scattering from Oriented Multilamellar Arrays and from Unilamellar Vesicles. Biophysical Journal. 2005;88:12–12. doi: 10.1529/biophysj.104.056606. [DOI] [PMC free article] [PubMed] [Google Scholar]