-
Notifications
You must be signed in to change notification settings - Fork 3
/
md_process_new.sh
32 lines (27 loc) · 998 Bytes
/
md_process_new.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
WORK_DIR=$PWD
echo "Go to data directory."
echo "cp gro file to current directory."
echo "Make sure its name is \n\tstep6.1_equilibration.gro or \n\tnpt_ab.gro or \n\tstep4.1_equilibration.gro"
echo "current directory is: $PWD"
SCRIPTS_DIR='/home/wangmu/Documents/github/MD_dataprocess/'
echo "make sure the scripts directory is: $SCRIPTS_DIR"
#read -p "Press any key to continue... " -n1 -s
# cp trr files to one directory
cp -v "$SCRIPTS_DIR/post_process_mv_new.sh" .
echo "executing post_process_mv_new.sh ... "
source post_process_mv_new.sh
# transfer trr to xtc,then merge them to a new xtc file
cp -v "$SCRIPTS_DIR/trr2xtc_new.py" .
python trr2xtc_new.py
cd $WORK_DIR
## deal with pbc and align to reference
#cp -v "$SCRIPTS_DIR/atom_only_pbc.sh" .
#echo "executing atom_only_pbc.sh ... "
#source atom_only_pbc.sh
#
#cp -v "$SCRIPTS_DIR/draw_log_plots.py" .
#python draw_log_plots.py -f log_txt
#
## cp useme.tcl to current directory
#cp -v "$SCRIPTS_DIR/useme.tcl" .
#vmd -e useme.tcl