| 1 |
# Description: |
| 2 |
# |
| 3 |
# This example shows how to build a multicomponent spherical vesicle. |
| 4 |
# The lipid bilayer is composed of a mixture of DPPC lipids with |
| 5 |
# 120 trans-membrane protein inclusions. |
| 6 |
# |
| 7 |
# The DPPC lipid model is described here: |
| 8 |
# G. Brannigan, P.F. Philips, and F.L.H. Brown, |
| 9 |
# Physical Review E, Vol 72, 011915 (2005) |
| 10 |
# The protein model is described here: |
| 11 |
# G. Bellesia, AI Jewett, and J-E Shea, |
| 12 |
# Protein Science, Vol19 141-154 (2010) |
| 13 |
# |
| 14 |
# NOTE: THE COORDINATES FOR THESE MOLECULES ARE GENERATED BY PACKMOL (see below) |
| 15 |
# |
| 16 |
# NOTE: |
| 17 |
# This example may require additional features to be added to LAMMPS. |
| 18 |
# If LAMMPS complains about an "Invalid pair_style", then copy the code |
| 19 |
# in the "additional_lammps_code" directory into your LAMMPS "src" directory |
| 20 |
# and recompile LAMMPS. |
| 21 |
|
| 22 |
# First, load the definitions of the molecules we will need: |
| 23 |
|
| 24 |
import "CGLipidBr2005.lt" |
| 25 |
using namespace CGLipidBr2005 |
| 26 |
|
| 27 |
import "1beadProtSci2010.lt" |
| 28 |
using namespace 1beadProtSci2010 |
| 29 |
|
| 30 |
# PREREQUISITES: |
| 31 |
# Coordinates for the molecules in this example are loaded from an .XYZ file |
| 32 |
# created by PACKMOL. This must be done in advance. (See ../packmol_files/) |
| 33 |
# |
| 34 |
# The XYZ file was created by PACKMOL in 3 steps: |
| 35 |
# (Add the proteins, then pack lipids in the inner & outer layers around them.) |
| 36 |
# |
| 37 |
# step1) Creae 120 proteins. Distribute them on the surface of the sphere. |
| 38 |
# |
| 39 |
# step2) Keeping the coordinates from step1 fixed, |
| 40 |
# Add 27000 DPPC lipids to the inner monolayer |
| 41 |
# |
| 42 |
# step3) Keeping the coordinates from steps 1 and 2 fixed, |
| 43 |
# Add 38000 DPPC lipids to the outer monolayer |
| 44 |
# |
| 45 |
# The order that molecules are created in moltemplate should match the order |
| 46 |
# they appear in the final XYZ file created by PACKMOL. (See above.) |
| 47 |
# Consequently I instantiate the molecules in the same order here: |
| 48 |
|
| 49 |
|
| 50 |
# Step 1) ---- protein inclusions ---- |
| 51 |
|
| 52 |
proteins = new 4HelixInsideOut [120] |
| 53 |
|
| 54 |
# Step 2) ---- inner monolayer ---- |
| 55 |
dppc_in = new DPPC [27000] |
| 56 |
|
| 57 |
# Step 3) ---- outer monolayer ---- |
| 58 |
dppc_out = new DPPC [38000] |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
# ------------------ boundary conditions -------------------- |
| 63 |
|
| 64 |
write_once("Data Boundary") { |
| 65 |
-500.0 500.0 xlo xhi |
| 66 |
-500.0 500.0 ylo yhi |
| 67 |
-500.0 500.0 zlo zhi |
| 68 |
} |
| 69 |
|
| 70 |
|
| 71 |
# -------- interactions between protein and lipids ---------- |
| 72 |
|
| 73 |
# Note: All atom types must include the full path (the name of |
| 74 |
# the namespace which defined them as well as the atom type name). |
| 75 |
# (This is because we are no longer inside that namespace.) |
| 76 |
|
| 77 |
|
| 78 |
write_once("In Settings") { |
| 79 |
|
| 80 |
# Interactions between the protein and lipid atoms are usually |
| 81 |
# determined by mixing rules. However this is not possible some |
| 82 |
# for atoms (such as the "int" atoms in the lipid model which |
| 83 |
# interact using -1/r^2 attraction). Lorentz-Berthelot mixing |
| 84 |
# rules do not make sense for these atoms so we must explicitly |
| 85 |
# define their interaction with all other atoms. |
| 86 |
|
| 87 |
# i j pairstylename eps sig K L |
| 88 |
|
| 89 |
pair_coeff @atom:CGLipidBr2005/int @atom:1beadProtSci2010/sH lj/charmm/coul/charmm/inter 2.07753457 7.5 1 -1 |
| 90 |
pair_coeff @atom:CGLipidBr2005/int @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 2.07753457 7.5 1 0 |
| 91 |
pair_coeff @atom:CGLipidBr2005/int @atom:1beadProtSci2010/tN lj/charmm/coul/charmm/inter 2.07753457 7.5 1 0 |
| 92 |
|
| 93 |
# We want the interactions between hydrophobic residues and atoms in |
| 94 |
# the interior of the lipid to be energetically similar to the attractive |
| 95 |
# interactions between hydrophobic residues. (See 1beadProtSci2010.) |
| 96 |
|
| 97 |
pair_coeff @atom:CGLipidBr2005/tail @atom:1beadProtSci2010/sH lj/charmm/coul/charmm/inter 2.07753457 7.5 1 -1 |
| 98 |
|
| 99 |
# All other interactions between proteins and lipids are steric. |
| 100 |
pair_coeff @atom:CGLipidBr2005/tail @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 2.07753457 7.5 1 0 |
| 101 |
pair_coeff @atom:CGLipidBr2005/tail @atom:1beadProtSci2010/tN lj/charmm/coul/charmm/inter 2.07753457 7.5 1 0 |
| 102 |
pair_coeff @atom:CGLipidBr2005/DPPC/head @atom:1beadProtSci2010/sH lj/charmm/coul/charmm/inter 2.07753457 7.5 1 0 |
| 103 |
pair_coeff @atom:CGLipidBr2005/DPPC/head @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 2.07753457 7.5 1 0 |
| 104 |
pair_coeff @atom:CGLipidBr2005/DLPC/head @atom:1beadProtSci2010/sH lj/charmm/coul/charmm/inter 2.07753457 7.5 1 0 |
| 105 |
pair_coeff @atom:CGLipidBr2005/DLPC/head @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 2.07753457 7.5 1 0 |
| 106 |
|
| 107 |
|
| 108 |
# We also add an artificial attractive interaction between the |
| 109 |
# turn residues of the protein and the lipid head groups in |
| 110 |
# order to keep the protein upright. This might not be necessary |
| 111 |
|
| 112 |
pair_coeff @atom:CGLipidBr2005/DPPC/head @atom:1beadProtSci2010/tN lj/charmm/coul/charmm/inter 2.07753457 6.0 1 -1 |
| 113 |
pair_coeff @atom:CGLipidBr2005/DLPC/head @atom:1beadProtSci2010/tN lj/charmm/coul/charmm/inter 2.07753457 6.0 1 -1 |
| 114 |
|
| 115 |
# Add a weak attractive interaction between hydrophilic "sL" beads |
| 116 |
# (Whose strength mimics the strength of interaction between tail beads |
| 117 |
# in the lipid. This was absent from the original protein model. |
| 118 |
# However without some kind of weak attraction between residues, |
| 119 |
# the negative pressure in the interior of the bilayer membrane |
| 120 |
# allways pulls the protein apart. Recall that in the membrane, |
| 121 |
# the hydrophobic beads in the protein will face outwards towards the lipid |
| 122 |
# tails leaving the hydrophilic amino acids of the protein in the interior. |
| 123 |
# In reality, these polar groups form hydrogen bonds with each other.) |
| 124 |
|
| 125 |
pair_coeff @atom:1beadProtSci2010/sL @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 0.37789 4.8 0.4 -1 |
| 126 |
|
| 127 |
# However these hydrophilic amino acids are not attracted to |
| 128 |
# the bilayer interior. |
| 129 |
|
| 130 |
pair_coeff @atom:CGLipidBr2005/int @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 0.18894 7.5 0.4 0 |
| 131 |
pair_coeff @atom:CGLipidBr2005/tail @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 0.18894 7.5 0.4 0 |
| 132 |
|
| 133 |
} |
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
# Finally, we must combine the two force-field styles which were used for |
| 139 |
# the coarse-grained lipid and protein. To do that, we write one last time |
| 140 |
# to the "In Init" section. When reading the "Init" section LAMMPS will |
| 141 |
# read these commands last and this will override any earlier settings. |
| 142 |
|
| 143 |
write_once("In Init") { |
| 144 |
# -- These styles override earlier settings -- |
| 145 |
units lj #(temperature should be specified in energy units) |
| 146 |
atom_style full |
| 147 |
# (Hybrid force field styles were used for portability.) |
| 148 |
bond_style hybrid harmonic |
| 149 |
angle_style hybrid cosine/delta harmonic |
| 150 |
dihedral_style hybrid fourier |
| 151 |
improper_style none |
| 152 |
pair_style hybrid table linear 1001 lj/charmm/coul/charmm/inter es4k4l 14.5 15 |
| 153 |
pair_modify mix arithmetic |
| 154 |
special_bonds lj 0.0 0.0 1.0 # turn off pairs if "less than 3 bonds" |
| 155 |
} |
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
# OPTIONAL: Since we use PACKMOL in this example, create a file |
| 162 |
# (named "log.cite.packmol") containing a link to the PACKMOL paper. |
| 163 |
|
| 164 |
write_once("log.cite.packmol") { |
| 165 |
L. Martinez, R. Andrade, E. G. Birgin, J. M. Martinez, |
| 166 |
PACKMOL: A package for building initial configurations for |
| 167 |
molecular dynamics simulations. |
| 168 |
Journal of Computational Chemistry, 30:2157-2164,2009. |
| 169 |
https://doi.org/10.1002/jcc.21224 |
| 170 |
} |