| 1 |
# Description: |
| 2 |
|
| 3 |
# This example shows how to put a protein (inclusion) in a |
| 4 |
# lipid bilayer mixture composed of two different lipids (DPPC and DLPC). |
| 5 |
# The DPPC lipid model is described here: |
| 6 |
# G. Brannigan, P.F. Philips, and F.L.H. Brown, |
| 7 |
# Physical Review E, Vol 72, 011915 (2005) |
| 8 |
# The protein model is described here: |
| 9 |
# G. Bellesia, AI Jewett, and J-E Shea, |
| 10 |
# Protein Science, Vol19 141-154 (2010) |
| 11 |
# The new DLPC model is a truncated version of DPPC, |
| 12 |
# (Its behaviour has not been rigorously tested.) |
| 13 |
# Note that 50%/50% mixtures of DPPC & DLPC are commonly used to |
| 14 |
# build liposomes http://www.ncbi.nlm.nih.gov/pubmed/10620293 |
| 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 |
|
| 23 |
|
| 24 |
import "CGLipidBr2005.lt" |
| 25 |
|
| 26 |
using namespace CGLipidBr2005 |
| 27 |
|
| 28 |
# The "= new random" syntax chooses one of several molecules at random |
| 29 |
|
| 30 |
lipids = new random([DPPC, DLPC], [0.5,0.5], 1234) #"1234"=random_seed |
| 31 |
[13].move(7.5, 0, 0) |
| 32 |
[15].move(3.75, 6.49519, 0) # <-- hexagonal lattice |
| 33 |
[2].rot(180, 1, 0, 0) # <-- 2 monolayers |
| 34 |
|
| 35 |
# Move all the lipds up to the center of the box |
| 36 |
|
| 37 |
lipids[*][*][*].move(0,0,75.0) |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
# Although this patch of lipids is not square or rectangular, (it looks |
| 43 |
# like a parallelogram), this is no longer the case after rectangular |
| 44 |
# periodic boundary conditions are applied. (Check by visualising in VMD.) |
| 45 |
|
| 46 |
|
| 47 |
write_once("Data Boundary") { |
| 48 |
0 97.5 xlo xhi |
| 49 |
0 97.42785792 ylo yhi |
| 50 |
0 150.0 zlo zhi |
| 51 |
} |
| 52 |
|
| 53 |
|
| 54 |
# A note on geometry: |
| 55 |
# We want to create a bilayer arranged in a hexagonal lattice consisting of |
| 56 |
# 15 rows (each row is aligned with the x-axis) |
| 57 |
# 13 columns (aligned at a 60 degree angle from the x axis) |
| 58 |
# The lattice spacing is 7.5 Angstroms. |
| 59 |
# When wrapped onto a rectangular box, the dimensions of the system are: |
| 60 |
# 13 * 7.5 Angstroms in the X direction |
| 61 |
# 15 * 7.5*sqrt(3)/2 Angstroms in the Y direction |
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
# ------------------- protein inclusion --------------------- |
| 70 |
|
| 71 |
import "1beadProtSci2010.lt" |
| 72 |
|
| 73 |
using namespace 1beadProtSci2010 |
| 74 |
|
| 75 |
protein = new 4HelixInsideOut |
| 76 |
|
| 77 |
protein.move(45.0, 25.98076211, 75.0) |
| 78 |
|
| 79 |
|
| 80 |
# Delete a hole in the membrane to create space for the protein. |
| 81 |
# (In the future moltemplate will be able to avoid occlusion automatically.) |
| 82 |
|
| 83 |
|
| 84 |
delete lipids[4][2][*] |
| 85 |
delete lipids[6][2][*] |
| 86 |
delete lipids[3-6][3][*] |
| 87 |
delete lipids[3-5][4][*] |
| 88 |
delete lipids[2-5][5][*] |
| 89 |
delete lipids[2][6][*] |
| 90 |
delete lipids[4][6][*] |
| 91 |
|
| 92 |
|
| 93 |
# -------- interactions between protein and lipids ---------- |
| 94 |
|
| 95 |
# Note: All atom types must include the full path (the name of |
| 96 |
# the namespace which defined them as well as the atom type name). |
| 97 |
# (This is because we are no longer inside that namespace.) |
| 98 |
|
| 99 |
|
| 100 |
write_once("In Settings") { |
| 101 |
|
| 102 |
# Interactions between the protein and lipid atoms are usually |
| 103 |
# determined by mixing rules. However this is not possible some |
| 104 |
# for atoms (such as the "int" atoms in the lipid model which |
| 105 |
# interact using -1/r^2 attraction). Lorentz-Berthelot mixing |
| 106 |
# rules do not make sense for these atoms so we must explicitly |
| 107 |
# define their interaction with all other atoms. |
| 108 |
|
| 109 |
# i j pairstylename eps sig K L |
| 110 |
|
| 111 |
pair_coeff @atom:CGLipidBr2005/int @atom:1beadProtSci2010/sH lj/charmm/coul/charmm/inter 1.8065518 7.5 1 -1 |
| 112 |
pair_coeff @atom:CGLipidBr2005/int @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 1.8065518 7.5 1 0 |
| 113 |
pair_coeff @atom:CGLipidBr2005/int @atom:1beadProtSci2010/tN lj/charmm/coul/charmm/inter 1.8065518 7.5 1 0 |
| 114 |
|
| 115 |
# We want the interactions between hydrophobic residues and atoms in |
| 116 |
# the interior of the lipid to be energetically similar to the attractive |
| 117 |
# interactions between hydrophobic residues. (See 1beadProtSci2010.) |
| 118 |
|
| 119 |
pair_coeff @atom:CGLipidBr2005/tail @atom:1beadProtSci2010/sH lj/charmm/coul/charmm/inter 1.8065518 7.5 1 -1 |
| 120 |
|
| 121 |
# All other interactions between proteins and lipids are steric. |
| 122 |
pair_coeff @atom:CGLipidBr2005/tail @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 1.8065518 7.5 1 0 |
| 123 |
pair_coeff @atom:CGLipidBr2005/tail @atom:1beadProtSci2010/tN lj/charmm/coul/charmm/inter 1.8065518 7.5 1 0 |
| 124 |
pair_coeff @atom:CGLipidBr2005/DPPC/head @atom:1beadProtSci2010/sH lj/charmm/coul/charmm/inter 1.8065518 7.5 1 0 |
| 125 |
pair_coeff @atom:CGLipidBr2005/DPPC/head @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 1.8065518 7.5 1 0 |
| 126 |
pair_coeff @atom:CGLipidBr2005/DLPC/head @atom:1beadProtSci2010/sH lj/charmm/coul/charmm/inter 1.8065518 7.5 1 0 |
| 127 |
pair_coeff @atom:CGLipidBr2005/DLPC/head @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 1.8065518 7.5 1 0 |
| 128 |
|
| 129 |
|
| 130 |
# We also add an artificial attractive interaction between the |
| 131 |
# turn residues of the protein and the lipid head groups in |
| 132 |
# order to keep the protein upright. This might not be necessary |
| 133 |
|
| 134 |
pair_coeff @atom:CGLipidBr2005/DPPC/head @atom:1beadProtSci2010/tN lj/charmm/coul/charmm/inter 1.8065518 6.0 1 -1 |
| 135 |
pair_coeff @atom:CGLipidBr2005/DLPC/head @atom:1beadProtSci2010/tN lj/charmm/coul/charmm/inter 1.8065518 6.0 1 -1 |
| 136 |
|
| 137 |
# Add a weak attractive interaction between hydrophilic "sL" beads |
| 138 |
# (Whose strength mimics the strength of interaction between tail beads |
| 139 |
# in the lipid. This was absent from the original protein model. |
| 140 |
# However without some kind of weak attraction between residues, |
| 141 |
# the negative pressure in the interior of the bilayer membrane |
| 142 |
# allways pulls the protein apart. Recall that in the membrane, |
| 143 |
# the hydrophobic beads in the protein will face outwards towards the lipid |
| 144 |
# tails leaving the hydrophilic amino acids of the protein in the interior. |
| 145 |
# In reality, these polar groups form hydrogen bonds with each other.) |
| 146 |
|
| 147 |
pair_coeff @atom:1beadProtSci2010/sL @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 0.3286 6.0 0.4 -1 |
| 148 |
|
| 149 |
# However these hydrophilic amino acids are not attrected to |
| 150 |
# the bilayer interior. |
| 151 |
|
| 152 |
pair_coeff @atom:CGLipidBr2005/int @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 0.1643 7.5 0.4 0 |
| 153 |
pair_coeff @atom:CGLipidBr2005/tail @atom:1beadProtSci2010/sL lj/charmm/coul/charmm/inter 0.1643 7.5 0.4 0 |
| 154 |
|
| 155 |
} |
| 156 |
|
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
# Finally, we must combine the two force-field styles which were used for |
| 161 |
# the coarse-grained lipid and protein. To do that, we write one last time |
| 162 |
# to the "In Init" section. When reading the "Init" section LAMMPS will |
| 163 |
# read these commands last and this will override any earlier settings. |
| 164 |
|
| 165 |
write_once("In Init") { |
| 166 |
# -- These styles override earlier settings -- |
| 167 |
units real |
| 168 |
atom_style full |
| 169 |
# (Hybrid force field styles were used for portability.) |
| 170 |
bond_style hybrid harmonic |
| 171 |
angle_style hybrid cosine/delta harmonic |
| 172 |
dihedral_style hybrid fourier |
| 173 |
improper_style none |
| 174 |
pair_style hybrid table linear 1001 lj/charmm/coul/charmm/inter es4k4l 14.5 15 |
| 175 |
pair_modify mix arithmetic |
| 176 |
special_bonds lj 0.0 0.0 1.0 # turn off pairs if "less than 3 bonds" |
| 177 |
} |
| 178 |
|