miga-base 0.2.5.0 → 0.2.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/miga/dataset.rb +3 -3
- data/lib/miga/version.rb +2 -2
- metadata +55 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e4ee273a974861fa4772912cc4699b266c52a4e
|
4
|
+
data.tar.gz: 71ba801f05ae2823eb8225241abb43568dc1c72c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2cfbbd2b11e449dfc58be1c76a566352117d34e4e69e40459578270389e1d49e974eb655c9e265e0ed780ef3d668ff68abffc315f350d2769a6df8242fdeab9
|
7
|
+
data.tar.gz: 65ba7369fa9159d852fb3afe9f74ca5f1c71b4fc05c15bfa7ddb9e38d9db1ce95e3b3551fbe823684ee269d3fb696608026512218526f03a8f7227de665c12e9
|
data/lib/miga/dataset.rb
CHANGED
@@ -188,10 +188,10 @@ class MiGA::Dataset < MiGA::MiGA
|
|
188
188
|
# or nil.
|
189
189
|
def add_result(result_type, save=true)
|
190
190
|
return nil if @@RESULT_DIRS[result_type].nil?
|
191
|
-
base =
|
192
|
-
|
191
|
+
base = File.expand_path("data/#{@@RESULT_DIRS[result_type]}/#{name}",
|
192
|
+
project.path)
|
193
193
|
r_pre = MiGA::Result.load("#{base}.json")
|
194
|
-
return r_pre
|
194
|
+
return r_pre if (r_pre.nil? and not save) or not r_pre.nil?
|
195
195
|
return nil unless result_files_exist?(base, ".done")
|
196
196
|
r = self.send("add_result_#{result_type}", base)
|
197
197
|
r.save unless r.nil?
|
data/lib/miga/version.rb
CHANGED
@@ -10,7 +10,7 @@ module MiGA
|
|
10
10
|
# - Float representing the major.minor version.
|
11
11
|
# - Integer representing gem releases of the current version.
|
12
12
|
# - Integer representing minor changes that require new version number.
|
13
|
-
VERSION = [0.2, 5,
|
13
|
+
VERSION = [0.2, 5, 1]
|
14
14
|
|
15
15
|
##
|
16
16
|
# Nickname for the current major.minor version.
|
@@ -18,7 +18,7 @@ module MiGA
|
|
18
18
|
|
19
19
|
##
|
20
20
|
# Date of the current gem release.
|
21
|
-
VERSION_DATE = Date.new(2017, 3,
|
21
|
+
VERSION_DATE = Date.new(2017, 3, 31)
|
22
22
|
|
23
23
|
##
|
24
24
|
# Reference of MiGA.
|
metadata
CHANGED
@@ -1,103 +1,103 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: miga-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.5.
|
4
|
+
version: 0.2.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luis M. Rodriguez-R
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: daemons
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.2'
|
34
|
-
- -
|
34
|
+
- - '>='
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 1.2.4
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '1.2'
|
44
|
-
- -
|
44
|
+
- - '>='
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 1.2.4
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: json
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- -
|
51
|
+
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '1.8'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - ~>
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '1.8'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: sqlite3
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- -
|
65
|
+
- - ~>
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '1.3'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ~>
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '1.3'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: rake
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- -
|
79
|
+
- - ~>
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '11'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ~>
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '11'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: test-unit
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - ~>
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '3'
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- -
|
100
|
+
- - ~>
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: '3'
|
103
103
|
description: Microbial Genomes Atlas
|
@@ -108,31 +108,6 @@ extensions: []
|
|
108
108
|
extra_rdoc_files:
|
109
109
|
- README.md
|
110
110
|
files:
|
111
|
-
- Gemfile
|
112
|
-
- LICENSE
|
113
|
-
- README.md
|
114
|
-
- Rakefile
|
115
|
-
- actions/add_result.rb
|
116
|
-
- actions/add_taxonomy.rb
|
117
|
-
- actions/create_dataset.rb
|
118
|
-
- actions/create_project.rb
|
119
|
-
- actions/daemon.rb
|
120
|
-
- actions/date.rb
|
121
|
-
- actions/download_dataset.rb
|
122
|
-
- actions/find_datasets.rb
|
123
|
-
- actions/import_datasets.rb
|
124
|
-
- actions/index_taxonomy.rb
|
125
|
-
- actions/list_datasets.rb
|
126
|
-
- actions/list_files.rb
|
127
|
-
- actions/plugins.rb
|
128
|
-
- actions/project_info.rb
|
129
|
-
- actions/result_stats.rb
|
130
|
-
- actions/tax_distributions.rb
|
131
|
-
- actions/unlink_dataset.rb
|
132
|
-
- bin/miga
|
133
|
-
- lib/miga.rb
|
134
|
-
- lib/miga/_data/aai-intax.tsv.gz
|
135
|
-
- lib/miga/_data/aai-novel.tsv.gz
|
136
111
|
- lib/miga/common.rb
|
137
112
|
- lib/miga/daemon.rb
|
138
113
|
- lib/miga/dataset.rb
|
@@ -146,6 +121,18 @@ files:
|
|
146
121
|
- lib/miga/tax_index.rb
|
147
122
|
- lib/miga/taxonomy.rb
|
148
123
|
- lib/miga/version.rb
|
124
|
+
- lib/miga.rb
|
125
|
+
- test/common_test.rb
|
126
|
+
- test/daemon_test.rb
|
127
|
+
- test/dataset_test.rb
|
128
|
+
- test/metadata_test.rb
|
129
|
+
- test/project_test.rb
|
130
|
+
- test/remote_dataset_test.rb
|
131
|
+
- test/tax_index_test.rb
|
132
|
+
- test/taxonomy_test.rb
|
133
|
+
- test/test_helper.rb
|
134
|
+
- lib/miga/_data/aai-intax.tsv.gz
|
135
|
+
- lib/miga/_data/aai-novel.tsv.gz
|
149
136
|
- scripts/_distances_functions.bash
|
150
137
|
- scripts/_distances_noref_nomulti.bash
|
151
138
|
- scripts/_distances_ref_nomulti.bash
|
@@ -168,15 +155,6 @@ files:
|
|
168
155
|
- scripts/subclades.bash
|
169
156
|
- scripts/trimmed_fasta.bash
|
170
157
|
- scripts/trimmed_reads.bash
|
171
|
-
- test/common_test.rb
|
172
|
-
- test/daemon_test.rb
|
173
|
-
- test/dataset_test.rb
|
174
|
-
- test/metadata_test.rb
|
175
|
-
- test/project_test.rb
|
176
|
-
- test/remote_dataset_test.rb
|
177
|
-
- test/tax_index_test.rb
|
178
|
-
- test/taxonomy_test.rb
|
179
|
-
- test/test_helper.rb
|
180
158
|
- utils/adapters.fa
|
181
159
|
- utils/mytaxa_scan.R
|
182
160
|
- utils/mytaxa_scan.rb
|
@@ -185,6 +163,28 @@ files:
|
|
185
163
|
- utils/subclades-compile.rb
|
186
164
|
- utils/subclades-nj.R
|
187
165
|
- utils/subclades.R
|
166
|
+
- bin/miga
|
167
|
+
- actions/add_result.rb
|
168
|
+
- actions/add_taxonomy.rb
|
169
|
+
- actions/create_dataset.rb
|
170
|
+
- actions/create_project.rb
|
171
|
+
- actions/daemon.rb
|
172
|
+
- actions/date.rb
|
173
|
+
- actions/download_dataset.rb
|
174
|
+
- actions/find_datasets.rb
|
175
|
+
- actions/import_datasets.rb
|
176
|
+
- actions/index_taxonomy.rb
|
177
|
+
- actions/list_datasets.rb
|
178
|
+
- actions/list_files.rb
|
179
|
+
- actions/plugins.rb
|
180
|
+
- actions/project_info.rb
|
181
|
+
- actions/result_stats.rb
|
182
|
+
- actions/tax_distributions.rb
|
183
|
+
- actions/unlink_dataset.rb
|
184
|
+
- Gemfile
|
185
|
+
- Rakefile
|
186
|
+
- README.md
|
187
|
+
- LICENSE
|
188
188
|
homepage: http://enve-omics.ce.gatech.edu/miga
|
189
189
|
licenses:
|
190
190
|
- Artistic-2.0
|
@@ -193,25 +193,25 @@ post_install_message:
|
|
193
193
|
rdoc_options:
|
194
194
|
- lib
|
195
195
|
- README.md
|
196
|
-
-
|
196
|
+
- --main
|
197
197
|
- README.md
|
198
|
-
-
|
198
|
+
- --title
|
199
199
|
- MiGA
|
200
200
|
require_paths:
|
201
201
|
- lib
|
202
202
|
required_ruby_version: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
|
-
- -
|
204
|
+
- - '>='
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '1.9'
|
207
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
208
|
requirements:
|
209
|
-
- -
|
209
|
+
- - '>='
|
210
210
|
- !ruby/object:Gem::Version
|
211
211
|
version: '0'
|
212
212
|
requirements: []
|
213
213
|
rubyforge_project:
|
214
|
-
rubygems_version: 2.
|
214
|
+
rubygems_version: 2.0.14
|
215
215
|
signing_key:
|
216
216
|
specification_version: 4
|
217
217
|
summary: MiGA
|