phbuilder 1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. phbuilder/__init__.py +16 -0
  2. phbuilder/ffield/charmm36-mar2019-cphmd.ff/atomtypes.atp +455 -0
  3. phbuilder/ffield/charmm36-mar2019-cphmd.ff/cmap.itp +1025 -0
  4. phbuilder/ffield/charmm36-mar2019-cphmd.ff/ffbonded.itp +19675 -0
  5. phbuilder/ffield/charmm36-mar2019-cphmd.ff/ffnonbonded.itp +40366 -0
  6. phbuilder/ffield/charmm36-mar2019-cphmd.ff/forcefield.doc +252 -0
  7. phbuilder/ffield/charmm36-mar2019-cphmd.ff/forcefield.itp +26 -0
  8. phbuilder/ffield/charmm36-mar2019-cphmd.ff/gb.itp +49 -0
  9. phbuilder/ffield/charmm36-mar2019-cphmd.ff/ions.itp +98 -0
  10. phbuilder/ffield/charmm36-mar2019-cphmd.ff/merged.arn +6 -0
  11. phbuilder/ffield/charmm36-mar2019-cphmd.ff/merged.c.tdb +76 -0
  12. phbuilder/ffield/charmm36-mar2019-cphmd.ff/merged.hdb +414 -0
  13. phbuilder/ffield/charmm36-mar2019-cphmd.ff/merged.n.tdb +93 -0
  14. phbuilder/ffield/charmm36-mar2019-cphmd.ff/merged.r2b +16 -0
  15. phbuilder/ffield/charmm36-mar2019-cphmd.ff/merged.rtp +123316 -0
  16. phbuilder/ffield/charmm36-mar2019-cphmd.ff/merged.vsd +221 -0
  17. phbuilder/ffield/charmm36-mar2019-cphmd.ff/nbfix.itp +101 -0
  18. phbuilder/ffield/charmm36-mar2019-cphmd.ff/old_c36_cmap.itp +486 -0
  19. phbuilder/ffield/charmm36-mar2019-cphmd.ff/popc.itp +1279 -0
  20. phbuilder/ffield/charmm36-mar2019-cphmd.ff/spc.itp +30 -0
  21. phbuilder/ffield/charmm36-mar2019-cphmd.ff/spce.itp +30 -0
  22. phbuilder/ffield/charmm36-mar2019-cphmd.ff/tip3p.itp +49 -0
  23. phbuilder/ffield/charmm36-mar2019-cphmd.ff/tip4p.itp +53 -0
  24. phbuilder/ffield/charmm36-mar2019-cphmd.ff/watermodels.dat +6 -0
  25. phbuilder/ffield/lambdagrouptypes.dat +40 -0
  26. phbuilder/ffield/residuetypes.dat +211 -0
  27. phbuilder/mdp.py +133 -0
  28. phbuilder/parsecmdline.py +228 -0
  29. phbuilder/phbuilder.py +1408 -0
  30. phbuilder/sanitize.py +180 -0
  31. phbuilder/structure.py +333 -0
  32. phbuilder/user.py +142 -0
  33. phbuilder-1.1.dist-info/LICENSE +674 -0
  34. phbuilder-1.1.dist-info/METADATA +609 -0
  35. phbuilder-1.1.dist-info/RECORD +38 -0
  36. phbuilder-1.1.dist-info/WHEEL +5 -0
  37. phbuilder-1.1.dist-info/entry_points.txt +2 -0
  38. phbuilder-1.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,30 @@
