Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions AmberMdPrep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# NIH/NHLBI
# 2020-08-07

VERSION='0.6 (beta)'
VERSION='0.7 (beta)'
MPIRUN=`which mpirun`
CPPTRAJ=`which cpptraj`

Expand Down Expand Up @@ -595,12 +595,12 @@ while read MLINE ; do
if [ -z "$HEAVYMASK" ] ; then
HEAVYMASK=":$resrange&!@H="
else
HEAVYMASK="$HEAVYMASK,:$resrange&!@H="
HEAVYMASK="$HEAVYMASK|:$resrange&!@H="
fi
if [ -z "$BACKBONEMASK" ] ; then
BACKBONEMASK=":$resrange$bbatoms"
else
BACKBONEMASK="$BACKBONEMASK,:$resrange$bbatoms"
BACKBONEMASK="$BACKBONEMASK|:$resrange$bbatoms"
fi
fi
done < $TMPMASK
Expand Down
2 changes: 1 addition & 1 deletion test/modified.residues/Save/step1.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Minimization: step1.in
imin = 1, ntmin = 2, maxcyc = 1000, ncyc = 10,
ntwx = 500, ioutfm = 1, ntxo = 2, ntpr = 50, ntwr = 500,
ntc = 1, ntf = 1, ntb = 1, cut = 8.0,
ntr = 1, restraintmask = ":1-5&!@H=,:8-13&!@H=", restraint_wt = 5.0,
ntr = 1, restraintmask = ":1-5&!@H=|:8-13&!@H=", restraint_wt = 5.0,
&end
2 changes: 1 addition & 1 deletion test/modified.residues/Save/step2.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ MD: step2.in
iwrap = 0, nscm = 0,
ntc = 2, ntf = 2, ntb = 1, cut = 8.0,
ntt = 3, gamma_ln = 5, temp0 = 300, tempi = 300,
ntr = 1, restraintmask = ":1-5&!@H=,:8-13&!@H=", restraint_wt = 5.0,
ntr = 1, restraintmask = ":1-5&!@H=|:8-13&!@H=", restraint_wt = 5.0,
&end
2 changes: 1 addition & 1 deletion test/modified.residues/Save/step3.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Minimization: step3.in
imin = 1, ntmin = 2, maxcyc = 1000, ncyc = 10,
ntwx = 500, ioutfm = 1, ntxo = 2, ntpr = 50, ntwr = 500,
ntc = 1, ntf = 1, ntb = 1, cut = 8.0,
ntr = 1, restraintmask = ":1-5&!@H=,:8-13&!@H=", restraint_wt = 2.0,
ntr = 1, restraintmask = ":1-5&!@H=|:8-13&!@H=", restraint_wt = 2.0,
&end
2 changes: 1 addition & 1 deletion test/modified.residues/Save/step4.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Minimization: step4.in
imin = 1, ntmin = 2, maxcyc = 1000, ncyc = 10,
ntwx = 500, ioutfm = 1, ntxo = 2, ntpr = 50, ntwr = 500,
ntc = 1, ntf = 1, ntb = 1, cut = 8.0,
ntr = 1, restraintmask = ":1-5&!@H=,:8-13&!@H=", restraint_wt = 0.1,
ntr = 1, restraintmask = ":1-5&!@H=|:8-13&!@H=", restraint_wt = 0.1,
&end
2 changes: 1 addition & 1 deletion test/modified.residues/Save/step6.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ MD: step6.in
ntc = 2, ntf = 2, ntb = 2, cut = 8.0,
ntt = 3, gamma_ln = 5, temp0 = 300, tempi = 300,
ntp = 1, barostat = 2, pres0 = 1.0, mcbarint = 100,
ntr = 1, restraintmask = ":1-5&!@H=,:8-13&!@H=", restraint_wt = 1.0,
ntr = 1, restraintmask = ":1-5&!@H=|:8-13&!@H=", restraint_wt = 1.0,
&end
2 changes: 1 addition & 1 deletion test/modified.residues/Save/step7.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ MD: step7.in
ntc = 2, ntf = 2, ntb = 2, cut = 8.0,
ntt = 3, gamma_ln = 5, temp0 = 300, tempi = 300,
ntp = 1, barostat = 2, pres0 = 1.0, mcbarint = 100,
ntr = 1, restraintmask = ":1-5&!@H=,:8-13&!@H=", restraint_wt = 0.5,
ntr = 1, restraintmask = ":1-5&!@H=|:8-13&!@H=", restraint_wt = 0.5,
&end
2 changes: 1 addition & 1 deletion test/modified.residues/Save/step8.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ MD: step8.in
ntc = 2, ntf = 2, ntb = 2, cut = 8.0,
ntt = 3, gamma_ln = 5, temp0 = 300, tempi = 300,
ntp = 1, barostat = 2, pres0 = 1.0, mcbarint = 100,
ntr = 1, restraintmask = ":1-5@H,N,CA,HA,C,O,:8-13@H,N,CA,HA,C,O", restraint_wt = 0.5,
ntr = 1, restraintmask = ":1-5@H,N,CA,HA,C,O|:8-13@H,N,CA,HA,C,O", restraint_wt = 0.5,
&end
4 changes: 2 additions & 2 deletions test/modified.residues/test.out.save
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ AmberMdPrep.sh Version 0.6 (beta)
Warning: Unknown residues detected; will be ignored for restraints.
Detected types : protein
NUM SOLUTE RES : 11
HEAVY MASK : :1-5&!@H=,:8-13&!@H=
BACKBONE MASK : :1-5@H,N,CA,HA,C,O,:8-13@H,N,CA,HA,C,O
HEAVY MASK : :1-5&!@H=|:8-13&!@H=
BACKBONE MASK : :1-5@H,N,CA,HA,C,O|:8-13@H,N,CA,HA,C,O
TEMPERATURE : 300
OVERWRITE : 0
MD COMMAND : pmemd
Expand Down