Skip to content

Commit

Permalink
Use ncbi-blast-dbs to download swissprot db
Browse files Browse the repository at this point in the history
  • Loading branch information
IsmailM committed Dec 28, 2020
1 parent e47acf9 commit 35787b9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,8 @@ namespace :package do

mkdir 'blast_db'
cd 'blast_db' do
sh 'update_blastdb.pl --decompress swissprot' do |_, e|
abort 'update_blastdb.pl failed to run.' if e.exitstatus == 2
# This script returns 0 on successful operations that result in no
# downloads, 1 on successful operations that downloaded files,
# and 2 on errors.
end
sh 'bundle exec genevalidator ncbi-blast-dbs swissprot'
sh 'rm swissprot.tar.*'
end
end
end
Expand Down

0 comments on commit 35787b9

Please sign in to comment.