img_scripts 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +88 -0
- data/VERSION +1 -1
- data/bin/img_metadata_scanner.rb +130 -106
- data/img_scripts.gemspec +63 -0
- metadata +17 -16
- data/README.rdoc +0 -19
data/README.md
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
# img_scripts
|
2
|
+
|
3
|
+
A collection of scripts dealing with local stores of IMG data.
|
4
|
+
|
5
|
+
## ```img_metadata_scanner.rb```
|
6
|
+
Scan through a taxon metadata file, filtering by particular fields. Only certain fields are extracted.
|
7
|
+
|
8
|
+
Print out the genus and species of each archaeon:
|
9
|
+
```sh
|
10
|
+
$ img_metadata_scanner.rb Domain=Archaea --output-fields "Genus,Species" |head
|
11
|
+
Thermococcus gammatolerans
|
12
|
+
Methanolobus
|
13
|
+
Pyrobaculum
|
14
|
+
Methanobacterium sp.
|
15
|
+
Sulfolobus islandicus
|
16
|
+
Desulfurococcus mucosus
|
17
|
+
Haladaptatus paucihalophilus
|
18
|
+
Methanothermobacter thermautotrophicus
|
19
|
+
Methanosarcina barkeri
|
20
|
+
Methanobrevibacter smithii
|
21
|
+
```
|
22
|
+
|
23
|
+
Print out the headers available for filtering or reporting
|
24
|
+
```sh
|
25
|
+
$ img_metadata_scanner.rb -l |less
|
26
|
+
taxon_oid
|
27
|
+
Domain
|
28
|
+
Status
|
29
|
+
Proposal Name
|
30
|
+
etc.
|
31
|
+
etc.
|
32
|
+
```
|
33
|
+
|
34
|
+
Randomly sample each species in the genus Shigella:
|
35
|
+
```sh
|
36
|
+
$ img_metadata_scanner.rb --output-fields "taxon_oid,Genus,Species" Genus=Shigella --sample Species
|
37
|
+
649989998 Shigella dysenteriae
|
38
|
+
637000261 Shigella boydii
|
39
|
+
637000265 Shigella flexneri
|
40
|
+
640427143 Shigella sonnei
|
41
|
+
645058835 Shigella sp.
|
42
|
+
```
|
43
|
+
In contrast, without sampling:
|
44
|
+
```sh
|
45
|
+
$ img_metadata_scanner.rb --output-fields "taxon_oid,Genus,Species" Genus=Shigella
|
46
|
+
649989998 Shigella dysenteriae
|
47
|
+
641522650 Shigella boydii
|
48
|
+
637000263 Shigella flexneri
|
49
|
+
637000265 Shigella flexneri
|
50
|
+
638341196 Shigella dysenteriae
|
51
|
+
637000264 Shigella flexneri
|
52
|
+
637000261 Shigella boydii
|
53
|
+
640427143 Shigella sonnei
|
54
|
+
646862341 Shigella flexneri
|
55
|
+
640427142 Shigella dysenteriae
|
56
|
+
645058835 Shigella sp.
|
57
|
+
```
|
58
|
+
|
59
|
+
|
60
|
+
## The metadata file
|
61
|
+
The data comes from a metadata file, which is obtained through the instructions below. You can specify the location of
|
62
|
+
this file to the script using the ```--img-metadata-file``` flag, or you can set the ```IMG_METADATA_FILE``` environment
|
63
|
+
variable if you are too lazy to type it in each time.
|
64
|
+
|
65
|
+
Go to IMG > Genome Browser: http://img.jgi.doe.gov/cgi-bin/w/main.cgi?section=TaxonList&page=taxonListAlpha
|
66
|
+
|
67
|
+
In the Table Configuration section:
|
68
|
+
* Genome Field > Click All
|
69
|
+
* Project Metadata > Click All
|
70
|
+
* Data Statistics > Click All
|
71
|
+
|
72
|
+
Click Display Genomes Again. In the Genome Browser section > Click Select All. Finally, click the Export button.
|
73
|
+
|
74
|
+
PS/ Don't trust the IMG metadata _too much_. There are some big mistakes, e.g. in the 16S copy number
|
75
|
+
|
76
|
+
PS2/ What have I done to create the FIXED metadata?
|
77
|
+
* I have deleted two occurences of "\r" (^M) by ""
|
78
|
+
* taxonoid 2515154013 has two extra fields: remove the two cells containing "Human wound, cranian"
|
79
|
+
* Replace cells containing "-1" by ""
|
80
|
+
* Replaced 'Marine archaeal group 1 BG20 (Nitrosoarchaeum limnia BG20)' by 'Nitrosoarchaeum limnia BG20'
|
81
|
+
|
82
|
+
(Download instructions kindly contributed by @fangly / Florent Angly)
|
83
|
+
|
84
|
+
## Copyright
|
85
|
+
|
86
|
+
Copyright (c) 2013 Ben J. Woodcroft. See LICENSE.txt for
|
87
|
+
further details.
|
88
|
+
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/bin/img_metadata_scanner.rb
CHANGED
@@ -4,139 +4,163 @@ require 'optparse'
|
|
4
4
|
require 'bio-logger'
|
5
5
|
require 'bio-img_metadata'
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
7
|
+
SCRIPT_NAME = File.basename(__FILE__); LOG_NAME = SCRIPT_NAME.gsub('.rb','')
|
8
|
+
IMG_METADATA_FILE_ENV_VARIABLE_NAME='IMG_METADATA_FILE'
|
9
|
+
|
10
|
+
# Parse command line options into the options hash
|
11
|
+
options = {
|
12
|
+
:logger => 'stderr',
|
13
|
+
:log_level => 'info',
|
14
|
+
:output_fields => ['taxon_oid'],
|
15
|
+
:listing_mode => false,
|
16
|
+
}
|
17
|
+
o = OptionParser.new do |opts|
|
18
|
+
opts.banner = "
|
19
19
|
Usage: #{SCRIPT_NAME} [-i <img_metadata_file>] <key=value>
|
20
|
-
|
20
|
+
|
21
21
|
Runs through an IMG metadata file, and prints out the IMG identifiers of those genomes that match the key=value criteria. E.g. Kingdom=Archaea to grep for all archaeons.
|
22
22
|
|
23
|
-
Example:
|
23
|
+
Example:
|
24
|
+
|
24
25
|
|
25
26
|
$ img_metadata_scanner.rb Domain=Archaea --output-fields \"Genus,Species\" |head
|
27
|
+
|
26
28
|
DEBUG img_metadata_scanner: Using environment variable IMG_METADATA_FILE to define path to IMG metadata file /srv/whitlam/bio/db/img/4.0/metadata/img_metadata_4_0_FIXED.csv
|
27
29
|
INFO img_metadata_scanner: Using 1 filters.
|
28
30
|
INFO img_metadata_scanner: Found 4700 taxons in the IMG metadata file
|
29
31
|
Thermococcus gammatolerans
|
30
|
-
Methanolobus
|
31
|
-
Pyrobaculum
|
32
|
+
Methanolobus
|
33
|
+
Pyrobaculum
|
32
34
|
Methanobacterium sp.
|
33
35
|
Sulfolobus islandicus
|
34
36
|
Desulfurococcus mucosus
|
35
37
|
Haladaptatus paucihalophilus
|
36
38
|
Methanothermobacter thermautotrophicus
|
37
39
|
Methanosarcina barkeri
|
38
|
-
Methanobrevibacter smithii
|
39
|
-
|
40
|
-
\n\n"
|
41
|
-
|
42
|
-
opts.separator "\nOptions:\n\n"
|
43
|
-
opts.on("-i", "--img-metadata-file PATH", "Path to IMG metadata file [required]. This is not necessary if there is a valid environment variable #{IMG_METADATA_FILE_ENV_VARIABLE_NAME} available.") do |arg|
|
44
|
-
options[:img_metadata_file] = arg
|
45
|
-
end
|
46
|
-
opts.on("-o", "--output-fields FIELDS", "List of output fields, comma separated [default: #{options[:output_fields].join(',')}]") do |arg|
|
47
|
-
options[:output_fields] = arg.split ','
|
48
|
-
end
|
49
|
-
opts.on("-l", "--list", "Instead of filtering print a list of the fields in the output file, newline separated [default: #{options[:listing_mode]}]") do |arg|
|
50
|
-
options[:listing_mode] = true
|
51
|
-
end
|
52
|
-
|
53
|
-
# logger options
|
54
|
-
opts.separator "\nVerbosity:\n\n"
|
55
|
-
opts.on("-q", "--quiet", "Run quietly, set logging to ERROR level [default INFO]") {Bio::Log::CLI.trace('error')}
|
56
|
-
opts.on("--logger filename",String,"Log to file [default #{options[:logger]}]") { |name| options[:logger] = name}
|
57
|
-
opts.on("--trace options",String,"Set log level [default INFO]. e.g. '--trace debug' to set logging level to DEBUG"){|s| Bio::Log::CLI.trace(s)}
|
58
|
-
end; o.parse!
|
40
|
+
Methanobrevibacter smithii\n\n"
|
59
41
|
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
# Read in the system-specific ENV variable for the path to the img metadata file unless a path has already been specified
|
64
|
-
if options[:img_metadata_file].nil?
|
65
|
-
if ENV[IMG_METADATA_FILE_ENV_VARIABLE_NAME].nil?
|
66
|
-
$stderr.puts "img-metadata-file not found as either a command line option or environment variable, failing."
|
67
|
-
$stderr.puts o
|
68
|
-
exit 1
|
69
|
-
else
|
70
|
-
options[:img_metadata_file] = ENV[IMG_METADATA_FILE_ENV_VARIABLE_NAME]
|
71
|
-
log.debug "Using environment variable #{IMG_METADATA_FILE_ENV_VARIABLE_NAME} to define path to IMG metadata file #{options[:img_metadata_file]}"
|
72
|
-
end
|
42
|
+
opts.separator "\nOptions:\n\n"
|
43
|
+
opts.on("-o", "--output-fields FIELDS", "List of output fields, comma separated [default: #{options[:output_fields].join(',')}]") do |arg|
|
44
|
+
options[:output_fields] = arg.split ','
|
73
45
|
end
|
74
|
-
|
75
|
-
|
76
|
-
exit 2
|
46
|
+
opts.on("-l", "--list", "Instead of filtering print a list of the fields in the output file, newline separated [default: #{options[:listing_mode]}]") do |arg|
|
47
|
+
options[:listing_mode] = true
|
77
48
|
end
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
# If listing mode is set, don't do any filtering, just list the variables
|
82
|
-
if options[:listing_mode]
|
83
|
-
# Read the IMG metadata
|
84
|
-
img = Bio::IMG::TaxonomyDefinitionFile.read(options[:img_metadata_file])
|
85
|
-
log.info "Found #{img.length} taxons in the IMG metadata file"
|
86
|
-
|
87
|
-
img[0].attributes.keys.each do |key|
|
88
|
-
puts key
|
89
|
-
end
|
90
|
-
|
91
|
-
exit 0
|
49
|
+
opts.on("--sample FIELD", "Only return 1 row for each entry type of that column, chosen randomly. E.g. one row per genus: '--sample Genus'. Only 1 column can be sampled at a time, currently. Any filtering is done _before_ sampling. Any rows that are empty in the sampling column are filtered out.[default: no sampling]") do |arg|
|
50
|
+
options[:sampling_column] = arg
|
92
51
|
end
|
93
|
-
|
94
|
-
|
95
|
-
filter_hash = {}
|
96
|
-
unless ARGV[0].nil?
|
97
|
-
ARGV[0].split(',').each do |split|
|
98
|
-
splits2 = split.split('=')
|
99
|
-
unless splits2.length == 2
|
100
|
-
log.error "Badly parsed key/value pair '#{split}', expected exactly 1 = sign, found #{splits2.length}"
|
101
|
-
exit 1
|
102
|
-
end
|
103
|
-
|
104
|
-
key = splits2[0]
|
105
|
-
unless filter_hash[key].nil?
|
106
|
-
log.error "Duplicate filter key found: #{key}, failing"
|
107
|
-
exit 1
|
108
|
-
end
|
109
|
-
filter_hash[key] = splits2[1]
|
110
|
-
end
|
52
|
+
opts.on("-i", "--img-metadata-file PATH", "Path to IMG metadata file [required]. This is not necessary if there is a valid environment variable #{IMG_METADATA_FILE_ENV_VARIABLE_NAME} available.") do |arg|
|
53
|
+
options[:img_metadata_file] = arg
|
111
54
|
end
|
112
|
-
log.info "Using #{filter_hash.length} filters."
|
113
55
|
|
56
|
+
# logger options
|
57
|
+
opts.separator "\nVerbosity:\n\n"
|
58
|
+
opts.on("-q", "--quiet", "Run quietly, set logging to ERROR level [default INFO]") {options[:log_level] = 'error'}
|
59
|
+
opts.on("--logger filename",String,"Log to file [default #{options[:logger]}]") { |name| options[:logger] = name}
|
60
|
+
opts.on("--trace options",String,"Set log level [default INFO]. e.g. '--trace debug' to set logging level to DEBUG"){|s| options[:log_level] = s}
|
61
|
+
end; o.parse!
|
62
|
+
|
63
|
+
# Setup logging. bio-logger defaults to STDERR not STDOUT, I disagree
|
64
|
+
Bio::Log::CLI.logger(options[:logger]); Bio::Log::CLI.trace(options[:log_level]); log = Bio::Log::LoggerPlus.new(LOG_NAME); Bio::Log::CLI.configure(LOG_NAME)
|
65
|
+
|
66
|
+
# Read in the system-specific ENV variable for the path to the img metadata file unless a path has already been specified
|
67
|
+
if options[:img_metadata_file].nil?
|
68
|
+
if ENV[IMG_METADATA_FILE_ENV_VARIABLE_NAME].nil?
|
69
|
+
$stderr.puts "img-metadata-file not found as either a command line option or environment variable, failing."
|
70
|
+
$stderr.puts o
|
71
|
+
exit 1
|
72
|
+
else
|
73
|
+
options[:img_metadata_file] = ENV[IMG_METADATA_FILE_ENV_VARIABLE_NAME]
|
74
|
+
log.debug "Using environment variable #{IMG_METADATA_FILE_ENV_VARIABLE_NAME} to define path to IMG metadata file #{options[:img_metadata_file]}"
|
75
|
+
end
|
76
|
+
end
|
77
|
+
unless File.exist?(options[:img_metadata_file])
|
78
|
+
$stderr.puts "IMG metadata file #{options[:img_metadata_file]} not found - was it specified correctly?"
|
79
|
+
exit 2
|
80
|
+
end
|
81
|
+
|
82
|
+
# If listing mode is set, don't do any filtering, just list the variables
|
83
|
+
if options[:listing_mode]
|
114
84
|
# Read the IMG metadata
|
115
85
|
img = Bio::IMG::TaxonomyDefinitionFile.read(options[:img_metadata_file])
|
116
86
|
log.info "Found #{img.length} taxons in the IMG metadata file"
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
87
|
+
|
88
|
+
img[0].attributes.keys.each do |key|
|
89
|
+
puts key
|
90
|
+
end
|
91
|
+
|
92
|
+
exit 0
|
93
|
+
end
|
94
|
+
|
95
|
+
# Parse the key/value pairs
|
96
|
+
filter_hash = {}
|
97
|
+
unless ARGV[0].nil?
|
98
|
+
ARGV[0].split(',').each do |split|
|
99
|
+
splits2 = split.split('=')
|
100
|
+
unless splits2.length == 2
|
101
|
+
log.error "Badly parsed key/value pair '#{split}', expected exactly 1 = sign, found #{splits2.length}"
|
123
102
|
exit 1
|
124
103
|
end
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
filter_hash.each do |key, value|
|
131
|
-
if taxon.attributes[key] != value
|
132
|
-
passed = false
|
133
|
-
break
|
134
|
-
end
|
104
|
+
|
105
|
+
key = splits2[0]
|
106
|
+
unless filter_hash[key].nil?
|
107
|
+
log.error "Duplicate filter key found: #{key}, failing"
|
108
|
+
exit 1
|
135
109
|
end
|
136
|
-
|
137
|
-
|
138
|
-
|
110
|
+
filter_hash[key] = splits2[1]
|
111
|
+
end
|
112
|
+
end
|
113
|
+
log.info "Using #{filter_hash.length} filters."
|
114
|
+
|
115
|
+
# Read the IMG metadata
|
116
|
+
img = Bio::IMG::TaxonomyDefinitionFile.read(options[:img_metadata_file])
|
117
|
+
log.info "Found #{img.length} taxons in the IMG metadata file"
|
118
|
+
|
119
|
+
# Check that the sampling column is a real column
|
120
|
+
unless options[:sampling_column].nil? or img[0].attributes.key?(options[:sampling_column])
|
121
|
+
log.error "You asked to sample the column '#{options[:sampling_column]}', but this doesn't appear to be a column in the metadata file"
|
122
|
+
end
|
123
|
+
|
124
|
+
# Expect that each of the filters are found in the list of headers available, otherwise filtering will be ineffectual
|
125
|
+
# Ditto for the output names
|
126
|
+
[filter_hash.keys, options[:output_fields]].flatten.each do |key|
|
127
|
+
unless img[0].attributes.keys.include?(key)
|
128
|
+
log.warn "Unable to find column named #{key} in the IMG metadata file - typo perhaps?"
|
129
|
+
exit 1
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# Filter the rows
|
134
|
+
filtered = img.select do |taxon|
|
135
|
+
passed = true
|
136
|
+
filter_hash.each do |key, value|
|
137
|
+
if taxon.attributes[key] != value
|
138
|
+
passed = false
|
139
|
+
break
|
139
140
|
end
|
140
141
|
end
|
142
|
+
passed
|
143
|
+
end
|
144
|
+
log.debug "After filtering, there were #{filtered.length} taxons"
|
145
|
+
|
146
|
+
# Sample from the rows
|
147
|
+
if options[:sampling_column]
|
148
|
+
samples = {}
|
149
|
+
filtered.each do |taxon|
|
150
|
+
type = taxon.attributes[options[:sampling_column]]
|
151
|
+
samples[type] ||= []
|
152
|
+
samples[type].push taxon
|
153
|
+
end
|
154
|
+
filtered = samples.values.collect do |group|
|
155
|
+
group.sample
|
156
|
+
end
|
141
157
|
|
142
|
-
|
158
|
+
log.debug "After sampling, there were #{filtered.length} taxons"
|
159
|
+
end
|
160
|
+
|
161
|
+
# Go through each row, printing the outputs
|
162
|
+
log.info "Printing out outputs for #{filtered.length} taxons"
|
163
|
+
filtered.each do |taxon|
|
164
|
+
puts options[:output_fields].collect{|field| taxon.attributes[field]}.join("\t")
|
165
|
+
end
|
166
|
+
|
data/img_scripts.gemspec
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "img_scripts"
|
8
|
+
s.version = "0.0.3"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Ben J. Woodcroft"]
|
12
|
+
s.date = "2013-01-15"
|
13
|
+
s.description = "Scripts related to the IMG (Integrated Microbial Genomes) database"
|
14
|
+
s.email = "donttrustben near gmail.com"
|
15
|
+
s.executables = ["img_metadata_scanner.rb"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE.txt",
|
18
|
+
"README.md"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".document",
|
22
|
+
"Gemfile",
|
23
|
+
"LICENSE.txt",
|
24
|
+
"README.md",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"bin/img_metadata_scanner.rb",
|
28
|
+
"img_scripts.gemspec",
|
29
|
+
"lib/img_scripts.rb",
|
30
|
+
"test/helper.rb",
|
31
|
+
"test/test_img_scripts.rb"
|
32
|
+
]
|
33
|
+
s.homepage = "http://github.com/wwood/img_scripts"
|
34
|
+
s.licenses = ["MIT"]
|
35
|
+
s.require_paths = ["lib"]
|
36
|
+
s.rubygems_version = "1.8.15"
|
37
|
+
s.summary = "Scripts related to the IMG (Integrated Microbial Genomes) database"
|
38
|
+
|
39
|
+
if s.respond_to? :specification_version then
|
40
|
+
s.specification_version = 3
|
41
|
+
|
42
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
43
|
+
s.add_runtime_dependency(%q<bio-img_metadata>, [">= 0"])
|
44
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
45
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
46
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
47
|
+
s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
|
48
|
+
else
|
49
|
+
s.add_dependency(%q<bio-img_metadata>, [">= 0"])
|
50
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
51
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
52
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
53
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
54
|
+
end
|
55
|
+
else
|
56
|
+
s.add_dependency(%q<bio-img_metadata>, [">= 0"])
|
57
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
58
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
59
|
+
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
60
|
+
s.add_dependency(%q<jeweler>, [">= 1.8.4"])
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: img_scripts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bio-img_metadata
|
16
|
-
requirement: &
|
16
|
+
requirement: &15221740 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *15221740
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: shoulda
|
27
|
-
requirement: &
|
27
|
+
requirement: &15221120 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *15221120
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rdoc
|
38
|
-
requirement: &
|
38
|
+
requirement: &15220340 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '3.12'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *15220340
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
|
-
requirement: &
|
49
|
+
requirement: &15219580 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.0.0
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *15219580
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: jeweler
|
60
|
-
requirement: &
|
60
|
+
requirement: &15218680 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: 1.8.4
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *15218680
|
69
69
|
description: Scripts related to the IMG (Integrated Microbial Genomes) database
|
70
70
|
email: donttrustben near gmail.com
|
71
71
|
executables:
|
@@ -73,15 +73,16 @@ executables:
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files:
|
75
75
|
- LICENSE.txt
|
76
|
-
- README.
|
76
|
+
- README.md
|
77
77
|
files:
|
78
78
|
- .document
|
79
79
|
- Gemfile
|
80
80
|
- LICENSE.txt
|
81
|
-
- README.
|
81
|
+
- README.md
|
82
82
|
- Rakefile
|
83
83
|
- VERSION
|
84
84
|
- bin/img_metadata_scanner.rb
|
85
|
+
- img_scripts.gemspec
|
85
86
|
- lib/img_scripts.rb
|
86
87
|
- test/helper.rb
|
87
88
|
- test/test_img_scripts.rb
|
@@ -100,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
101
|
version: '0'
|
101
102
|
segments:
|
102
103
|
- 0
|
103
|
-
hash:
|
104
|
+
hash: 1386709472173417088
|
104
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
106
|
none: false
|
106
107
|
requirements:
|
@@ -109,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
110
|
version: '0'
|
110
111
|
requirements: []
|
111
112
|
rubyforge_project:
|
112
|
-
rubygems_version: 1.8.
|
113
|
+
rubygems_version: 1.8.15
|
113
114
|
signing_key:
|
114
115
|
specification_version: 3
|
115
116
|
summary: Scripts related to the IMG (Integrated Microbial Genomes) database
|
data/README.rdoc
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
= img_scripts
|
2
|
-
|
3
|
-
Description goes here.
|
4
|
-
|
5
|
-
== Contributing to img_scripts
|
6
|
-
|
7
|
-
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
|
-
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
|
-
* Fork the project.
|
10
|
-
* Start a feature/bugfix branch.
|
11
|
-
* Commit and push until you are happy with your contribution.
|
12
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
|
-
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
|
-
|
15
|
-
== Copyright
|
16
|
-
|
17
|
-
Copyright (c) 2013 Ben J. Woodcroft. See LICENSE.txt for
|
18
|
-
further details.
|
19
|
-
|