lib/ncbi-blast-dbs.rake in ncbi-blast-dbs-0.0.5 vs lib/ncbi-blast-dbs.rake in ncbi-blast-dbs-0.0.6
- old
+ new
@@ -45,10 +45,15 @@
# volumes in parallel.
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