-
Notifications
You must be signed in to change notification settings - Fork 45
/
run_to_setup.sh
29 lines (29 loc) · 1.1 KB
/
run_to_setup.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
tar zxvf Accessory_scripts.tgz; rm Accessory_scripts.tgz
tar zxvf METABOLIC_hmm_db.tgz; rm METABOLIC_hmm_db.tgz
tar zxvf METABOLIC_template_and_database.tgz; rm METABOLIC_template_and_database.tgz
tar zxvf Motif.tgz; rm Motif.tgz
mkdir kofam_database
cd kofam_database
curl --silent ftp://ftp.genome.jp/pub/db/kofam/ko_list.gz -O ko_list.gz
curl --silent ftp://ftp.genome.jp/pub/db/kofam/profiles.tar.gz -O profiles.tar.gz
gzip --quiet -d ko_list.gz
tar xzf profiles.tar.gz; rm profiles.tar.gz
mv ../All_Module_KO_ids.txt profiles
cd profiles
cp ../../Accessory_scripts/batch_hmmpress.pl ./
perl batch_hmmpress.pl
cd ../
cd ../
mkdir dbCAN2
cd dbCAN2
wget https://bcb.unl.edu/dbCAN2/download/Databases/dbCAN-old@UGA/dbCAN-fam-HMMs.txt.v10 -O dbCAN-fam-HMMs.txt
perl ../Accessory_scripts/batch_hmmpress_for_dbCAN2_HMMdb.pl
cd ../
mkdir MEROPS
cd MEROPS
wget https://ftp.ebi.ac.uk/pub/databases/merops/current_release/pepunit.lib
perl ../Accessory_scripts/make_pepunit_db.pl
cd ../
wget -c https://figshare.com/ndownloader/files/43500597 -O METABOLIC_test_files.tgz
tar zxvf METABOLIC_test_files.tgz
rm *.tgz