| 1 |
# This file defines the "frustrated" coarse-grained protein model used in: |
| 2 |
# AI Jewett, A Baumketner and J-E Shea, PNAS, 101 (36), 13192-13197, (2004) |
| 3 |
# (http://www.pnas.org/content/101/36/13192) |
| 4 |
|
| 5 |
|
| 6 |
1beadFrustrated { |
| 7 |
|
| 8 |
# There are 3 atom types (referred to above as B, L, and N) |
| 9 |
# Define their masses: |
| 10 |
|
| 11 |
write_once("Data Masses") { |
| 12 |
@atom:B 1.0 |
| 13 |
@atom:L 1.0 |
| 14 |
@atom:N 1.0 |
| 15 |
} |
| 16 |
|
| 17 |
# AtomID MoleculeID AtomType Charge X Y Z |
| 18 |
|
| 19 |
write("Data Atoms") { |
| 20 |
$atom:a1 $mol @atom:L 0.0 -0.92636654 -1.8409904 -2.1482679 |
| 21 |
$atom:a2 $mol @atom:B 0.0 -0.57313354 -1.0670787 -1.6182341 |
| 22 |
$atom:a3 $mol @atom:L 0.0 -0.85707399 -1.2358703 -0.69350966 |
| 23 |
$atom:a4 $mol @atom:B 0.0 -0.44231274 -0.4584993 -0.23418709 |
| 24 |
$atom:a5 $mol @atom:L 0.0 -0.75081182 -0.62868078 0.69786737 |
| 25 |
$atom:a6 $mol @atom:B 0.0 -0.36201977 0.11619615 1.2249098 |
| 26 |
$atom:a7 $mol @atom:N 0.0 -0.63708237 -0.15973084 2.1723919 |
| 27 |
$atom:a8 $mol @atom:N 0.0 0.20516047 0.10417157 2.624901 |
| 28 |
$atom:a9 $mol @atom:B 0.0 0.57223743 0.44728103 1.7695617 |
| 29 |
$atom:a10 $mol @atom:L 0.0 0.77646279 -0.40630393 1.3168043 |
| 30 |
$atom:a11 $mol @atom:B 0.0 0.45475664 -0.2077937 0.40045721 |
| 31 |
$atom:a12 $mol @atom:L 0.0 0.72712495 -1.0397637 -0.087614951 |
| 32 |
$atom:a13 $mol @atom:B 0.0 0.36971183 -0.85840501 -0.9933019 |
| 33 |
$atom:a14 $mol @atom:L 0.0 0.74784336 -1.5700415 -1.5859217 |
| 34 |
$atom:a15 $mol @atom:N 0.0 0.43423905 -1.2758917 -2.4853429 |
| 35 |
$atom:a16 $mol @atom:N 0.0 0.70583191 -0.30726921 -2.4987711 |
| 36 |
$atom:a17 $mol @atom:N 0.0 -0.091688915 0.23323014 -2.2051358 |
| 37 |
$atom:a18 $mol @atom:B 0.0 -0.34243283 -0.035822049 -1.2644719 |
| 38 |
$atom:a19 $mol @atom:B 0.0 0.41961247 0.18475451 -0.65971014 |
| 39 |
$atom:a20 $mol @atom:L 0.0 0.51968465 1.1546791 -0.77877053 |
| 40 |
$atom:a21 $mol @atom:L 0.0 -0.40827985 1.2765273 -0.52550748 |
| 41 |
$atom:a22 $mol @atom:B 0.0 -0.368141 0.58090904 0.19152224 |
| 42 |
$atom:a23 $mol @atom:B 0.0 0.40327249 0.86101769 0.7336255 |
| 43 |
$atom:a24 $mol @atom:L 0.0 0.22707289 1.8326235 0.89673346 |
| 44 |
$atom:a25 $mol @atom:L 0.0 -0.66500182 1.7285809 1.2783166 |
| 45 |
$atom:a26 $mol @atom:B 0.0 -0.39205603 1.0475436 1.9328097 |
| 46 |
$atom:a27 $mol @atom:L 0.0 0.25339027 1.5246265 2.5388463 |
| 47 |
} |
| 48 |
|
| 49 |
# bond-ID bond-Type atom-ID atom-ID |
| 50 |
|
| 51 |
write("Data Bonds") { |
| 52 |
$bond:b1 @bond:backbone $atom:a1 $atom:a2 |
| 53 |
$bond:b2 @bond:backbone $atom:a2 $atom:a3 |
| 54 |
$bond:b3 @bond:backbone $atom:a3 $atom:a4 |
| 55 |
$bond:b4 @bond:backbone $atom:a4 $atom:a5 |
| 56 |
$bond:b5 @bond:backbone $atom:a5 $atom:a6 |
| 57 |
$bond:b6 @bond:backbone $atom:a6 $atom:a7 |
| 58 |
$bond:b7 @bond:backbone $atom:a7 $atom:a8 |
| 59 |
$bond:b8 @bond:backbone $atom:a8 $atom:a9 |
| 60 |
$bond:b9 @bond:backbone $atom:a9 $atom:a10 |
| 61 |
$bond:b10 @bond:backbone $atom:a10 $atom:a11 |
| 62 |
$bond:b11 @bond:backbone $atom:a11 $atom:a12 |
| 63 |
$bond:b12 @bond:backbone $atom:a12 $atom:a13 |
| 64 |
$bond:b13 @bond:backbone $atom:a13 $atom:a14 |
| 65 |
$bond:b14 @bond:backbone $atom:a14 $atom:a15 |
| 66 |
$bond:b15 @bond:backbone $atom:a15 $atom:a16 |
| 67 |
$bond:b16 @bond:backbone $atom:a16 $atom:a17 |
| 68 |
$bond:b17 @bond:backbone $atom:a17 $atom:a18 |
| 69 |
$bond:b18 @bond:backbone $atom:a18 $atom:a19 |
| 70 |
$bond:b19 @bond:backbone $atom:a19 $atom:a20 |
| 71 |
$bond:b20 @bond:backbone $atom:a20 $atom:a21 |
| 72 |
$bond:b21 @bond:backbone $atom:a21 $atom:a22 |
| 73 |
$bond:b22 @bond:backbone $atom:a22 $atom:a23 |
| 74 |
$bond:b23 @bond:backbone $atom:a23 $atom:a24 |
| 75 |
$bond:b24 @bond:backbone $atom:a24 $atom:a25 |
| 76 |
$bond:b25 @bond:backbone $atom:a25 $atom:a26 |
| 77 |
$bond:b26 @bond:backbone $atom:a26 $atom:a27 |
| 78 |
} |
| 79 |
|
| 80 |
# (3-body) Angles are specified below |
| 81 |
|
| 82 |
# (4-body) Dihedrals must be defined explicitly for every quartet of atoms. |
| 83 |
# (These interactions are not determined by atom type.) |
| 84 |
|
| 85 |
# dihedral-ID dihedral-Type atom-ID atom-ID atom-ID atom-ID |
| 86 |
|
| 87 |
write("Data Dihedrals") { |
| 88 |
|
| 89 |
$dihedral:d1 @dihedral:beta $atom:a1 $atom:a2 $atom:a3 $atom:a4 |
| 90 |
$dihedral:d2 @dihedral:beta $atom:a2 $atom:a3 $atom:a4 $atom:a5 |
| 91 |
$dihedral:d3 @dihedral:beta $atom:a3 $atom:a4 $atom:a5 $atom:a6 |
| 92 |
$dihedral:d4 @dihedral:beta $atom:a4 $atom:a5 $atom:a6 $atom:a7 |
| 93 |
|
| 94 |
# Dihedral angle forces in the turn regions were switched off |
| 95 |
# (in this model) so just I comment them out (and \ the variable names). |
| 96 |
# \$dihedral:d5 \@dihedral:turn $atom:a5 $atom:a6 $atom:a7 $atom:a8 |
| 97 |
# \$dihedral:d6 \@dihedral:turn $atom:a6 $atom:a7 $atom:a8 $atom:a9 |
| 98 |
# \$dihedral:d7 \@dihedral:turn $atom:a7 $atom:a8 $atom:a9 $atom:a10 |
| 99 |
|
| 100 |
$dihedral:d8 @dihedral:beta $atom:a8 $atom:a9 $atom:a10 $atom:a11 |
| 101 |
$dihedral:d9 @dihedral:beta $atom:a9 $atom:a10 $atom:a11 $atom:a12 |
| 102 |
$dihedral:d10 @dihedral:beta $atom:a10 $atom:a11 $atom:a12 $atom:a13 |
| 103 |
$dihedral:d11 @dihedral:beta $atom:a11 $atom:a12 $atom:a13 $atom:a14 |
| 104 |
$dihedral:d12 @dihedral:beta $atom:a12 $atom:a13 $atom:a14 $atom:a15 |
| 105 |
|
| 106 |
# Dihedral angle forces in the turn regions were switched off |
| 107 |
# (in this model) so just I comment them out (and \ the variable names). |
| 108 |
# \$dihedral:d13 \@dihedral:turn $atom:a13 $atom:a14 $atom:a15 $atom:a16 |
| 109 |
# \$dihedral:d14 \@dihedral:turn $atom:a14 $atom:a15 $atom:a16 $atom:a17 |
| 110 |
|
| 111 |
$dihedral:d15 @dihedral:alpha $atom:a15 $atom:a16 $atom:a17 $atom:a18 |
| 112 |
$dihedral:d16 @dihedral:alpha $atom:a16 $atom:a17 $atom:a18 $atom:a19 |
| 113 |
$dihedral:d17 @dihedral:alpha $atom:a17 $atom:a18 $atom:a19 $atom:a20 |
| 114 |
$dihedral:d18 @dihedral:alpha $atom:a18 $atom:a19 $atom:a20 $atom:a21 |
| 115 |
$dihedral:d19 @dihedral:alpha $atom:a19 $atom:a20 $atom:a21 $atom:a22 |
| 116 |
$dihedral:d20 @dihedral:alpha $atom:a20 $atom:a21 $atom:a22 $atom:a23 |
| 117 |
$dihedral:d21 @dihedral:alpha $atom:a21 $atom:a22 $atom:a23 $atom:a24 |
| 118 |
$dihedral:d22 @dihedral:alpha $atom:a22 $atom:a23 $atom:a24 $atom:a25 |
| 119 |
$dihedral:d23 @dihedral:alpha $atom:a23 $atom:a24 $atom:a25 $atom:a26 |
| 120 |
$dihedral:d24 @dihedral:alpha $atom:a24 $atom:a25 $atom:a26 $atom:a27 |
| 121 |
} |
| 122 |
|
| 123 |
# All consecutively bonded triplets of atoms same 3-body bond-angle |
| 124 |
# interaction parameters. Of coarse, we could specify them all explicitly |
| 125 |
# (as we did for the dihedrals above), but I wanted to show how to specify |
| 126 |
# angles by atom type instead. (You can do this for dihedrals & impropers |
| 127 |
# also.) |
| 128 |
|
| 129 |
# angle-Type atom-Type atom-Type atom-Type bond-Type bond-Type |
| 130 |
|
| 131 |
write_once("Data Angles By Type") { |
| 132 |
@angle:backbone @atom:* @atom:* @atom:* @bond:* @bond:* |
| 133 |
} |
| 134 |
|
| 135 |
# (The "*" is a wildcard character. I use "*" to denote any atom-type or |
| 136 |
# bond-type which is defined within the current namespace: 1beadFrustrated) |
| 137 |
|
| 138 |
|
| 139 |
# 2-body (non-bonded) interactions: |
| 140 |
# |
| 141 |
# Uij(r) = 4*eps_ij * (K*(sig_ij/r)^12 + L*(sig_ij/r)^6) |
| 142 |
# |
| 143 |
# i j pairstylename eps sig K L |
| 144 |
# |
| 145 |
write_once("In Settings") { |
| 146 |
pair_coeff @atom:B @atom:B lj/charmm/coul/charmm/inter 1.0 1.0 1 -1 |
| 147 |
pair_coeff @atom:B @atom:L lj/charmm/coul/charmm/inter 0.5833333333 1.0 1 0 |
| 148 |
pair_coeff @atom:B @atom:N lj/charmm/coul/charmm/inter 0.6666666667 1.0 1 0 |
| 149 |
pair_coeff @atom:L @atom:L lj/charmm/coul/charmm/inter 0.1666666667 1.0 1 1 |
| 150 |
pair_coeff @atom:L @atom:N lj/charmm/coul/charmm/inter 0.25 1.0 1 0 |
| 151 |
pair_coeff @atom:N @atom:N lj/charmm/coul/charmm/inter 0.3333333333 1.0 1 0 |
| 152 |
} |
| 153 |
|
| 154 |
|
| 155 |
# 2-body (bonded) interactions: |
| 156 |
# |
| 157 |
# Ubond(r) = (k/2)*(r-0)^2 |
| 158 |
# |
| 159 |
# The corresponding command is: |
| 160 |
# |
| 161 |
# bond-Type bondstylename k r0 |
| 162 |
|
| 163 |
write_once("In Settings") { |
| 164 |
bond_coeff @bond:backbone harmonic 100.0 1.0 |
| 165 |
} |
| 166 |
|
| 167 |
# 3-body interactions in this example are listed by atomType and bondType |
| 168 |
# The atomIDs involved are determined automatically. The forumula used is: |
| 169 |
# |
| 170 |
# Uangle(theta) = (k/2)*(theta-theta0)^2 |
| 171 |
# (k in kcal/mol/rad^2, theta0 in degrees) |
| 172 |
# |
| 173 |
# angle-Type anglestylename k theta0 |
| 174 |
|
| 175 |
write_once("In Settings") { |
| 176 |
angle_coeff @angle:backbone harmonic 13.3333333333 105.0 |
| 177 |
} |
| 178 |
|
| 179 |
|
| 180 |
# We use tabular dihedral potentials to implement the dihedral forces. |
| 181 |
# (Actually there is a way to use Fourier series, using multiple charmm |
| 182 |
# style dihedral interactions, but it's slower and messier.) |
| 183 |
|
| 184 |
write_once("In Settings") { |
| 185 |
# style file keyword |
| 186 |
dihedral_coeff @dihedral:alpha table table_dihedral_frustrated.dat FRUSTRATED_ALPHA |
| 187 |
dihedral_coeff @dihedral:beta table table_dihedral_frustrated.dat FRUSTRATED_BETA |
| 188 |
# No need to specify dihedral interactions in the turn regions. (none exist) |
| 189 |
} |
| 190 |
|
| 191 |
write_once("In Settings") { |
| 192 |
# Optional: define the atoms in the "proteins" group |
| 193 |
group proteins type @atom:B |
| 194 |
group proteins type @atom:L |
| 195 |
group proteins type @atom:N |
| 196 |
} |
| 197 |
|
| 198 |
# LAMMPS has many available force field styles (and atom styles). |
| 199 |
# Here, we pick the ones which work well for this molecular model: |
| 200 |
|
| 201 |
write_once("In Init") { |
| 202 |
# --- Default options for the "1BeadFrustrated" protein model --- |
| 203 |
# --- (These can be overridden later.) --- |
| 204 |
units lj |
| 205 |
atom_style full |
| 206 |
bond_style hybrid harmonic |
| 207 |
angle_style hybrid harmonic |
| 208 |
dihedral_style hybrid table spline 360 |
| 209 |
pair_style hybrid lj/charmm/coul/charmm/inter es4k4l maxmax 3.5 4.0 |
| 210 |
pair_modify mix arithmetic |
| 211 |
special_bonds lj 0.0 0.0 1.0 #(turn on "1-4" interactions) |
| 212 |
} |
| 213 |
|
| 214 |
} # 1beadFrustrated |
| 215 |
|
| 216 |
|