ncbi-blast-dbs 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -4
- data/lib/ncbi-blast-dbs.rake +6 -1
- data/ncbi-blast-dbs.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -25,10 +25,8 @@ universal.
|
|
25
25
|
|
26
26
|
ncbi-blast-dbs nt nr
|
27
27
|
|
28
|
-
Databases are downloaded one after the other
|
29
|
-
|
30
|
-
|
31
|
-
ncbi-blast-dbs nt nr
|
28
|
+
Databases are downloaded one after the other. Volumes of each database are
|
29
|
+
downloaded in parallel. Downloads are placed in the current directory.
|
32
30
|
|
33
31
|
NCBI expects users to submit their email address when downloading data from
|
34
32
|
their FTP server. To comply with that, download as:
|
data/lib/ncbi-blast-dbs.rake
CHANGED
@@ -47,8 +47,13 @@ databases.each do |name, files|
|
|
47
47
|
multitask(name => files.map { |file| task(file) { download(file) } })
|
48
48
|
end
|
49
49
|
|
50
|
+
# Taxonomy database is different from sequence databases.
|
51
|
+
task :taxdump do
|
52
|
+
download 'ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz'
|
53
|
+
end
|
54
|
+
|
50
55
|
# List name of all databases that can be downloaded if executed without
|
51
56
|
# any arguments.
|
52
57
|
task :default do
|
53
|
-
puts databases.keys.join(', ')
|
58
|
+
puts databases.keys.push('taxdump').join(', ')
|
54
59
|
end
|
data/ncbi-blast-dbs.gemspec
CHANGED
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
|
|
2
2
|
s.authors = ['Anurag Priyam']
|
3
3
|
s.email = ['anurag08priyam@gmail.com']
|
4
4
|
s.name = 'ncbi-blast-dbs'
|
5
|
-
s.version = '0.0.
|
5
|
+
s.version = '0.0.6'
|
6
6
|
s.summary = 'Fast download BLAST databases from NCBI.'
|
7
7
|
s.description = <<DESC
|
8
8
|
Downloads BLAST databases from NCBI. Database files (volumes) are downloaded in
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ncbi-blast-dbs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-04-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|