Debian Codegraph @

examples/coarse_grained/membrane_examples/membrane_BranniganPRE2005/moltemplate_files/system.lt

raw
1 # Description:
2
3 # This constructs a bilayer constructed from coarse-grained DPPC lipids
4 # (implicit solvent). The DPPC lipid model is described here:
5 # G. Brannigan, P.F. Philips, and F.L.H. Brown,
6 # Physical Review E, Vol 72, 011915 (2005)
7 #
8 # NOTE: There is an example of a 50%/50% DPPC & DLPC mixture
9 # in the "membrane+protein" and "vesicle" examples.
10
11
12
13
14
15
16 import "CGLipidBr2005Orig.lt"
17
18 using namespace CGLipidBr2005
19
20 lipids = new DPPC [32].move(7.5, 0, 0)
21 [37].move(3.75, 6.49519, 0)
22 [2].rot(180, 1, 0, 0)
23
24
25 # Move the lipds up to the center of the box
26 lipids[*][*][*].move(0,0,75.0)
27
28
29 # Although this patch of lipids is not square or rectangular, (it looks
30 # like a parallelogram), this is no longer the case after rectangular
31 # periodic boundary conditions are applied. We apply them below:
32 # width: 240 = 32*7.5
33 # height: 240.322 = 37*6.49519
34
35 write_once("Data Boundary") {
36 0 240 xlo xhi
37 0 240.322 ylo yhi
38 0 150.0 zlo zhi
39 }
40
41
42
43
44
45
46
47
48 # -------------- File ends here. Only comments below.-------------------
49
50 # ------------------------------------
51 # ------------- COMMENTS: ------------
52 # ------------------------------------
53 #
54 # A note on geometry:
55 # We want to create a bilayer arranged in a hexagonal lattice consisting of
56 # 32 rows (each row is aligned with the x-axis)
57 # 37 columns (aligned at a 60 degree angle from the x axis)
58 # The lattice spacing is 8.0 Angstroms ( ~= 0.95*sigma*2^(1/6), where sigma=7.5)
59 # When wrapped onto a rectangular box, the dimensions of the system are:
60 # 32 * 7.5 Angstroms in the X direction
61 # 37 * 7.5*sqrt(3)/2 Angstroms in the Y direction
62 # ------------------------------------
63 #
64 # Below I show simple ways to create a lipid bilayer:
65 #
66 # 1) If you just want to make lipid bilayer out of DPPC,
67 # without specifying the location of each lipid, you could use this syntax:
68 # lipids = new DPPC [32][37][2] # 3-D array
69 # Later you can load in the coordinates of the lipds from a PDB file.
70 # Alternately you could also use a 1-dimensional array:
71 # lipids = new DPPC [2368] # 1-D array. Note: 2368 = 32 x 37 x 2
72 # It does not matter as long as the number of lipids is correct.
73 # Multidimensional arrays are only useful if you plan to apply independent
74 # coordinate transformations to each row and column and monolayer. See below:
75 #
76 # 2) Instead of loading a PDB file later, we can directly specify the location
77 # of each DPPC lipid in the LT file itself. For lipid bilayers, this is
78 # easy, because the bilayer structure resembles 2 planar lattices.
79 # We can use "move" commands to place each lipid, and the "rot" command
80 # to turn the lipids in one of the monolayers upside down.
81 #
82 # lipids = new DPPC [32].move(7.5, 0, 0)
83 # [37].move(3.75, 6.49519, 0)
84 # [2].rot(180, 1, 0, 0)
85 #
86 # 3) If you want to create a bilayer from a mixture of DPPC and DLPC, you must
87 # replace "DPPC" in the command above with random([DPPC,DLPC],[0.5,0.5],12345)
88 # Here "0.5,0.5" are the probabilities for each molecule type, and "12345"
89 # is an optional random seed.
90 # lipids = new random([DPPC,DLPC], [0.5,0.5], 12345)
91 # [32].move(7.5, 0, 0)
92 # [37].move(3.75, 6.49519, 0)
93 # [2].rot(180, 1, 0, 0)
94 #