forked from soedinglab/hhdatabase_cif70
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pdb70_update.sh
executable file
·39 lines (28 loc) · 1.01 KB
/
pdb70_update.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
#!/bin/bash
source /etc/profile
source ./paths.sh
source ~/.bashrc
export pdb70_lock_file=${pdb70_dir}/lock_pdb70.txt
if [ -e ${pdb70_lock_file} ] && kill -0 `cat ${pdb70_lock_file}`; then
echo "already running"
exit
fi
# remove old log files
rm -f ${HOME}/jobs/cif70*.log
echo "pdb70_update.sh: Creating ${pdb_dir}."
mkdir -p ${pdb_dir} # create the pdb folder if not exitsts
# sync folders, for testing purposes only some folders of the PDB
echo "pdb70_update.sh: Syncing folders ..."
rsync --progress -rlpt -v -z --port=33444 rsync.wwpdb.org::ftp/data/structures/divided/mmCIF/ ${pdb_dir}
rsync --progress -rlpt -v -z --port=33444 rsync.wwpdb.org::ftp/data/structures/obsolete/mmCIF/ ${pdb_dir}/obsolete
bsub < ./pdb70_unfold_pdb.sh
bsub < ./pdb70_prepare_input.sh
bsub < ./pdb70_hhblits.sh
#depends on hhblits
bsub < ./pdb70_addss.sh
bsub < ./pdb70_cstranslate.sh
bsub < ./pdb70_cstranslate_old.sh
#depends on addss
bsub < ./pdb70_hhmake.sh
#depends on hhmake cstranslate cstranslate_old
bsub < ./pdb70_finalize.sh