bfee2 3.1.1.post1__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.
- BFEE2/__init__.py +0 -0
- BFEE2/commonTools/__init__.py +0 -0
- BFEE2/commonTools/commonSlots.py +48 -0
- BFEE2/commonTools/fileParser.py +327 -0
- BFEE2/commonTools/ploter.py +218 -0
- BFEE2/doc/Doc.pdf +0 -0
- BFEE2/doc/__init__.py +1 -0
- BFEE2/gui.py +2785 -0
- BFEE2/inputGenerator.py +2949 -0
- BFEE2/postTreatment.py +676 -0
- BFEE2/templates_gromacs/000.colvars.template +37 -0
- BFEE2/templates_gromacs/000.generate_tpr_sh.template +31 -0
- BFEE2/templates_gromacs/000.mdp.template +74 -0
- BFEE2/templates_gromacs/001.colvars.template +76 -0
- BFEE2/templates_gromacs/001.generate_tpr_sh.template +31 -0
- BFEE2/templates_gromacs/001.mdp.template +73 -0
- BFEE2/templates_gromacs/001.readme.template +1 -0
- BFEE2/templates_gromacs/002.colvars.template +101 -0
- BFEE2/templates_gromacs/002.generate_tpr_sh.template +31 -0
- BFEE2/templates_gromacs/002.mdp.template +73 -0
- BFEE2/templates_gromacs/003.colvars.template +125 -0
- BFEE2/templates_gromacs/003.generate_tpr_sh.template +36 -0
- BFEE2/templates_gromacs/003.mdp.template +73 -0
- BFEE2/templates_gromacs/004.colvars.template +148 -0
- BFEE2/templates_gromacs/004.generate_tpr_sh.template +37 -0
- BFEE2/templates_gromacs/004.mdp.template +74 -0
- BFEE2/templates_gromacs/005.colvars.template +170 -0
- BFEE2/templates_gromacs/005.generate_tpr_sh.template +38 -0
- BFEE2/templates_gromacs/005.mdp.template +74 -0
- BFEE2/templates_gromacs/006.colvars.template +192 -0
- BFEE2/templates_gromacs/006.generate_tpr_sh.template +39 -0
- BFEE2/templates_gromacs/006.mdp.template +74 -0
- BFEE2/templates_gromacs/007.colvars.template +210 -0
- BFEE2/templates_gromacs/007.generate_tpr_sh.template +40 -0
- BFEE2/templates_gromacs/007.mdp.template +73 -0
- BFEE2/templates_gromacs/007_eq.colvars.template +169 -0
- BFEE2/templates_gromacs/007_eq.generate_tpr_sh.template +64 -0
- BFEE2/templates_gromacs/007_min.mdp.template +62 -0
- BFEE2/templates_gromacs/008.colvars.template +42 -0
- BFEE2/templates_gromacs/008.generate_tpr_sh.template +31 -0
- BFEE2/templates_gromacs/008.mdp.template +74 -0
- BFEE2/templates_gromacs/008_eq.colvars.template +14 -0
- BFEE2/templates_gromacs/008_eq.generate_tpr_sh.template +31 -0
- BFEE2/templates_gromacs/BFEEGromacs.py +1268 -0
- BFEE2/templates_gromacs/__init__.py +0 -0
- BFEE2/templates_gromacs/find_min_max.awk +27 -0
- BFEE2/templates_namd/__init__.py +0 -0
- BFEE2/templates_namd/configTemplate.py +1152 -0
- BFEE2/templates_namd/fep.tcl +299 -0
- BFEE2/templates_namd/fep_lddm.tcl +312 -0
- BFEE2/templates_namd/scriptTemplate.py +304 -0
- BFEE2/templates_namd/solvate.tcl +9 -0
- BFEE2/templates_namd/solvate_mem.tcl +9 -0
- BFEE2/templates_namd/updateCenters.py +312 -0
- BFEE2/templates_readme/Readme_Gromacs_Geometrical.txt +25 -0
- BFEE2/templates_readme/Readme_NAMD_Alchemical.txt +20 -0
- BFEE2/templates_readme/Readme_NAMD_Geometrical.txt +34 -0
- BFEE2/templates_readme/__init__.py +1 -0
- BFEE2/templates_readme/rags.py +187 -0
- BFEE2/third_party/__init__.py +0 -0
- BFEE2/third_party/py_bar.py +585 -0
- BFEE2/version.py +4 -0
- bfee2-3.1.1.post1.data/scripts/BFEE2Gui.py +19 -0
- bfee2-3.1.1.post1.dist-info/METADATA +86 -0
- bfee2-3.1.1.post1.dist-info/RECORD +68 -0
- bfee2-3.1.1.post1.dist-info/WHEEL +5 -0
- bfee2-3.1.1.post1.dist-info/licenses/LICENSE +677 -0
- bfee2-3.1.1.post1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
colvarsTrajFrequency 500
|
|
2
|
+
colvarsRestartFrequency 50000
|
|
3
|
+
indexFile colvars.ndx
|
|
4
|
+
|
|
5
|
+
colvar {
|
|
6
|
+
name RMSD
|
|
7
|
+
rmsd {
|
|
8
|
+
atoms {
|
|
9
|
+
indexGroup $ligand_selection
|
|
10
|
+
}
|
|
11
|
+
refPositionsfile reference.xyz
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
colvar {
|
|
16
|
+
name eulerTheta
|
|
17
|
+
eulerTheta {
|
|
18
|
+
atoms {
|
|
19
|
+
indexGroup $ligand_selection
|
|
20
|
+
centerToReference on
|
|
21
|
+
rotateToReference on
|
|
22
|
+
centerToOrigin on
|
|
23
|
+
enableFitGradients on
|
|
24
|
+
fittingGroup {
|
|
25
|
+
indexGroup $protein_selection
|
|
26
|
+
}
|
|
27
|
+
refPositionsfile reference.xyz
|
|
28
|
+
}
|
|
29
|
+
refPositionsfile reference.xyz
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
colvar {
|
|
34
|
+
name eulerPhi
|
|
35
|
+
eulerPhi {
|
|
36
|
+
atoms {
|
|
37
|
+
indexGroup $ligand_selection
|
|
38
|
+
centerToReference on
|
|
39
|
+
rotateToReference on
|
|
40
|
+
centerToOrigin on
|
|
41
|
+
enableFitGradients on
|
|
42
|
+
fittingGroup {
|
|
43
|
+
indexGroup $protein_selection
|
|
44
|
+
}
|
|
45
|
+
refPositionsfile reference.xyz
|
|
46
|
+
}
|
|
47
|
+
refPositionsfile reference.xyz
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
colvar {
|
|
52
|
+
name eulerPsi
|
|
53
|
+
eulerPsi {
|
|
54
|
+
atoms {
|
|
55
|
+
indexGroup $ligand_selection
|
|
56
|
+
centerToReference on
|
|
57
|
+
rotateToReference on
|
|
58
|
+
centerToOrigin on
|
|
59
|
+
enableFitGradients on
|
|
60
|
+
fittingGroup {
|
|
61
|
+
indexGroup $protein_selection
|
|
62
|
+
}
|
|
63
|
+
refPositionsfile reference.xyz
|
|
64
|
+
}
|
|
65
|
+
refPositionsfile reference.xyz
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
colvar {
|
|
70
|
+
name polarTheta
|
|
71
|
+
polarTheta {
|
|
72
|
+
atoms {
|
|
73
|
+
indexGroup $ligand_selection
|
|
74
|
+
centerToReference on
|
|
75
|
+
rotateToReference on
|
|
76
|
+
centerToOrigin on
|
|
77
|
+
fittingGroup {
|
|
78
|
+
indexGroup $protein_selection
|
|
79
|
+
}
|
|
80
|
+
refPositionsfile reference.xyz
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
colvar {
|
|
86
|
+
name polarPhi
|
|
87
|
+
width $polarPhi_width
|
|
88
|
+
lowerboundary $polarPhi_lower_boundary
|
|
89
|
+
upperboundary $polarPhi_upper_boundary
|
|
90
|
+
subtractAppliedForce on
|
|
91
|
+
extendedLagrangian on
|
|
92
|
+
extendedFluctuation $polarPhi_width
|
|
93
|
+
polarPhi {
|
|
94
|
+
atoms {
|
|
95
|
+
indexGroup $ligand_selection
|
|
96
|
+
centerToReference on
|
|
97
|
+
rotateToReference on
|
|
98
|
+
centerToOrigin on
|
|
99
|
+
fittingGroup {
|
|
100
|
+
indexGroup $protein_selection
|
|
101
|
+
}
|
|
102
|
+
refPositionsFile reference.xyz
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
harmonicWalls {
|
|
108
|
+
colvars polarPhi
|
|
109
|
+
lowerWalls $polarPhi_lower_boundary
|
|
110
|
+
upperWalls $polarPhi_upper_boundary
|
|
111
|
+
lowerWallConstant $polarPhi_wall_constant
|
|
112
|
+
upperWallConstant $polarPhi_wall_constant
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
abf {
|
|
116
|
+
colvars polarPhi
|
|
117
|
+
FullSamples 10000
|
|
118
|
+
historyfreq 50000
|
|
119
|
+
writeCZARwindowFile
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
metadynamics {
|
|
123
|
+
colvars polarPhi
|
|
124
|
+
hillWidth 3.0
|
|
125
|
+
hillWeight 0.2092
|
|
126
|
+
wellTempered on
|
|
127
|
+
biasTemperature 4000
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
harmonic {
|
|
131
|
+
colvars polarTheta
|
|
132
|
+
forceConstant 0.4184
|
|
133
|
+
centers 005_pmf_argmin
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
harmonic {
|
|
137
|
+
colvars eulerPsi
|
|
138
|
+
forceConstant 0.4184
|
|
139
|
+
centers 004_pmf_argmin
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
harmonic {
|
|
143
|
+
colvars eulerPhi
|
|
144
|
+
forceConstant 0.4184
|
|
145
|
+
centers 003_pmf_argmin
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
harmonic {
|
|
149
|
+
colvars eulerTheta
|
|
150
|
+
forceConstant 0.4184
|
|
151
|
+
centers 002_pmf_argmin
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
harmonic {
|
|
155
|
+
colvars RMSD
|
|
156
|
+
forceConstant 4184
|
|
157
|
+
centers 0
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
colvar {
|
|
161
|
+
name translation
|
|
162
|
+
distance {
|
|
163
|
+
group1 {
|
|
164
|
+
indexGroup $protein_selection
|
|
165
|
+
}
|
|
166
|
+
group2 {
|
|
167
|
+
dummyAtom $protein_center
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
harmonic {
|
|
173
|
+
colvars translation
|
|
174
|
+
centers 0.0
|
|
175
|
+
forceConstant 4184
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
colvar {
|
|
179
|
+
name orientation
|
|
180
|
+
orientation {
|
|
181
|
+
atoms {
|
|
182
|
+
indexGroup $protein_selection
|
|
183
|
+
}
|
|
184
|
+
refPositionsfile reference.xyz
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
harmonic {
|
|
189
|
+
colvars orientation
|
|
190
|
+
centers (1.0, 0.0, 0.0, 0.0)
|
|
191
|
+
forceConstant 836.8
|
|
192
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
# define the binary of gromacs
|
|
4
|
+
if which gmx_mpi &> /dev/null; then
|
|
5
|
+
GMX_BIN=$(which gmx_mpi)
|
|
6
|
+
else which gmx &> /dev/null;
|
|
7
|
+
GMX_BIN=$(which gmx)
|
|
8
|
+
fi
|
|
9
|
+
echo "Will use the gromacs executable binary at $GMX_BIN"
|
|
10
|
+
|
|
11
|
+
# input (.gro, .top and .mdp) and output (.tpr)
|
|
12
|
+
# MDP_FILE: running parameters
|
|
13
|
+
# GRO_FILE: atom positions
|
|
14
|
+
# TOP_FILE: topology
|
|
15
|
+
MDP_FILE=$MDP_FILE_TEMPLATE
|
|
16
|
+
GRO_FILE=$GRO_FILE_TEMPLATE
|
|
17
|
+
TOP_FILE=$TOP_FILE_TEMPLATE
|
|
18
|
+
|
|
19
|
+
# generate the tpr file
|
|
20
|
+
OUTPUT_BASENAME=$(basename "$(pwd)")
|
|
21
|
+
TPR_FILE="$OUTPUT_BASENAME.tpr"
|
|
22
|
+
NEW_MDP_FILE="$OUTPUT_BASENAME.mdp"
|
|
23
|
+
echo "Making gromacs tpr file ($TPR_FILE)..."
|
|
24
|
+
$GMX_BIN grompp -f $MDP_FILE -c $GRO_FILE -p $TOP_FILE -o $TPR_FILE -po $NEW_MDP_FILE
|
|
25
|
+
|
|
26
|
+
# modify the colvars input file using the PMF minima in previous stages
|
|
27
|
+
ARGMIN_002=$(awk -f ./find_min_max.awk ../$BASENAME_002/output/$BASENAME_002.out.abf1.czar.pmf)
|
|
28
|
+
ARGMIN_003=$(awk -f ./find_min_max.awk ../$BASENAME_003/output/$BASENAME_003.out.abf1.czar.pmf)
|
|
29
|
+
ARGMIN_004=$(awk -f ./find_min_max.awk ../$BASENAME_004/output/$BASENAME_004.out.abf1.czar.pmf)
|
|
30
|
+
ARGMIN_005=$(awk -f ./find_min_max.awk ../$BASENAME_005/output/$BASENAME_005.out.abf1.czar.pmf)
|
|
31
|
+
sed -i.orig "s/002_pmf_argmin/$ARGMIN_002/g; s/003_pmf_argmin/$ARGMIN_003/g; s/004_pmf_argmin/$ARGMIN_004/g; s/005_pmf_argmin/$ARGMIN_005/g" $COLVARS_INPUT_TEMPLATE
|
|
32
|
+
rm -f $COLVARS_INPUT_TEMPLATE.orig
|
|
33
|
+
|
|
34
|
+
# run the PMF calculation
|
|
35
|
+
mkdir -p output
|
|
36
|
+
DEFAULT_OUTPUT_FILENAME="output/$OUTPUT_BASENAME.out"
|
|
37
|
+
# $GMX_BIN mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s $TPR_FILE -deffnm $DEFAULT_OUTPUT_FILENAME -colvars colvar.dat
|
|
38
|
+
echo "You can now run gromacs by the following example:"
|
|
39
|
+
echo "$GMX_BIN mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s $TPR_FILE -deffnm $DEFAULT_OUTPUT_FILENAME"
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
;equilibration of p41-abl
|
|
2
|
+
|
|
3
|
+
;Run control
|
|
4
|
+
integrator = md
|
|
5
|
+
dt = $dt
|
|
6
|
+
tinit = 0
|
|
7
|
+
nsteps = $nsteps
|
|
8
|
+
comm-mode = Linear
|
|
9
|
+
nstcomm = 1000
|
|
10
|
+
|
|
11
|
+
;Langevin dynamics
|
|
12
|
+
bd-fric = 0
|
|
13
|
+
ld-seed = -1
|
|
14
|
+
|
|
15
|
+
;Energy minimization
|
|
16
|
+
;emtol = 10
|
|
17
|
+
;emstep = 0.01
|
|
18
|
+
|
|
19
|
+
;Output control
|
|
20
|
+
nstxout = 5000
|
|
21
|
+
nstvout = 5000
|
|
22
|
+
nstfout = 5000
|
|
23
|
+
nstlog = 5000
|
|
24
|
+
nstcalcenergy = 1000
|
|
25
|
+
nstenergy = 5000
|
|
26
|
+
|
|
27
|
+
;Neighbor searching
|
|
28
|
+
cutoff-scheme = Verlet
|
|
29
|
+
ns-type = grid
|
|
30
|
+
pbc = xyz
|
|
31
|
+
periodic-molecules = no
|
|
32
|
+
|
|
33
|
+
;Electrostatics
|
|
34
|
+
coulombtype = PME
|
|
35
|
+
coulomb-modifier = Potential-shift-Verlet
|
|
36
|
+
rcoulomb = 1.2
|
|
37
|
+
|
|
38
|
+
;VdW
|
|
39
|
+
vdwtype = Cut-off
|
|
40
|
+
vdw-modifier = force-switch
|
|
41
|
+
rvdw = 1.2
|
|
42
|
+
rvdw-switch = 1.0
|
|
43
|
+
DispCorr = no
|
|
44
|
+
|
|
45
|
+
;Bonds (for minimization)
|
|
46
|
+
constraint-algorithm = LINCS
|
|
47
|
+
constraints = h-bonds
|
|
48
|
+
continuation = yes
|
|
49
|
+
morse = no
|
|
50
|
+
|
|
51
|
+
;Implicit solvent
|
|
52
|
+
implicit-solvent = no
|
|
53
|
+
|
|
54
|
+
;Pressure coupling
|
|
55
|
+
;Pressure coupling
|
|
56
|
+
pcoupl = C-rescale
|
|
57
|
+
pcoupltype = Isotropic
|
|
58
|
+
nstpcouple = -1
|
|
59
|
+
tau-p = 2
|
|
60
|
+
compressibility = 4.5e-5
|
|
61
|
+
ref-p = $pressure
|
|
62
|
+
|
|
63
|
+
;Temperature coupling
|
|
64
|
+
tcoupl = v-rescale
|
|
65
|
+
tc-grps = System
|
|
66
|
+
tau_t = 0.1
|
|
67
|
+
ref_t = $temperature
|
|
68
|
+
|
|
69
|
+
;Velocity generation
|
|
70
|
+
gen-vel = no
|
|
71
|
+
|
|
72
|
+
;Colvars
|
|
73
|
+
colvars-active = yes
|
|
74
|
+
colvars-configfile = $colvarsFile
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
colvarsTrajFrequency 500
|
|
2
|
+
colvarsRestartFrequency 5000000
|
|
3
|
+
indexFile colvars.ndx
|
|
4
|
+
|
|
5
|
+
colvar {
|
|
6
|
+
name RMSD
|
|
7
|
+
rmsd {
|
|
8
|
+
atoms {
|
|
9
|
+
indexGroup $ligand_selection
|
|
10
|
+
}
|
|
11
|
+
refPositionsfile reference.xyz
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
colvar {
|
|
16
|
+
name eulerTheta
|
|
17
|
+
eulerTheta {
|
|
18
|
+
atoms {
|
|
19
|
+
indexGroup $ligand_selection
|
|
20
|
+
centerToReference on
|
|
21
|
+
rotateToReference on
|
|
22
|
+
centerToOrigin on
|
|
23
|
+
enableFitGradients on
|
|
24
|
+
fittingGroup {
|
|
25
|
+
indexGroup $protein_selection
|
|
26
|
+
}
|
|
27
|
+
refPositionsfile reference.xyz
|
|
28
|
+
}
|
|
29
|
+
refPositionsfile reference.xyz
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
colvar {
|
|
34
|
+
name eulerPhi
|
|
35
|
+
eulerPhi {
|
|
36
|
+
atoms {
|
|
37
|
+
indexGroup $ligand_selection
|
|
38
|
+
centerToReference on
|
|
39
|
+
rotateToReference on
|
|
40
|
+
centerToOrigin on
|
|
41
|
+
enableFitGradients on
|
|
42
|
+
fittingGroup {
|
|
43
|
+
indexGroup $protein_selection
|
|
44
|
+
}
|
|
45
|
+
refPositionsfile reference.xyz
|
|
46
|
+
}
|
|
47
|
+
refPositionsfile reference.xyz
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
colvar {
|
|
52
|
+
name eulerPsi
|
|
53
|
+
eulerPsi {
|
|
54
|
+
atoms {
|
|
55
|
+
indexGroup $ligand_selection
|
|
56
|
+
centerToReference on
|
|
57
|
+
rotateToReference on
|
|
58
|
+
centerToOrigin on
|
|
59
|
+
enableFitGradients on
|
|
60
|
+
fittingGroup {
|
|
61
|
+
indexGroup $protein_selection
|
|
62
|
+
}
|
|
63
|
+
refPositionsfile reference.xyz
|
|
64
|
+
}
|
|
65
|
+
refPositionsfile reference.xyz
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
colvar {
|
|
70
|
+
name polarTheta
|
|
71
|
+
polarTheta {
|
|
72
|
+
atoms {
|
|
73
|
+
indexGroup $ligand_selection
|
|
74
|
+
centerToReference on
|
|
75
|
+
rotateToReference on
|
|
76
|
+
centerToOrigin on
|
|
77
|
+
fittingGroup {
|
|
78
|
+
indexGroup $protein_selection
|
|
79
|
+
}
|
|
80
|
+
refPositionsfile reference.xyz
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
colvar {
|
|
86
|
+
name polarPhi
|
|
87
|
+
polarPhi {
|
|
88
|
+
atoms {
|
|
89
|
+
indexGroup $ligand_selection
|
|
90
|
+
centerToReference on
|
|
91
|
+
rotateToReference on
|
|
92
|
+
centerToOrigin on
|
|
93
|
+
fittingGroup {
|
|
94
|
+
indexGroup $protein_selection
|
|
95
|
+
}
|
|
96
|
+
refPositionsFile reference.xyz
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
colvar {
|
|
102
|
+
name r
|
|
103
|
+
width $r_width
|
|
104
|
+
lowerboundary $r_lower_boundary
|
|
105
|
+
upperboundary $r_upper_boundary
|
|
106
|
+
subtractAppliedForce on
|
|
107
|
+
extendedLagrangian on
|
|
108
|
+
extendedFluctuation $r_width
|
|
109
|
+
distance {
|
|
110
|
+
group1 {
|
|
111
|
+
indexGroup $protein_selection
|
|
112
|
+
}
|
|
113
|
+
group2 {
|
|
114
|
+
indexGroup $ligand_selection
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
harmonicWalls {
|
|
120
|
+
colvars r
|
|
121
|
+
lowerWalls $r_lower_boundary
|
|
122
|
+
upperWalls $r_upper_boundary
|
|
123
|
+
lowerWallConstant $r_wall_constant
|
|
124
|
+
upperWallConstant $r_wall_constant
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
abf {
|
|
128
|
+
colvars r
|
|
129
|
+
FullSamples 10000
|
|
130
|
+
historyfreq 5000000
|
|
131
|
+
writeCZARwindowFile
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
metadynamics {
|
|
135
|
+
colvars r
|
|
136
|
+
hillWidth 3.0
|
|
137
|
+
hillWeight 0.2092
|
|
138
|
+
wellTempered on
|
|
139
|
+
biasTemperature 4000
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
harmonic {
|
|
143
|
+
colvars polarPhi
|
|
144
|
+
forceConstant 0.4184
|
|
145
|
+
centers 006_pmf_argmin
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
harmonic {
|
|
149
|
+
colvars polarTheta
|
|
150
|
+
forceConstant 0.4184
|
|
151
|
+
centers 005_pmf_argmin
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
harmonic {
|
|
155
|
+
colvars eulerPsi
|
|
156
|
+
forceConstant 0.4184
|
|
157
|
+
centers 004_pmf_argmin
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
harmonic {
|
|
161
|
+
colvars eulerPhi
|
|
162
|
+
forceConstant 0.4184
|
|
163
|
+
centers 003_pmf_argmin
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
harmonic {
|
|
167
|
+
colvars eulerTheta
|
|
168
|
+
forceConstant 0.4184
|
|
169
|
+
centers 002_pmf_argmin
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
harmonic {
|
|
173
|
+
colvars RMSD
|
|
174
|
+
forceConstant 4184
|
|
175
|
+
centers 0
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
colvar {
|
|
179
|
+
name translation
|
|
180
|
+
distance {
|
|
181
|
+
group1 {
|
|
182
|
+
indexGroup $protein_selection
|
|
183
|
+
}
|
|
184
|
+
group2 {
|
|
185
|
+
dummyAtom $protein_center
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
harmonic {
|
|
191
|
+
colvars translation
|
|
192
|
+
centers 0.0
|
|
193
|
+
forceConstant 4184
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
colvar {
|
|
197
|
+
name orientation
|
|
198
|
+
orientation {
|
|
199
|
+
atoms {
|
|
200
|
+
indexGroup $protein_selection
|
|
201
|
+
}
|
|
202
|
+
refPositionsfile reference.xyz
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
harmonic {
|
|
207
|
+
colvars orientation
|
|
208
|
+
centers (1.0, 0.0, 0.0, 0.0)
|
|
209
|
+
forceConstant 836.8
|
|
210
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
# define the binary of gromacs
|
|
4
|
+
if which gmx_mpi &> /dev/null; then
|
|
5
|
+
GMX_BIN=$(which gmx_mpi)
|
|
6
|
+
else which gmx &> /dev/null;
|
|
7
|
+
GMX_BIN=$(which gmx)
|
|
8
|
+
fi
|
|
9
|
+
echo "Will use the gromacs executable binary at $GMX_BIN"
|
|
10
|
+
|
|
11
|
+
# input (.gro, .top and .mdp) and output (.tpr)
|
|
12
|
+
# MDP_FILE: running parameters
|
|
13
|
+
# GRO_FILE: atom positions
|
|
14
|
+
# TOP_FILE: topology
|
|
15
|
+
MDP_FILE=$MDP_FILE_TEMPLATE
|
|
16
|
+
GRO_FILE=$GRO_FILE_TEMPLATE
|
|
17
|
+
TOP_FILE=$TOP_FILE_TEMPLATE
|
|
18
|
+
|
|
19
|
+
# generate the tpr file
|
|
20
|
+
OUTPUT_BASENAME=$(basename "$(pwd)")
|
|
21
|
+
TPR_FILE="$OUTPUT_BASENAME.tpr"
|
|
22
|
+
NEW_MDP_FILE="$OUTPUT_BASENAME.mdp"
|
|
23
|
+
echo "Making gromacs tpr file ($TPR_FILE)..."
|
|
24
|
+
$GMX_BIN grompp -f $MDP_FILE -c $GRO_FILE -p $TOP_FILE -o $TPR_FILE -po $NEW_MDP_FILE
|
|
25
|
+
|
|
26
|
+
# modify the colvars input file using the PMF minima in previous stages
|
|
27
|
+
ARGMIN_002=$(awk -f ./find_min_max.awk ../$BASENAME_002/output/$BASENAME_002.out.abf1.czar.pmf)
|
|
28
|
+
ARGMIN_003=$(awk -f ./find_min_max.awk ../$BASENAME_003/output/$BASENAME_003.out.abf1.czar.pmf)
|
|
29
|
+
ARGMIN_004=$(awk -f ./find_min_max.awk ../$BASENAME_004/output/$BASENAME_004.out.abf1.czar.pmf)
|
|
30
|
+
ARGMIN_005=$(awk -f ./find_min_max.awk ../$BASENAME_005/output/$BASENAME_005.out.abf1.czar.pmf)
|
|
31
|
+
ARGMIN_006=$(awk -f ./find_min_max.awk ../$BASENAME_006/output/$BASENAME_006.out.abf1.czar.pmf)
|
|
32
|
+
sed -i.orig "s/002_pmf_argmin/$ARGMIN_002/g; s/003_pmf_argmin/$ARGMIN_003/g; s/004_pmf_argmin/$ARGMIN_004/g; s/005_pmf_argmin/$ARGMIN_005/g; s/006_pmf_argmin/$ARGMIN_006/g" $COLVARS_INPUT_TEMPLATE
|
|
33
|
+
rm -f $COLVARS_INPUT_TEMPLATE.orig
|
|
34
|
+
|
|
35
|
+
# run the PMF calculation
|
|
36
|
+
mkdir -p output
|
|
37
|
+
DEFAULT_OUTPUT_FILENAME="output/$OUTPUT_BASENAME.out"
|
|
38
|
+
# $GMX_BIN mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s $TPR_FILE -deffnm $DEFAULT_OUTPUT_FILENAME -colvars colvar.dat
|
|
39
|
+
echo "You can now run gromacs by the following example:"
|
|
40
|
+
echo "$GMX_BIN mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s $TPR_FILE -deffnm $DEFAULT_OUTPUT_FILENAME"
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
;equilibration of p41-abl
|
|
2
|
+
|
|
3
|
+
;Run control
|
|
4
|
+
integrator = md
|
|
5
|
+
dt = $dt
|
|
6
|
+
tinit = 0
|
|
7
|
+
nsteps = $nsteps
|
|
8
|
+
comm-mode = Linear
|
|
9
|
+
nstcomm = 1000
|
|
10
|
+
|
|
11
|
+
;Langevin dynamics
|
|
12
|
+
bd-fric = 0
|
|
13
|
+
ld-seed = -1
|
|
14
|
+
|
|
15
|
+
;Energy minimization
|
|
16
|
+
;emtol = 10
|
|
17
|
+
;emstep = 0.01
|
|
18
|
+
|
|
19
|
+
;Output control
|
|
20
|
+
nstxout = 5000
|
|
21
|
+
nstvout = 5000
|
|
22
|
+
nstfout = 5000
|
|
23
|
+
nstlog = 5000
|
|
24
|
+
nstcalcenergy = 1000
|
|
25
|
+
nstenergy = 5000
|
|
26
|
+
|
|
27
|
+
;Neighbor searching
|
|
28
|
+
cutoff-scheme = Verlet
|
|
29
|
+
ns-type = grid
|
|
30
|
+
pbc = xyz
|
|
31
|
+
periodic-molecules = no
|
|
32
|
+
|
|
33
|
+
;Electrostatics
|
|
34
|
+
coulombtype = PME
|
|
35
|
+
coulomb-modifier = Potential-shift-Verlet
|
|
36
|
+
rcoulomb = 1.2
|
|
37
|
+
|
|
38
|
+
;VdW
|
|
39
|
+
vdwtype = Cut-off
|
|
40
|
+
vdw-modifier = force-switch
|
|
41
|
+
rvdw = 1.2
|
|
42
|
+
rvdw-switch = 1.0
|
|
43
|
+
DispCorr = no
|
|
44
|
+
|
|
45
|
+
;Bonds (for minimization)
|
|
46
|
+
constraint-algorithm = LINCS
|
|
47
|
+
constraints = h-bonds
|
|
48
|
+
continuation = no
|
|
49
|
+
morse = no
|
|
50
|
+
|
|
51
|
+
;Implicit solvent
|
|
52
|
+
implicit-solvent = no
|
|
53
|
+
|
|
54
|
+
;Pressure coupling
|
|
55
|
+
pcoupl = C-rescale
|
|
56
|
+
pcoupltype = Isotropic
|
|
57
|
+
nstpcouple = -1
|
|
58
|
+
tau-p = 2
|
|
59
|
+
compressibility = 4.5e-5
|
|
60
|
+
ref-p = $pressure
|
|
61
|
+
|
|
62
|
+
;Temperature coupling
|
|
63
|
+
tcoupl = v-rescale
|
|
64
|
+
tc-grps = System
|
|
65
|
+
tau_t = 0.1
|
|
66
|
+
ref_t = $temperature
|
|
67
|
+
|
|
68
|
+
;Velocity generation
|
|
69
|
+
gen-vel = yes
|
|
70
|
+
|
|
71
|
+
;Colvars
|
|
72
|
+
colvars-active = yes
|
|
73
|
+
colvars-configfile = $colvarsFile
|