File tree Expand file tree Collapse file tree 8 files changed +2229433
-12
lines changed Expand file tree Collapse file tree 8 files changed +2229433
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# run test of script.
4
4
5
- my_perl phylostratiphy.pl \
6
- -blast blastp__Aech_v3.8.pep__nr.e10.sw.txt_old \
7
- -tax_folder data / \
5
+ my_perl ../ phylostratiphy.pl \
6
+ -blast example/ blastp__Aech_v3.8.pep__nr.e10.sw.txt_old \
7
+ -tax_folder ncbi_tax_data / \
8
8
-prot_only \
9
9
-query_taxon 103372 \
10
- -virus_list tmp.virus.txt \
10
+ -virus_list example/virus_list.tx \
11
11
-out test_phylostratiphy
12
12
13
13
Original file line number Diff line number Diff line change 2
2
3
3
# run test of script.
4
4
5
+ cd ..
6
+
5
7
perl phylostratiphy.pl \
6
- -blast dysbindin.blast_out.txt \
7
- -tax_folder data / \
8
+ -blast example/ dysbindin.blast_out.txt \
9
+ -tax_folder ncbi_tax_data / \
8
10
-query_taxon 9606 \
9
- -gi_tax_id dysbindin.tax_info.csv \
11
+ -gi_tax_id example/ dysbindin.tax_info.csv \
10
12
-hard 1e-3 \
11
- -virus_list virus_list.txt \
12
- -out test_phylostratiphy
13
+ -virus_list example/ virus_list.txt \
14
+ -out example/ test_phylostratiphy
13
15
16
+ cd example
14
17
Original file line number Diff line number Diff line change 1
1
echo Starting to download NCBI taxonomy db info
2
- out_folder=data
2
+ out_folder=ncbi_tax_data
3
3
4
4
mkdir $out_folder
5
5
@@ -9,14 +9,21 @@ cd $out_folder
9
9
tax_ftp=" ftp://ftp.ncbi.nih.gov/pub/taxonomy"
10
10
echo Data from FTP folder [ $tax_ftp ]
11
11
12
- for file in gi_taxid_prot.dmp.gz gi_taxid_nucl.dmp.gz taxcat.tar.gz taxdump.tar.gz taxdump_readme.txt gi_taxid.readme taxcat_readme.txt
12
+ for file in taxdump.tar.gz taxdump_readme.txt
13
13
do
14
14
wget $tax_ftp /$file
15
15
done
16
-
16
+
17
17
echo Uncompressing
18
18
ls * .gz | xargs gunzip -v
19
19
ls * .tar | perl -ne ' chomp($_); system "tar xvf $_";'
20
+
21
+ rm citations.dmp delnodes.dmp division.dmp gc.prt gencode.dmp merged.dmp taxdump.tar
22
+
23
+ echo Files updated on [ ` date` ] > files_update_info.txt
24
+
25
+ cd ..
20
26
21
27
echo Done
22
28
29
+
Original file line number Diff line number Diff line change
1
+ Files updated on [ Wed 25 Jul 2012 16:18:05 BST ]
You can’t perform that action at this time.
0 commit comments