-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathanalysis_cpptraj.sh
More file actions
executable file
·62 lines (53 loc) · 1.5 KB
/
analysis_cpptraj.sh
File metadata and controls
executable file
·62 lines (53 loc) · 1.5 KB
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
#!/usr/bin/env bash
module load amber/amber22_ambertools23
echo INFO: WORKDIR $PWD
echo INFO: HOSTNAME `hostname`
echo INFO: AMBERHOME $AMBERHOME
$AMBERHOME/bin/cpptraj -p complex.parm7 << EOF
trajin min2.rst7
autoimage
trajout min2_ascii.rst7
EOF
$AMBERHOME/bin/cpptraj -p complex.parm7 << EOF
trajin heat-3.rst7
autoimage
trajout heat-3_ascii.rst7
EOF
$AMBERHOME/bin/cpptraj -p complex.parm7 << EOF
trajin press-3.rst7
autoimage
trajout press-3_ascii.rst7
EOF
$AMBERHOME/bin/cpptraj -p complex.parm7 << EOF
trajin prod.rst7
autoimage
trajout prod_ascii.rst7
EOF
$AMBERHOME/bin/cpptraj -p complex.parm7 << EOF
trajin complex.rst7
trajin prod.nc 1 last 1
autoimage
trajout prod_autoimage_first_last.pdb pdb onlyframes 1,201
EOF
$AMBERHOME/bin/cpptraj -p complex.parm7 << EOF
trajin complex.rst7
trajin prod.nc 1 last 1
reference complex.rst7 [initial]
autoimage
rms ToInitial :1-14@CA ref [initial] out singleparticle_CA_rmsd.dat mass
rms ToInitialL :1-6@CA ref [initial] out single_CA_rmsd.dat mass nofit
rms ToInitialR :7-14@CA ref [initial] out particle_CA_rmsd.dat mass nofit
distance EndToEnd out end-to-end_dist.dat :1@CA :14@CA
radgyr RoG :1-14&!(@H=) out radius-of-gyration.dat mass nomax
atomicfluct RMSF out rmsf_backbone.dat @C,CA,N byres
trajout prod_rms_first_last.pdb pdb onlyframes 1,201
EOF
$AMBERHOME/bin/cpptraj -p complex.parm7 << EOF
trajin complex.rst7
trajin prod.nc 1 last 1
reference complex.rst7 [initial]
rms ToInitial :1-14 ref [initial] mass
strip :Na+
strip :WAT
trajout prod_solute_rms.pdb pdb
EOF