-
Notifications
You must be signed in to change notification settings - Fork 0
/
make-rex.sh
executable file
·70 lines (69 loc) · 1.94 KB
/
make-rex.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
while getopts ":h:g:f:" opt; do
case ${opt} in
h ) SUG=$OPTARG
;;
g ) ROC=$OPTARG
;;
f ) YAMLF=$OPTARG
;;
\? ) echo "Usage: make-yaml [-h] [-g] [-f]"
;;
esac
done
cat > "${YAMLF}" <<- _EOT_
options:
minimize: yes
verbose: yes
default_number_of_iterations: 500
temperature: 300*kelvin
pressure: 1*atmospheres
output_dir: output
molecules:
SUG:
filepath: ${SUG}
antechamber:
charge_method: bcc
ROC:
filepath: ${ROC}
antechamber:
charge_method: bcc
solvents:
GBSA:
nonbonded_method: NoCutoff
pme:
nonbonded_method: PME
nonbonded_cutoff: 12*angstroms
switch_distance: 11*angstroms
ewald_error_tolerance: 1.0e-4
clearance: 12*angstroms
positive_ion: Na+
negative_ion: Cl-
systems:
implicit:
receptor: CB7
ligand: B2
solvent: GBSA
leap:
parameters: leaprc.gaff2
explicit:
receptor: CB7
ligand: B2
solvent: pme
leap:
parameters: [leaprc.protein.ff14SB, leaprc.gaff, leaprc.water.tip4pew]
protocols:
absolute-binding:
complex:
alchemical_path:
lambda_electrostatics: [1.00, 0.95, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20, 0.10, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00]
lambda_sterics: [1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20, 0.15, 0.10, 0.05, 0.00]
solvent:
alchemical_path:
lambda_electrostatics: [1.00, 0.95, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20, 0.10, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00]
lambda_sterics: [1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20, 0.15, 0.10, 0.05, 0.00]
experiments:
system: !Combinatorial [implicit, explicit]
protocol: absolute-binding
restraint:
type: Harmonic
_EOT_