Skip to content

Commit

Permalink
Add ability to download taxdump.
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
  • Loading branch information
yeban committed Apr 30, 2017
1 parent 83dc69f commit e79b280
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/ncbi-blast-dbs.rake
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,13 @@ databases.each do |name, files|
multitask(name => files.map { |file| task(file) { download(file) } })
end

# Taxonomy database is different from sequence databases.
task :taxdump do
download 'ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz'
end

# List name of all databases that can be downloaded if executed without
# any arguments.
task :default do
puts databases.keys.join(', ')
puts databases.keys.push('taxdump').join(', ')
end

0 comments on commit e79b280

Please sign in to comment.