1
+
2
+ [ moleculetype ]
3
+ ; molname nrexcl
4
+ SOL 2
5
+
6
+ [ atoms ]
7
+ ; nr type resnr residue atom cgnr charge mass
8
+ 1 OW 1 SOL OW 1 -0.82
9
+ 2 HW 1 SOL HW1 1 0.41
10
+ 3 HW 1 SOL HW2 1 0.41
11
+
12
+ #ifndef FLEXIBLE
13
+ [ settles ]
14
+ ; OW funct doh dhh
15
+ 1 1 0.1 0.16330
16
+
17
+ [ exclusions ]
18
+ 1 2 3
19
+ 2 1 3
20
+ 3 1 2
21
+ #else
22
+ [ bonds ]
23
+ ; i j funct length force.c.
24
+ 1 2 1 0.1 345000 0.1 345000
25
+ 1 3 1 0.1 345000 0.1 345000
26
+
27
+ [ angles ]
28
+ ; i j k funct angle force.c.
29
+ 2 1 3 1 109.47 383 109.47 383
30
+ #endif
@@ -0,0 +1,30 @@
1
+
2
+ [ moleculetype ]
3
+ ; molname nrexcl
4
+ SOL 2
5
+
6
+ [ atoms ]
7
+ ; nr type resnr residue atom cgnr charge mass
8
+ 1 OW 1 SOL OW 1 -0.8476
9
+ 2 HW 1 SOL HW1 1 0.4238
10
+ 3 HW 1 SOL HW2 1 0.4238
11
+
12
+ #ifndef FLEXIBLE
13
+ [ settles ]
14
+ ; OW funct doh dhh
15
+ 1 1 0.1 0.16330
16
+
17
+ [ exclusions ]
18
+ 1 2 3
19
+ 2 1 3
20
+ 3 1 2
21
+ #else
22
+ [ bonds ]
23
+ ; i j funct length force.c.
24
+ 1 2 1 0.1 345000 0.1 345000
25
+ 1 3 1 0.1 345000 0.1 345000
26
+
27
+ [ angles ]
28
+ ; i j k funct angle force.c.
29
+ 2 1 3 1 109.47 383 109.47 383
30
+ #endif
@@ -0,0 +1,49 @@
1
+
2
+ [ moleculetype ]
3
+ ; molname nrexcl
4
+ SOL 2
5
+
6
+ [ atoms ]
7
+ ; id at type res nr residu name at name cg nr charge
8
+ #ifdef _FF_CHARMM
9
+ 1 OT 1 SOL OW 1 -0.834
10
+ 2 HT 1 SOL HW1 1 0.417
11
+ 3 HT 1 SOL HW2 1 0.417
12
+ #endif
13
+
14
+
15
+ #ifdef FLEXIBLE
16
+
17
+ #ifdef ORIGINAL_TIP3P
18
+ [ bonds ]
19
+ ; i j funct length force.c.
20
+ 1 2 1 0.09572 502416.0 0.09572 502416.0
21
+ 1 3 1 0.09572 502416.0 0.09572 502416.0
22
+
23
+ [ angles ]
24
+ ; i j k funct angle force.c.
25
+ 2 1 3 1 104.52 628.02 104.52 628.02
26
+
27
+ #else
28
+ ;CHARMM TIP3p
29
+ [ bonds ]
30
+ ; i j funct length force.c.
31
+ 1 2 1 0.09572 376560.0 0.09572 376560.0
32
+ 1 3 1 0.09572 376560.0 0.09572 376560.0
33
+
34
+ [ angles ]
35
+ ; i j k funct angle force.c.
36
+ 2 1 3 1 104.52 460.24 104.52 460.24
37
+ #endif
38
+
39
+
40
+ #else
41
+ [ settles ]
42
+ ; i j funct length
43
+ 1 1 0.09572 0.15139
44
+
45
+ [ exclusions ]
46
+ 1 2 3
47
+ 2 1 3
48
+ 3 1 2
49
+ #endif
@@ -0,0 +1,53 @@
1
+
2
+ ;
3
+ ; Note the strange order of atoms to make it faster in gromacs.
4
+ ;
5
+ [ moleculetype ]
6
+ ; molname nrexcl
7
+ SOL 2
8
+
9
+ [ atoms ]
10
+ ; id at type res nr residu name at name cg nr charge
11
+ 1 OWT4 1 SOL OW 1 0.0
12
+ 2 HWT4 1 SOL HW1 1 0.52
13
+ 3 HWT4 1 SOL HW2 1 0.52
14
+ 4 MWT4 1 SOL MW 1 -1.04
15
+
16
+ #ifndef FLEXIBLE
17
+ [ settles ]
18
+ ; OW funct doh dhh
19
+ 1 1 0.09572 0.15139
20
+ #else
21
+ [ bonds ]
22
+ ; i j funct length force.c.
23
+ 1 2 1 0.09572 502416.0 0.09572 502416.0
24
+ 1 3 1 0.09572 502416.0 0.09572 502416.0
25
+
26
+ [ angles ]
27
+ ; i j k funct angle force.c.
28
+ 2 1 3 1 104.52 628.02 104.52 628.02
29
+ #endif
30
+
31
+ [ exclusions ]
32
+ 1 2 3 4
33
+ 2 1 3 4
34
+ 3 1 2 4
35
+ 4 1 2 3
36
+
37
+ ; The position of the virtual site is computed as follows:
38
+ ;
39
+ ; O
40
+ ;
41
+ ; D
42
+ ;
43
+ ; H H
44
+ ;
45
+ ; const = distance (OD) / [ cos (angle(DOH)) * distance (OH) ]
46
+ ; 0.015 nm / [ cos (52.26 deg) * 0.09572 nm ]
47
+
48
+ ; Vsite pos x4 = x1 + a*(x2-x1) + b*(x3-x1)
49
+
50
+ [ virtual_sites3 ]
51
+ ; Vsite from funct a b
52
+ 4 1 2 3 1 0.128012065 0.128012065
53
+
@@ -0,0 +1,6 @@
1
+
2
+ tip3p TIP3P TIP 3-point, recommended, by default uses CHARMM TIP3 with LJ on H
3
+ tip4p TIP4P TIP 4-point
4
+ tip5p TIP5P TIP 5-point
5
+ spc SPC simple point charge
6
+ spce SPC/E extended simple point charge
@@ -0,0 +1,40 @@
1
+ [ GROMACS ]
2
+ path = /usr/local/gromacs_constantph
3
+
4
+ [ FORCEFIELD ]
5
+ name = charmm36-mar2019-cphmd.ff
6
+ water = tip3p
7
+
8
+ [ ASPT ]
9
+ incl = ASP ASP1 ASPH ASPP ASH
10
+ atoms = CB CG OD1 OD2 HD2
11
+ qqA = -0.21 0.75 -0.55 -0.61 0.44
12
+ pKa_1 = 3.65
13
+ qqB_1 = -0.28 0.62 -0.76 -0.76 0.00
14
+ dvdl_1 = -54.078 -144.280 278.550 -146.030 -554.270 44.621
15
+
16
+ [ GLUT ]
17
+ incl = GLU GLUH GLUP
18
+ atoms = CG CD OE1 OE2 HE2
19
+ qqA = -0.21 0.75 -0.55 -0.61 0.44
20
+ pKa_1 = 4.25
21
+ qqB_1 = -0.28 0.62 -0.76 -0.76 0.00
22
+ dvdl_1 = 59.636 -429.770 514.370 -204.910 -558.210 27.157
23
+
24
+ [ HSPT ]
25
+ incl = HIS HIS1 HISA HISB HISH HISD HISE HISP HSD HSE HSP
26
+ atoms = CB CD2 HD2 CG NE2 HE2 ND1 HD1 CE1 HE1
27
+ qqA = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
28
+ pKa_1 = 0.0
29
+ qqB_1 = -0.05 0.19 0.13 0.19 -0.51 0.44 -0.51 0.44 0.32 0.18
30
+ dvdl_1 = -3015.4 -13444.1 -34779. -44335.5 -31383.1 -13684.4 -4905.57 106.148 -484.107 11865.5 48985.4 104163. 103612. 59628.7 25794.9 3490.9 2180.34 -18552.6 -70083.6 -117174. -91492.5 -47959.2 -12542.4 -3968.74 14751.8 49997.8 63417.3 42048.3 16441.1 3929.98 -6193.44 -18113.5 -17591.7 -9832.74 -2246.33 934.809 2225.21 1887.54 594.263 402.485 604.077 158.757 -463.471 -193.458 82.6296
31
+ pKa_2 = 6.53
32
+ qqB_2 = -0.08 -0.05 0.09 0.22 -0.36 0.32 -0.7 0.0 0.25 0.13
33
+ dvdl_2 = -1695.49 -8107.68 -22614.3 -40090.6 -39319.4 -21686.8 -5816.32 -1663.43 -1231.35 7080.8 30409.5 75205.7 105063. 78113.9 30391.7 8898.15 5178.6 -12000.8 -45996.4 -95996.2 -101472. -54848.1 -18185.2 -8896.93 10595.2 35922. 59318.7 45645. 18480.3 8030.77 -5015.37 -14771.9 -17941.8 -9642.21 -3996.01 894.376 2282.28 1905.97 857.662 264.085 372.239 128.992 -135.244 -299.418 -28.5093
34
+ pKa_3 = 6.92
35
+ qqB_3 = -0.09 0.22 0.1 -0.05 -0.7 0.0 -0.36 0.32 0.25 0.13
36
+ dvdl_3 = -111.044 -768.566 -9092.12 -17291.1 -2883.78 15464.2 13669.9 5673.64 433.027 873.492 5534.28 29537.7 27498.6 -17935.7 -31834.8 -17251.3 -1555.29 -2245.47 -11551.3 -31061.6 -4912.98 24459.9 19180.8 2258.94 2451.91 9281.43 10136.1 -7134.35 -9948.52 -1755.79 -986.264 -1997.06 1570.57 3175.52 958.098 -64.3349 -650.924 -1045.66 -389.613 -6.33165 63.2438 4.25894 286.277 228.063 -171.139
37
+
38
+ [ BUF ]
39
+ range = -0.50 0.50
40
+ dvdl = 823.85 -2457.8 2172.2 -144.05 -1289 576.74
@@ -0,0 +1,211 @@
1
+ ABU Protein
2
+ ACE Protein
3
+ AIB Protein
4
+ ALA Protein
5
+ ARG Protein
6
+ ARGN Protein
7
+ ASN Protein
8
+ ASN1 Protein
9
+ ASP Protein
10
+ ASP1 Protein
11
+ ASPH Protein
12
+ ASPP Protein
13
+ ASPT Protein
14
+ ASH Protein
15
+ CT3 Protein
16
+ CYS Protein
17
+ CYS1 Protein
18
+ CYS2 Protein
19
+ CYSH Protein
20
+ DALA Protein
21
+ GLN Protein
22
+ GLU Protein
23
+ GLUH Protein
24
+ GLUP Protein
25
+ GLUT Protein
26
+ GLH Protein
27
+ GLY Protein
28
+ HIS Protein
29
+ HIS1 Protein
30
+ HISA Protein
31
+ HISB Protein
32
+ HISH Protein
33
+ HISD Protein
34
+ HISE Protein
35
+ HISP Protein
36
+ HSD Protein
37
+ HSE Protein
38
+ HSP Protein
39
+ HSPT Protein
40
+ HYP Protein
41
+ ILE Protein
42
+ LEU Protein
43
+ LSN Protein
44
+ LYS Protein
45
+ LYST Protein
46
+ LYSH Protein
47
+ MELEU Protein
48
+ MET Protein
49
+ MEVAL Protein
50
+ NAC Protein
51
+ NME Protein
52
+ NHE Protein
53
+ NH2 Protein
54
+ PHE Protein
55
+ PHEH Protein
56
+ PHEU Protein
57
+ PHL Protein
58
+ PRO Protein
59
+ SER Protein
60
+ THR Protein
61
+ TRP Protein
62
+ TRPH Protein
63
+ TRPU Protein
64
+ TYR Protein
65
+ TYRH Protein
66
+ TYRU Protein
67
+ VAL Protein
68
+ PGLU Protein
69
+ HID Protein
70
+ HIE Protein
71
+ HIP Protein
72
+ LYP Protein
73
+ LYN Protein
74
+ CYN Protein
75
+ CYM Protein
76
+ CYX Protein
77
+ DAB Protein
78
+ ORN Protein
79
+ HYP Protein
80
+ NALA Protein
81
+ NGLY Protein
82
+ NSER Protein
83
+ NTHR Protein
84
+ NLEU Protein
85
+ NILE Protein
86
+ NVAL Protein
87
+ NASN Protein
88
+ NGLN Protein
89
+ NARG Protein
90
+ NHID Protein
91
+ NHIE Protein
92
+ NHIP Protein
93
+ NHISD Protein
94
+ NHISE Protein
95
+ NHISH Protein
96
+ NTRP Protein
97
+ NPHE Protein
98
+ NTYR Protein
99
+ NGLU Protein
100
+ NASP Protein
101
+ NLYS Protein
102
+ NORN Protein
103
+ NDAB Protein
104
+ NLYSN Protein
105
+ NPRO Protein
106
+ NHYP Protein
107
+ NCYS Protein
108
+ NCYS2 Protein
109
+ NMET Protein
110
+ NASPH Protein
111
+ NGLUH Protein
112
+ CALA Protein
113
+ CGLY Protein
114
+ CSER Protein
115
+ CTHR Protein
116
+ CLEU Protein
117
+ CILE Protein
118
+ CVAL Protein
119
+ CASN Protein
120
+ CGLN Protein
121
+ CARG Protein
122
+ CHID Protein
123
+ CHIE Protein
124
+ CHIP Protein
125
+ CHISD Protein
126
+ CHISE Protein
127
+ CHISH Protein
128
+ CTRP Protein
129
+ CPHE Protein
130
+ CTYR Protein
131
+ CGLU Protein
132
+ CASP Protein
133
+ CLYS Protein
134
+ CORN Protein
135
+ CDAB Protein
136
+ CLYSN Protein
137
+ CPRO Protein
138
+ CHYP Protein
139
+ CCYS Protein
140
+ CCYS2 Protein
141
+ CMET Protein
142
+ CASPH Protein
143
+ CGLUH Protein
144
+ DA DNA
145
+ DG DNA
146
+ DC DNA
147
+ DT DNA
148
+ DA5 DNA
149
+ DG5 DNA
150
+ DC5 DNA
151
+ DT5 DNA
152
+ DA3 DNA
153
+ DG3 DNA
154
+ DC3 DNA
155
+ DT3 DNA
156
+ DAN DNA
157
+ DGN DNA
158
+ DCN DNA
159
+ DTN DNA
160
+ A RNA
161
+ U RNA
162
+ C RNA
163
+ G RNA
164
+ RA RNA
165
+ RU RNA
166
+ RC RNA
167
+ RG RNA
168
+ RA5 RNA
169
+ RT5 RNA
170
+ RU5 RNA
171
+ RC5 RNA
172
+ RG5 RNA
173
+ RA3 RNA
174
+ RT3 RNA
175
+ RU3 RNA
176
+ RC3 RNA
177
+ RG3 RNA
178
+ RAN RNA
179
+ RTN RNA
180
+ RUN RNA
181
+ RCN RNA
182
+ RGN RNA
183
+ SOL Water
184
+ WAT Water
185
+ HOH Water
186
+ OHH Water
187
+ TIP Water
188
+ T3P Water
189
+ T4P Water
190
+ T5P Water
191
+ T3H Water
192
+ K Ion
193
+ NA Ion
194
+ CA Ion
195
+ MG Ion
196
+ CL Ion
197
+ ZN Ion
198
+ CU1 Ion
199
+ CU Ion
200
+ LI Ion
201
+ NA+ Ion
202
+ RB Ion
203
+ CS Ion
204
+ F Ion
205
+ CL- Ion
206
+ BR Ion
207
+ I Ion
208
+ OH Ion
209
+ Cal Ion
210
+ IB+ Ion
211
+ BUF Ion
phbuilder/mdp.py ADDED
@@ -0,0 +1,133 @@
1
+ firstLine = True # For formatting of title.
2
+
3
+ def gen_mdp(Type: str, nsteps: int, nstxout: int, posRes=False):
4
+ """Write a generic .mdp file.
5
+
6
+ Args:
7
+ Type (str): the .mdp file type. Choose EM, NVT, NPT, MD.
8
+ nsteps (int): number of simulation steps.
9
+ nstxout (int): output frequency (write once every nstxout simulation steps).
10
+ posRes (bool, optional): enable position restraints (for in calibration mode). Defaults to False.
11
+ """
12
+
13
+ assert Type in ['EM', 'NVT', 'NPT', 'MD'], "type should be be EM, NVT, NPT, MD"
14
+
15
+ file = open("{0}.mdp".format(Type), 'w')
16
+
17
+ def addTitle(title: str):
18
+ """Formatting function for Title.
19
+
20
+ Args:
21
+ title (str): title.
22
+ """
23
+
24
+ global firstLine
25
+ if firstLine:
26
+ file.write("; {0}\n".format(title.upper()))
27
+ firstLine = False
28
+ else:
29
+ file.write("\n; {0}\n".format(title.upper()))
30
+
31
+ def addParam(name: str, value, comment=''):
32
+ """Formatting function for adding a parameter.
33
+
34
+ Args:
35
+ name (str): parameter name.
36
+ value (any): parameter value.
37
+ comment (str, optional): parameter inline comment. Defaults to ''.
38
+ """
39
+
40
+ if comment == '':
41
+ file.write("{:20s} = {:13s}\n".format(name, str(value)))
42
+ else:
43
+ file.write("{:20s} = {:13s} ; {:13s}\n".format(name, str(value), comment))
44
+
45
+ # POSITION RESTRAINTS DURING CALIBRATION
46
+
47
+ if posRes:
48
+ addTitle('Position restraints')
49
+ addParam('define', "-DPOSRES -DPOSRES_BUF", 'Position restrain if calibrating.')
50
+
51
+ # RUN CONTROL
52
+
53
+ addTitle("Run control")
54
+
55
+ if Type in ['EM']:
56
+ dt = 0.01
57
+ addParam('integrator', 'steep', 'Use steep for EM.')
58
+ addParam('emtol', 1000, 'Stop when max force < 1000 kJ/mol/nm.')
59
+ addParam('emstep', dt, 'Time step (ps).')
60
+
61
+ if Type in ['NVT', 'NPT', 'MD']:
62
+ dt = 0.002
63
+ addParam('integrator', 'md')
64
+ addParam('dt', dt, 'Time step (ps).')
65
+
66
+ addParam('nsteps', nsteps, "{:d} ps.".format(int(dt * nsteps)))
67
+
68
+ # OUTPUT
69
+
70
+ addTitle("Output control")
71
+ addParam('nstxout-compressed', nstxout, 'Write .xtc frame every {:d} ps.'.format(int(dt * nstxout)))
72
+
73
+ # NEIGHBOUR SEARCHING
74
+
75
+ addTitle("Neighbour searching")
76
+ addParam('cutoff-scheme', 'Verlet', 'Related params are inferred by GROMACS.')
77
+
78
+ # BONDED
79
+
80
+ if Type in ['NVT', 'NPT', 'MD']:
81
+ addTitle("Bond parameters")
82
+ addParam('constraints', 'h-bonds', 'Constrain H-bond vibrations.')
83
+ addParam('constraint_algorithm', 'lincs', 'Holonomic constraints.')
84
+ addParam('lincs_iter', 1, 'Related to accuracy of LINCS.')
85
+ addParam('lincs_order', 4, 'Related to accuracy of LINCS.')
86
+
87
+ # ELECTROSTATICS
88
+
89
+ addTitle("Electrostatics")
90
+ addParam('coulombtype', 'PME', 'Particle Mesh Ewald electrostatics.')
91
+ addParam('rcoulomb', 1.2, 'CHARMM is calibrated for 1.2 nm.')
92
+ addParam('fourierspacing', 0.14, 'CHARMM is calibrated for 0.14.')
93
+
94
+ # VAN DER WAALS
95
+
96
+ addTitle("Van der Waals")
97
+ addParam('vdwtype', 'cut-off', 'Twin range cut-off with nblist cut-off.')
98
+ addParam('rvdw', 1.2, 'CHARMM is calibrated for 1.2 nm.')
99
+ addParam('vdw-modifier', 'force-switch', 'Specific for CHARMM.')
100
+ addParam('rvdw-switch', 1.0, 'Specific for CHARMM.')
101
+
102
+ # TEMPERATURE COUPLING
103
+
104
+ if Type in ['NVT', 'NPT', 'MD']:
105
+ addTitle("Temperature coupling")
106
+ addParam('tcoupl', 'v-rescale')
107
+ addParam('tc-grps', 'SYSTEM')
108
+ addParam('tau-t', 0.5, 'Coupling time (ps).')
109
+ addParam('ref-t', 300, 'Reference temperature (K).')
110
+
111
+ # PRESSURE COUPLING
112
+
113
+ if Type in ['NPT', 'MD']:
114
+ addTitle('Pressure coupling')
115
+ addParam('pcoupl', 'C-rescale', 'Use C-rescale barostat.')
116
+ addParam('pcoupltype', 'isotropic', 'Uniform scaling of box.')
117
+ addParam('tau_p', 5.0, 'Coupling time (ps).')
118
+ addParam('ref_p', 1.0, 'Reference pressure (bar).')
119
+ addParam('compressibility', 4.5e-05, 'Isothermal compressbility of water.')
120
+
121
+ if Type == 'NPT' or posRes:
122
+ addParam('refcoord_scaling', 'com', 'Required with position restraints.')
123
+
124
+ # PERIODIC BOUNDARY CONDITIONS
125
+
126
+ addTitle("Periodic boundary condition")
127
+ addParam('pbc', 'xyz', 'Apply periodic boundary conditions.')
128
+
129
+ # WRAP UP
130
+
131
+ file.close()
132
+ global firstLine
133
+ firstLine = True