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,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 = yes
|
|
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 = no
|
|
70
|
+
|
|
71
|
+
;Colvars
|
|
72
|
+
colvars-active = yes
|
|
73
|
+
colvars-configfile = $colvarsFile
|
|
@@ -0,0 +1,148 @@
|
|
|
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
|
+
width $eulerPsi_width
|
|
54
|
+
lowerboundary $eulerPsi_lower_boundary
|
|
55
|
+
upperboundary $eulerPsi_upper_boundary
|
|
56
|
+
subtractAppliedForce on
|
|
57
|
+
extendedLagrangian on
|
|
58
|
+
extendedFluctuation $eulerPsi_width
|
|
59
|
+
eulerPsi {
|
|
60
|
+
atoms {
|
|
61
|
+
indexGroup $ligand_selection
|
|
62
|
+
centerToReference on
|
|
63
|
+
rotateToReference on
|
|
64
|
+
centerToOrigin on
|
|
65
|
+
enableFitGradients on
|
|
66
|
+
fittingGroup {
|
|
67
|
+
indexGroup $protein_selection
|
|
68
|
+
}
|
|
69
|
+
refPositionsfile reference.xyz
|
|
70
|
+
}
|
|
71
|
+
refPositionsfile reference.xyz
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
harmonicWalls {
|
|
76
|
+
colvars eulerPsi
|
|
77
|
+
lowerWalls $eulerPsi_lower_boundary
|
|
78
|
+
upperWalls $eulerPsi_upper_boundary
|
|
79
|
+
lowerWallConstant $eulerPsi_wall_constant
|
|
80
|
+
upperWallConstant $eulerPsi_wall_constant
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
abf {
|
|
84
|
+
colvars eulerPsi
|
|
85
|
+
FullSamples 10000
|
|
86
|
+
historyfreq 50000
|
|
87
|
+
writeCZARwindowFile
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
metadynamics {
|
|
91
|
+
colvars eulerPsi
|
|
92
|
+
hillWidth 3.0
|
|
93
|
+
hillWeight 0.2092
|
|
94
|
+
wellTempered on
|
|
95
|
+
biasTemperature 4000
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
harmonic {
|
|
99
|
+
colvars eulerPhi
|
|
100
|
+
forceConstant 0.4184
|
|
101
|
+
centers 003_pmf_argmin
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
harmonic {
|
|
105
|
+
colvars eulerTheta
|
|
106
|
+
forceConstant 0.4184
|
|
107
|
+
centers 002_pmf_argmin
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
harmonic {
|
|
111
|
+
colvars RMSD
|
|
112
|
+
forceConstant 4184
|
|
113
|
+
centers 0
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
colvar {
|
|
117
|
+
name translation
|
|
118
|
+
distance {
|
|
119
|
+
group1 {
|
|
120
|
+
indexGroup $protein_selection
|
|
121
|
+
}
|
|
122
|
+
group2 {
|
|
123
|
+
dummyAtom $protein_center
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
harmonic {
|
|
129
|
+
colvars translation
|
|
130
|
+
centers 0.0
|
|
131
|
+
forceConstant 4184
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
colvar {
|
|
135
|
+
name orientation
|
|
136
|
+
orientation {
|
|
137
|
+
atoms {
|
|
138
|
+
indexGroup $protein_selection
|
|
139
|
+
}
|
|
140
|
+
refPositionsfile reference.xyz
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
harmonic {
|
|
145
|
+
colvars orientation
|
|
146
|
+
centers (1.0, 0.0, 0.0, 0.0)
|
|
147
|
+
forceConstant 836.8
|
|
148
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
sed -i.orig "s/002_pmf_argmin/$ARGMIN_002/g; s/003_pmf_argmin/$ARGMIN_003/g" $COLVARS_INPUT_TEMPLATE
|
|
30
|
+
rm -f $COLVARS_INPUT_TEMPLATE.orig
|
|
31
|
+
|
|
32
|
+
# run the PMF calculation
|
|
33
|
+
mkdir -p output
|
|
34
|
+
DEFAULT_OUTPUT_FILENAME="output/$OUTPUT_BASENAME.out"
|
|
35
|
+
# $GMX_BIN mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s $TPR_FILE -deffnm $DEFAULT_OUTPUT_FILENAME -colvars colvar.dat
|
|
36
|
+
echo "You can now run gromacs by the following example:"
|
|
37
|
+
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,170 @@
|
|
|
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
|
+
width $polarTheta_width
|
|
72
|
+
lowerboundary $polarTheta_lower_boundary
|
|
73
|
+
upperboundary $polarTheta_upper_boundary
|
|
74
|
+
subtractAppliedForce on
|
|
75
|
+
extendedLagrangian on
|
|
76
|
+
extendedFluctuation $polarTheta_width
|
|
77
|
+
polarTheta {
|
|
78
|
+
atoms {
|
|
79
|
+
indexGroup $ligand_selection
|
|
80
|
+
centerToReference on
|
|
81
|
+
rotateToReference on
|
|
82
|
+
centerToOrigin on
|
|
83
|
+
fittingGroup {
|
|
84
|
+
indexGroup $protein_selection
|
|
85
|
+
}
|
|
86
|
+
refPositionsfile reference.xyz
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
harmonicWalls {
|
|
92
|
+
colvars polarTheta
|
|
93
|
+
lowerWalls $polarTheta_lower_boundary
|
|
94
|
+
upperWalls $polarTheta_upper_boundary
|
|
95
|
+
lowerWallConstant $polarTheta_wall_constant
|
|
96
|
+
upperWallConstant $polarTheta_wall_constant
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
abf {
|
|
100
|
+
colvars polarTheta
|
|
101
|
+
FullSamples 10000
|
|
102
|
+
historyfreq 50000
|
|
103
|
+
writeCZARwindowFile
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
metadynamics {
|
|
107
|
+
colvars polarTheta
|
|
108
|
+
hillWidth 3.0
|
|
109
|
+
hillWeight 0.2092
|
|
110
|
+
wellTempered on
|
|
111
|
+
biasTemperature 4000
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
harmonic {
|
|
115
|
+
colvars eulerPsi
|
|
116
|
+
forceConstant 0.4184
|
|
117
|
+
centers 004_pmf_argmin
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
harmonic {
|
|
121
|
+
colvars eulerPhi
|
|
122
|
+
forceConstant 0.4184
|
|
123
|
+
centers 003_pmf_argmin
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
harmonic {
|
|
127
|
+
colvars eulerTheta
|
|
128
|
+
forceConstant 0.4184
|
|
129
|
+
centers 002_pmf_argmin
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
harmonic {
|
|
133
|
+
colvars RMSD
|
|
134
|
+
forceConstant 4184
|
|
135
|
+
centers 0
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
colvar {
|
|
139
|
+
name translation
|
|
140
|
+
distance {
|
|
141
|
+
group1 {
|
|
142
|
+
indexGroup $protein_selection
|
|
143
|
+
}
|
|
144
|
+
group2 {
|
|
145
|
+
dummyAtom $protein_center
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
harmonic {
|
|
151
|
+
colvars translation
|
|
152
|
+
centers 0.0
|
|
153
|
+
forceConstant 4184
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
colvar {
|
|
157
|
+
name orientation
|
|
158
|
+
orientation {
|
|
159
|
+
atoms {
|
|
160
|
+
indexGroup $protein_selection
|
|
161
|
+
}
|
|
162
|
+
refPositionsfile reference.xyz
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
harmonic {
|
|
167
|
+
colvars orientation
|
|
168
|
+
centers (1.0, 0.0, 0.0, 0.0)
|
|
169
|
+
forceConstant 836.8
|
|
170
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
sed -i.orig "s/002_pmf_argmin/$ARGMIN_002/g; s/003_pmf_argmin/$ARGMIN_003/g; s/004_pmf_argmin/$ARGMIN_004/g" $COLVARS_INPUT_TEMPLATE
|
|
31
|
+
rm -f $COLVARS_INPUT_TEMPLATE.orig
|
|
32
|
+
|
|
33
|
+
# run the PMF calculation
|
|
34
|
+
mkdir -p output
|
|
35
|
+
DEFAULT_OUTPUT_FILENAME="output/$OUTPUT_BASENAME.out"
|
|
36
|
+
# $GMX_BIN mdrun -ntmpi 1 -ntomp 4 -nb gpu -pme gpu -gpu_id 0 -s $TPR_FILE -deffnm $DEFAULT_OUTPUT_FILENAME -colvars colvar.dat
|
|
37
|
+
echo "You can now run gromacs by the following example:"
|
|
38
|
+
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
|