bio-ngs 0.4.7.alpha.03 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -53,8 +53,4 @@ Rake::RDocTask.new do |rdoc|
53
53
  end
54
54
 
55
55
  require 'rspec/core/rake_task'
56
- RSpec::Core::RakeTask.new
57
-
58
-
59
- require 'development_tasks'
60
- BioNgs::BioNgsTasks.new
56
+ RSpec::Core::RakeTask.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.7.alpha.03
1
+ 0.5.0
@@ -5,25 +5,25 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bio-ngs"
8
- s.version = "0.4.7.alpha.03"
8
+ s.version = "0.5.0"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Francesco Strozzi", "Raoul J.P. Bonnal"]
12
- s.date = "2012-05-29"
12
+ s.date = "2012-06-04"
13
13
  s.description = "bio-ngs provides a framework for handling NGS data with BioRuby"
14
14
  s.email = "francesco.strozzi@gmail.com"
15
15
  s.executables = ["biongs"]
16
16
  s.extensions = ["ext/mkrf_conf.rb"]
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
- "README.rdoc"
19
+ "README.md"
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
23
23
  "Gemfile",
24
24
  "Gemfile.lock",
25
25
  "LICENSE.txt",
26
- "README.rdoc",
26
+ "README.md",
27
27
  "Rakefile",
28
28
  "VERSION",
29
29
  "bin/biongs",
@@ -34,6 +34,7 @@ Gem::Specification.new do |s|
34
34
  "features/illumina_project_rebuild.feature",
35
35
  "features/step_definitions/cufflinks_gtf.rb",
36
36
  "features/step_definitions/cufflinks_gtf_parser_indexing.rb",
37
+ "features/step_definitions/illumina_project_rebuild.rb",
37
38
  "features/support/env.rb",
38
39
  "lib/bio-ngs.rb",
39
40
  "lib/bio/appl/ngs/bcftools.rb",
@@ -78,7 +79,6 @@ Gem::Specification.new do |s|
78
79
  "lib/bio/ngs/record.rb",
79
80
  "lib/bio/ngs/task.rb",
80
81
  "lib/bio/ngs/utils.rb",
81
- "lib/development_tasks.rb",
82
82
  "lib/enumerable.rb",
83
83
  "lib/meta.rb",
84
84
  "lib/tasks/bwa.thor",
@@ -86,6 +86,7 @@ Gem::Specification.new do |s|
86
86
  "lib/tasks/filter.thor",
87
87
  "lib/tasks/history.thor",
88
88
  "lib/tasks/homology.thor",
89
+ "lib/tasks/install.thor",
89
90
  "lib/tasks/ontology.thor",
90
91
  "lib/tasks/pre.thor",
91
92
  "lib/tasks/project.thor",
@@ -201,17 +202,19 @@ Gem::Specification.new do |s|
201
202
  s.add_runtime_dependency(%q<daemons>, [">= 1.1.0"])
202
203
  s.add_runtime_dependency(%q<ruby-ensembl-api>, [">= 1.0.1"])
203
204
  s.add_runtime_dependency(%q<activerecord>, [">= 3.0.5"])
204
- s.add_runtime_dependency(%q<sqlite3>, [">= 1.3.3"])
205
- s.add_runtime_dependency(%q<bio-blastxmlparser>, [">= 0"])
206
205
  s.add_runtime_dependency(%q<progressbar>, [">= 0.9.0"])
207
206
  s.add_runtime_dependency(%q<rake>, ["= 0.9.2.2"])
208
207
  s.add_runtime_dependency(%q<json>, [">= 0"])
209
208
  s.add_runtime_dependency(%q<parallel>, [">= 0"])
209
+ s.add_runtime_dependency(%q<bio-blastxmlparser>, [">= 0"])
210
210
  s.add_development_dependency(%q<shoulda>, [">= 0"])
211
211
  s.add_development_dependency(%q<bundler>, ["~> 1.1.0"])
212
212
  s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
213
213
  s.add_development_dependency(%q<rcov>, ["~> 0.9.11"])
214
214
  s.add_development_dependency(%q<bio>, [">= 1.4.2"])
215
+ s.add_development_dependency(%q<jdbc-sqlite3>, [">= 0"])
216
+ s.add_development_dependency(%q<activerecord-jdbcsqlite3-adapter>, [">= 0"])
217
+ s.add_development_dependency(%q<sqlite3>, [">= 0"])
215
218
  s.add_development_dependency(%q<thor>, ["= 0.14.6"])
216
219
  s.add_development_dependency(%q<ffi>, [">= 1.0.6"])
217
220
  s.add_development_dependency(%q<rubyvis>, [">= 0.5.0"])
@@ -220,12 +223,11 @@ Gem::Specification.new do |s|
220
223
  s.add_development_dependency(%q<bio-samtools>, [">= 0.3.2"])
221
224
  s.add_development_dependency(%q<ruby-ensembl-api>, [">= 1.0.1"])
222
225
  s.add_development_dependency(%q<activerecord>, [">= 3.0.5"])
223
- s.add_development_dependency(%q<sqlite3>, [">= 1.3.3"])
224
- s.add_development_dependency(%q<bio-blastxmlparser>, [">= 0"])
225
226
  s.add_development_dependency(%q<progressbar>, [">= 0.9.0"])
226
227
  s.add_development_dependency(%q<json>, [">= 0"])
227
228
  s.add_development_dependency(%q<rake>, ["= 0.9.2.2"])
228
229
  s.add_development_dependency(%q<parallel>, [">= 0"])
230
+ s.add_development_dependency(%q<bio-blastxmlparser>, [">= 0"])
229
231
  else
230
232
  s.add_dependency(%q<bio>, [">= 1.4.2"])
231
233
  s.add_dependency(%q<bio-samtools>, [">= 0.3.2"])
@@ -234,17 +236,19 @@ Gem::Specification.new do |s|
234
236
  s.add_dependency(%q<daemons>, [">= 1.1.0"])
235
237
  s.add_dependency(%q<ruby-ensembl-api>, [">= 1.0.1"])
236
238
  s.add_dependency(%q<activerecord>, [">= 3.0.5"])
237
- s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
238
- s.add_dependency(%q<bio-blastxmlparser>, [">= 0"])
239
239
  s.add_dependency(%q<progressbar>, [">= 0.9.0"])
240
240
  s.add_dependency(%q<rake>, ["= 0.9.2.2"])
241
241
  s.add_dependency(%q<json>, [">= 0"])
242
242
  s.add_dependency(%q<parallel>, [">= 0"])
243
+ s.add_dependency(%q<bio-blastxmlparser>, [">= 0"])
243
244
  s.add_dependency(%q<shoulda>, [">= 0"])
244
245
  s.add_dependency(%q<bundler>, ["~> 1.1.0"])
245
246
  s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
246
247
  s.add_dependency(%q<rcov>, ["~> 0.9.11"])
247
248
  s.add_dependency(%q<bio>, [">= 1.4.2"])
249
+ s.add_dependency(%q<jdbc-sqlite3>, [">= 0"])
250
+ s.add_dependency(%q<activerecord-jdbcsqlite3-adapter>, [">= 0"])
251
+ s.add_dependency(%q<sqlite3>, [">= 0"])
248
252
  s.add_dependency(%q<thor>, ["= 0.14.6"])
249
253
  s.add_dependency(%q<ffi>, [">= 1.0.6"])
250
254
  s.add_dependency(%q<rubyvis>, [">= 0.5.0"])
@@ -253,12 +257,11 @@ Gem::Specification.new do |s|
253
257
  s.add_dependency(%q<bio-samtools>, [">= 0.3.2"])
254
258
  s.add_dependency(%q<ruby-ensembl-api>, [">= 1.0.1"])
255
259
  s.add_dependency(%q<activerecord>, [">= 3.0.5"])
256
- s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
257
- s.add_dependency(%q<bio-blastxmlparser>, [">= 0"])
258
260
  s.add_dependency(%q<progressbar>, [">= 0.9.0"])
259
261
  s.add_dependency(%q<json>, [">= 0"])
260
262
  s.add_dependency(%q<rake>, ["= 0.9.2.2"])
261
263
  s.add_dependency(%q<parallel>, [">= 0"])
264
+ s.add_dependency(%q<bio-blastxmlparser>, [">= 0"])
262
265
  end
263
266
  else
264
267
  s.add_dependency(%q<bio>, [">= 1.4.2"])
@@ -268,17 +271,19 @@ Gem::Specification.new do |s|
268
271
  s.add_dependency(%q<daemons>, [">= 1.1.0"])
269
272
  s.add_dependency(%q<ruby-ensembl-api>, [">= 1.0.1"])
270
273
  s.add_dependency(%q<activerecord>, [">= 3.0.5"])
271
- s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
272
- s.add_dependency(%q<bio-blastxmlparser>, [">= 0"])
273
274
  s.add_dependency(%q<progressbar>, [">= 0.9.0"])
274
275
  s.add_dependency(%q<rake>, ["= 0.9.2.2"])
275
276
  s.add_dependency(%q<json>, [">= 0"])
276
277
  s.add_dependency(%q<parallel>, [">= 0"])
278
+ s.add_dependency(%q<bio-blastxmlparser>, [">= 0"])
277
279
  s.add_dependency(%q<shoulda>, [">= 0"])
278
280
  s.add_dependency(%q<bundler>, ["~> 1.1.0"])
279
281
  s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
280
282
  s.add_dependency(%q<rcov>, ["~> 0.9.11"])
281
283
  s.add_dependency(%q<bio>, [">= 1.4.2"])
284
+ s.add_dependency(%q<jdbc-sqlite3>, [">= 0"])
285
+ s.add_dependency(%q<activerecord-jdbcsqlite3-adapter>, [">= 0"])
286
+ s.add_dependency(%q<sqlite3>, [">= 0"])
282
287
  s.add_dependency(%q<thor>, ["= 0.14.6"])
283
288
  s.add_dependency(%q<ffi>, [">= 1.0.6"])
284
289
  s.add_dependency(%q<rubyvis>, [">= 0.5.0"])
@@ -287,12 +292,11 @@ Gem::Specification.new do |s|
287
292
  s.add_dependency(%q<bio-samtools>, [">= 0.3.2"])
288
293
  s.add_dependency(%q<ruby-ensembl-api>, [">= 1.0.1"])
289
294
  s.add_dependency(%q<activerecord>, [">= 3.0.5"])
290
- s.add_dependency(%q<sqlite3>, [">= 1.3.3"])
291
- s.add_dependency(%q<bio-blastxmlparser>, [">= 0"])
292
295
  s.add_dependency(%q<progressbar>, [">= 0.9.0"])
293
296
  s.add_dependency(%q<json>, [">= 0"])
294
297
  s.add_dependency(%q<rake>, ["= 0.9.2.2"])
295
298
  s.add_dependency(%q<parallel>, [">= 0"])
299
+ s.add_dependency(%q<bio-blastxmlparser>, [">= 0"])
296
300
  end
297
301
  end
298
302
 
@@ -5,8 +5,7 @@ As a bioinformatician
5
5
  I want to have a querable data structure which represents most of the pre cumputed data
6
6
 
7
7
  Scenario: Explore and Build data structure
8
- Given A path with many projects at the first level
9
- And others at second level (inside others directories)
8
+ Given A path with many projects at the first and second level
10
9
  When I build the projects structure
11
10
  Then I sould get all the projects organized in the same structure.
12
11
 
@@ -27,4 +27,9 @@ end
27
27
 
28
28
  Then /^I want to "(.*?)" the "(.*?)" in each subdirectory$/ do |arg1, arg2|
29
29
  pending # express the regexp above with the code you wish you had
30
+ end
31
+
32
+
33
+ Then /^I want to save "(.*?)" in single files formatted in "(.*?)" format$/ do |arg1, arg2|
34
+ pending # express the regexp above with the code you wish you had
30
35
  end
@@ -0,0 +1,20 @@
1
+
2
+
3
+ Given /^A path with many projects at the first and second level$/ do
4
+ @projects_path = File.join(File.dirname(__FILE__),'../../test/data')
5
+ @projects_path.should match '.*/bioruby-ngs/features/step_definitions/../../test/data'
6
+ end
7
+
8
+ When /^I build the projects structure$/ do
9
+ @projects = Bio::Ngs::Illumina.build @projects_path
10
+
11
+ @projects.should_not be nil
12
+ end
13
+
14
+ Then /^I sould get all the projects organized in the same structure\.$/ do
15
+ @data_json = @projects.to_json
16
+ @fixed_json = @data_json.gsub(/\"name\":\".*?\",/,"\"name\":\"test\",").gsub(/\"........-....-....-....-............\":/,"\"retest\":")
17
+ @fixed_json.should == <<JSON
18
+ "{\"json_class\":\"Bio::Ngs::Illumina::Projects\",\"name\":\"test\",\"pool\":{\"Cow\":{\"json_class\":\"Bio::Ngs::Illumina::Project\",\"name\":\"test\",\"sample_sheet\":null,\"samples\":{\"SQ_0007\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0007\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"filtered/SQ_0007_CGATGT_L003_R1_001.fastq.gz\",\"filtered\":true,\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"filtered/SQ_0007_CGATGT_L003_R1_002.fastq.gz\",\"filtered\":true,\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"filtered/SQ_0007_CGATGT_L003_R2_001.fastq.gz\",\"filtered\":true,\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"filtered/SQ_0007_CGATGT_L003_R2_002.fastq.gz\",\"filtered\":true,\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0007_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0007_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0007_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0007_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"trimmed/SQ_0007_CGATGT_L003_R1_TRIMMED.fastq.gz\",\"trimmed\":true,\"trimmed_aggregated\":true,\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"trimmed/SQ_0007_CGATGT_L003_R2_TRIMMED.fastq.gz\",\"trimmed\":true,\"trimmed_aggregated\":true,\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\"}}}},\"SQ_0008\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0008\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0008_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0008_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0008_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0008_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}}}},\"SQ_0009\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0009\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0009_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0009_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0009_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0009_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}}}}}},\"Dog\":{\"json_class\":\"Bio::Ngs::Illumina::Project\",\"name\":\"test\",\"sample_sheet\":null,\"samples\":{\"SQ_0004\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0004\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0004_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0004_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0004_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0004_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}}}},\"SQ_0005\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0005\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0005_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0005_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0005_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0005_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}}}},\"SQ_0006\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0006\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0006_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0006_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0006_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0006_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}}}}}},\"Human\":{\"json_class\":\"Bio::Ngs::Illumina::Project\",\"name\":\"test\",\"sample_sheet\":null,\"samples\":{\"SQ_0001\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0001\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0001_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0001_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0001_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0001_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}}}},\"SQ_0002\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0002\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0002_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0002_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0002_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0002_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}}}},\"SQ_0003\":{\"json_class\":\"Bio::Ngs::Illumina::Sample\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"path\":\"Sample_SQ_0003\"},\"files\":{\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0003_CGATGT_L003_R1_001.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0003_CGATGT_L003_R1_002.fastq.gz\",\"left\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0003_CGATGT_L003_R2_001.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"001\"}},\"retest\":{\"json_class\":\"Bio::Ngs::Illumina::MetaReads\",\"name\":\"test\",\"metadata\":{\"name\":\"test\",\"filename\":\"SQ_0003_CGATGT_L003_R2_002.fastq.gz\",\"right\":true,\"zipped\":true,\"index\":\"CGATGT\",\"lane\":\"003\",\"chunks\":\"002\"}}}}}}}}"
19
+ JSON
20
+ end
@@ -22,8 +22,12 @@ require 'thor/runner'
22
22
  require 'bio-blastxmlparser'
23
23
  require 'bio'
24
24
  require 'active_record'
25
- require 'sqlite3'
26
25
 
26
+ if defined?(JRUBY_VERSION)
27
+ require 'jdbc-sqlite3'
28
+ else
29
+ require 'sqlite3'
30
+ end
27
31
  #Generic classes
28
32
  require 'enumerable'
29
33
  require 'wrapper'
@@ -162,10 +162,6 @@ module Bio
162
162
  # t_idx=(f_lno-t.exons.size-2)
163
163
  idx[:transcripts] << t.byte_length
164
164
  idx[:names][t.attributes[:transcript_id]] = idx[:transcripts].length
165
- if t.attributes[:transcript_id]=="ENST00000408219"
166
- puts t.attributes[:transcript_id]
167
- puts idx[:transcripts].length
168
- end
169
165
  # eidx_b = t_idx +1
170
166
  # t.exons.each_index do |ei|
171
167
  # idx[t_idx] << eidx_b + ei
@@ -99,4 +99,4 @@ module Bio
99
99
 
100
100
  end
101
101
  end
102
- end
102
+ end
@@ -41,7 +41,7 @@ module Bio
41
41
 
42
42
  Dir.chdir(path) do
43
43
  Dir.glob(["**/Project_*","**/Undetermined_indices"]).each do |project_dir|
44
- project = Project.new(project_dir.basename.sub(/Project_/,""),project_dir)
44
+ project = Project.new(project_dir.sub(/.*Project_/,""),project_dir)
45
45
  projects.add(project)
46
46
  Dir.chdir(project_dir) do
47
47
  Dir.glob("Sample*").each do |sample_dir|
@@ -18,12 +18,11 @@ module Bio
18
18
  "json_class" => self.class.name,
19
19
  "name" => name,
20
20
  "metadata" => metadata
21
- #{}"filenames" => filenames_paths
22
21
  }.to_json(*a)
23
22
  end
24
23
 
25
24
  def self.json_create(o)
26
- me = new(o["name"], o["metadata"]["path"],o["metadata"]["parent"])
25
+ me = new(o["name"], o["metadata"])
27
26
  end
28
27
  end #File
29
28
 
@@ -48,6 +48,10 @@ module Meta
48
48
  "metadata" => metadata
49
49
  }.to_json(*a)
50
50
  end
51
+
52
+ def self.json_create(o)
53
+ me = new(o["name"], o["metadata"])
54
+ end
51
55
  # end #Data
52
56
 
53
57
  # class File
@@ -75,12 +79,13 @@ module Meta
75
79
  "json_class" => self.class.name,
76
80
  "name" => name,
77
81
  "pool" => pool
78
- #{}"filenames" => filenames_paths
79
82
  }.to_json(*a)
80
83
  end
81
84
 
82
85
  def self.json_create(o)
83
- me = new(o["name"], o["metadata"]["path"],o["metadata"]["parent"])
86
+ me = new(o["name"])
87
+ me.pool=o["pool"]
88
+ me
84
89
  end
85
90
 
86
91
  def each &block
@@ -0,0 +1,14 @@
1
+ class Install < Thor
2
+
3
+
4
+ desc "tools","Download and install NGS tools"
5
+ def tools
6
+ gem_path = File.expand_path(File.join(File.dirname(__FILE__),"..","..","ext"))
7
+ Dir.chdir gem_path
8
+ load 'mkrf_conf.rb'
9
+ `rake -f Rakefile`
10
+ FileUtils.remove("Rakefile")
11
+ end
12
+
13
+ end
14
+
@@ -15,9 +15,9 @@ class Project < Thor
15
15
  end
16
16
 
17
17
  attr_accessor :name
18
-
18
+ attr_accessor :adapter
19
19
  desc "new [NAME]","Create a new NGS project directory"
20
- method_option :type, :type => :string, :desc => "The project type (e.g. annotation)"
20
+ #method_option :type, :type => :string, :desc => "The project type (e.g. annotation)"
21
21
  def new(name)
22
22
  empty_directory name
23
23
  empty_directory File.join("#{name}","raw_data")
@@ -25,28 +25,43 @@ class Project < Thor
25
25
  empty_directory File.join("#{name}","tasks")
26
26
  empty_directory File.join("#{name}","scripts")
27
27
  self.name = name # for template to take the correct values
28
- template(File.join("..","templates","README.tt"), "#{name}/README.txt")
29
28
 
30
- if options[:type] == "annotation"
31
- invoke "project:update:annotation", [],{:dir => name}
32
- else
33
- empty_directory File.join("#{name}","log")
34
- empty_directory File.join("#{name}","conf")
35
- end
36
- end
37
-
38
- attr_accessor :type
29
+ #if options[:type] == "annotation"
30
+ # invoke "project:update:annotation", [],{:dir => name}
31
+ #else
32
+ empty_directory File.join("#{name}","log")
33
+ empty_directory File.join("#{name}","conf")
34
+ empty_directory File.join("#{name}","db")
39
35
 
40
- desc "update [TYPE]", "Update the working dir to a new type of project"
41
- method_option :dir, :type => :string
42
- def update(type)
43
- self.type = type
44
- dir = (options[:dir]) ? options[:dir]+"/" : ""
45
- empty_directory "#{dir}log"
46
- empty_directory "#{dir}conf"
47
- empty_directory "#{dir}db"
48
- template(File.join("..","templates","db.tt"), "#{dir}conf/#{type}_db.yml")
36
+ if defined?(JRUBY_VERSION)
37
+ self.adapter = "jdbcsqlite3"
38
+ else
39
+ self.adapter = "sqlite3"
40
+ end
41
+
42
+ template(File.join("..","templates","db.tt"), "#{name}/conf/database.yml")
43
+ template(File.join("..","templates","README.tt"), "#{name}/README.txt")
44
+ #end
49
45
  end
46
+
47
+
48
+ # attr_accessor :type
49
+ # attr_accessor :adapter
50
+ # desc "update [TYPE]", "Update the working dir to a new type of project"
51
+ # method_option :dir, :type => :string
52
+ # def update(type)
53
+ # self.type = type
54
+ # if defined?(JRUBY_VERSION)
55
+ # self.adapter = "jdbcsqlite3"
56
+ # else
57
+ # self.adapter = "sqlite3"
58
+ # end
59
+ # dir = (options[:dir]) ? options[:dir]+"/" : ""
60
+ # empty_directory "#{dir}log"
61
+ # empty_directory "#{dir}conf"
62
+ # empty_directory "#{dir}db"
63
+ # template(File.join("..","templates","db.tt"), "#{dir}conf/#{type}_db.yml")
64
+ # end
50
65
 
51
66
 
52
67
  end
@@ -1,6 +1,6 @@
1
- Copyright (c) 2011 Raoul J.P. Bonnal and Francesco Strozzi.
1
+ Copyright (c) 2012 Raoul J.P. Bonnal and Francesco Strozzi.
2
2
 
3
- Bio-NGS is an official BioRuby Plugin for Next Generation Sequencing data analysis and workflows.
3
+ Bio-NGS is an official BioRuby Gem for Next Generation Sequencing data analysis and workflows.
4
4
 
5
5
 
6
6
  == Description ==
@@ -11,7 +11,9 @@ Here is a tree description:
11
11
 
12
12
  <%= name %>
13
13
  |
14
- |-- data # the place to store all your raw data and output files
14
+ |-- raw_data # the place to store all your raw data
15
+ |
16
+ |-- outputs # the place for analysis results
15
17
  |
16
18
  |-- log # the place to store log and temporary files
17
19
  |
@@ -40,4 +42,4 @@ Goto N, Prins P, Nakao M, Bonnal R, Aerts J, Katayama T.
40
42
 
41
43
 
42
44
 
43
-
45
+
@@ -1,6 +1,6 @@
1
1
  # SQLite version 3.x
2
2
  # gem install sqlite3
3
- adapter: sqlite3
4
- database: db/<%= type %>.sqlite3
3
+ adapter: <%= adapter %>
4
+ database: db/<%= name %>.sqlite3
5
5
  pool: 5
6
- timeout: 5000
6
+ timeout: 5000
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio-ngs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7.alpha.03
5
- prerelease: 6
4
+ version: 0.5.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Francesco Strozzi
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-05-29 00:00:00.000000000 Z
13
+ date: 2012-06-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bio
17
- requirement: &2162360040 !ruby/object:Gem::Requirement
17
+ requirement: &2153797260 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.4.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2162360040
25
+ version_requirements: *2153797260
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bio-samtools
28
- requirement: &2162358700 !ruby/object:Gem::Requirement
28
+ requirement: &2153796600 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 0.3.2
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2162358700
36
+ version_requirements: *2153796600
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: thor
39
- requirement: &2162357760 !ruby/object:Gem::Requirement
39
+ requirement: &2153795920 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - =
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 0.14.6
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2162357760
47
+ version_requirements: *2153795920
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rubyvis
50
- requirement: &2162372800 !ruby/object:Gem::Requirement
50
+ requirement: &2153794440 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 0.5.0
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *2162372800
58
+ version_requirements: *2153794440
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: daemons
61
- requirement: &2162369680 !ruby/object:Gem::Requirement
61
+ requirement: &2153792480 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.1.0
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *2162369680
69
+ version_requirements: *2153792480
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: ruby-ensembl-api
72
- requirement: &2162367460 !ruby/object:Gem::Requirement
72
+ requirement: &2153791560 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 1.0.1
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *2162367460
80
+ version_requirements: *2153791560
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: activerecord
83
- requirement: &2162365420 !ruby/object:Gem::Requirement
83
+ requirement: &2153790500 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,32 +88,10 @@ dependencies:
88
88
  version: 3.0.5
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *2162365420
92
- - !ruby/object:Gem::Dependency
93
- name: sqlite3
94
- requirement: &2162380460 !ruby/object:Gem::Requirement
95
- none: false
96
- requirements:
97
- - - ! '>='
98
- - !ruby/object:Gem::Version
99
- version: 1.3.3
100
- type: :runtime
101
- prerelease: false
102
- version_requirements: *2162380460
103
- - !ruby/object:Gem::Dependency
104
- name: bio-blastxmlparser
105
- requirement: &2162378780 !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- type: :runtime
112
- prerelease: false
113
- version_requirements: *2162378780
91
+ version_requirements: *2153790500
114
92
  - !ruby/object:Gem::Dependency
115
93
  name: progressbar
116
- requirement: &2162377060 !ruby/object:Gem::Requirement
94
+ requirement: &2153805400 !ruby/object:Gem::Requirement
117
95
  none: false
118
96
  requirements:
119
97
  - - ! '>='
@@ -121,10 +99,10 @@ dependencies:
121
99
  version: 0.9.0
122
100
  type: :runtime
123
101
  prerelease: false
124
- version_requirements: *2162377060
102
+ version_requirements: *2153805400
125
103
  - !ruby/object:Gem::Dependency
126
104
  name: rake
127
- requirement: &2162375820 !ruby/object:Gem::Requirement
105
+ requirement: &2153804180 !ruby/object:Gem::Requirement
128
106
  none: false
129
107
  requirements:
130
108
  - - =
@@ -132,10 +110,10 @@ dependencies:
132
110
  version: 0.9.2.2
133
111
  type: :runtime
134
112
  prerelease: false
135
- version_requirements: *2162375820
113
+ version_requirements: *2153804180
136
114
  - !ruby/object:Gem::Dependency
137
115
  name: json
138
- requirement: &2162374160 !ruby/object:Gem::Requirement
116
+ requirement: &2153802400 !ruby/object:Gem::Requirement
139
117
  none: false
140
118
  requirements:
141
119
  - - ! '>='
@@ -143,10 +121,10 @@ dependencies:
143
121
  version: '0'
144
122
  type: :runtime
145
123
  prerelease: false
146
- version_requirements: *2162374160
124
+ version_requirements: *2153802400
147
125
  - !ruby/object:Gem::Dependency
148
126
  name: parallel
149
- requirement: &2162389180 !ruby/object:Gem::Requirement
127
+ requirement: &2153800840 !ruby/object:Gem::Requirement
150
128
  none: false
151
129
  requirements:
152
130
  - - ! '>='
@@ -154,10 +132,21 @@ dependencies:
154
132
  version: '0'
155
133
  type: :runtime
156
134
  prerelease: false
157
- version_requirements: *2162389180
135
+ version_requirements: *2153800840
136
+ - !ruby/object:Gem::Dependency
137
+ name: bio-blastxmlparser
138
+ requirement: &2153800100 !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ type: :runtime
145
+ prerelease: false
146
+ version_requirements: *2153800100
158
147
  - !ruby/object:Gem::Dependency
159
148
  name: shoulda
160
- requirement: &2162387820 !ruby/object:Gem::Requirement
149
+ requirement: &2153798900 !ruby/object:Gem::Requirement
161
150
  none: false
162
151
  requirements:
163
152
  - - ! '>='
@@ -165,10 +154,10 @@ dependencies:
165
154
  version: '0'
166
155
  type: :development
167
156
  prerelease: false
168
- version_requirements: *2162387820
157
+ version_requirements: *2153798900
169
158
  - !ruby/object:Gem::Dependency
170
159
  name: bundler
171
- requirement: &2162385760 !ruby/object:Gem::Requirement
160
+ requirement: &2153812960 !ruby/object:Gem::Requirement
172
161
  none: false
173
162
  requirements:
174
163
  - - ~>
@@ -176,10 +165,10 @@ dependencies:
176
165
  version: 1.1.0
177
166
  type: :development
178
167
  prerelease: false
179
- version_requirements: *2162385760
168
+ version_requirements: *2153812960
180
169
  - !ruby/object:Gem::Dependency
181
170
  name: jeweler
182
- requirement: &2162384960 !ruby/object:Gem::Requirement
171
+ requirement: &2153812040 !ruby/object:Gem::Requirement
183
172
  none: false
184
173
  requirements:
185
174
  - - ~>
@@ -187,10 +176,10 @@ dependencies:
187
176
  version: 1.8.3
188
177
  type: :development
189
178
  prerelease: false
190
- version_requirements: *2162384960
179
+ version_requirements: *2153812040
191
180
  - !ruby/object:Gem::Dependency
192
181
  name: rcov
193
- requirement: &2162383380 !ruby/object:Gem::Requirement
182
+ requirement: &2153811000 !ruby/object:Gem::Requirement
194
183
  none: false
195
184
  requirements:
196
185
  - - ~>
@@ -198,10 +187,10 @@ dependencies:
198
187
  version: 0.9.11
199
188
  type: :development
200
189
  prerelease: false
201
- version_requirements: *2162383380
190
+ version_requirements: *2153811000
202
191
  - !ruby/object:Gem::Dependency
203
192
  name: bio
204
- requirement: &2162381840 !ruby/object:Gem::Requirement
193
+ requirement: &2153809620 !ruby/object:Gem::Requirement
205
194
  none: false
206
195
  requirements:
207
196
  - - ! '>='
@@ -209,10 +198,43 @@ dependencies:
209
198
  version: 1.4.2
210
199
  type: :development
211
200
  prerelease: false
212
- version_requirements: *2162381840
201
+ version_requirements: *2153809620
202
+ - !ruby/object:Gem::Dependency
203
+ name: jdbc-sqlite3
204
+ requirement: &2153807400 !ruby/object:Gem::Requirement
205
+ none: false
206
+ requirements:
207
+ - - ! '>='
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ type: :development
211
+ prerelease: false
212
+ version_requirements: *2153807400
213
+ - !ruby/object:Gem::Dependency
214
+ name: activerecord-jdbcsqlite3-adapter
215
+ requirement: &2153806580 !ruby/object:Gem::Requirement
216
+ none: false
217
+ requirements:
218
+ - - ! '>='
219
+ - !ruby/object:Gem::Version
220
+ version: '0'
221
+ type: :development
222
+ prerelease: false
223
+ version_requirements: *2153806580
224
+ - !ruby/object:Gem::Dependency
225
+ name: sqlite3
226
+ requirement: &2153821900 !ruby/object:Gem::Requirement
227
+ none: false
228
+ requirements:
229
+ - - ! '>='
230
+ - !ruby/object:Gem::Version
231
+ version: '0'
232
+ type: :development
233
+ prerelease: false
234
+ version_requirements: *2153821900
213
235
  - !ruby/object:Gem::Dependency
214
236
  name: thor
215
- requirement: &2162397200 !ruby/object:Gem::Requirement
237
+ requirement: &2153821100 !ruby/object:Gem::Requirement
216
238
  none: false
217
239
  requirements:
218
240
  - - =
@@ -220,10 +242,10 @@ dependencies:
220
242
  version: 0.14.6
221
243
  type: :development
222
244
  prerelease: false
223
- version_requirements: *2162397200
245
+ version_requirements: *2153821100
224
246
  - !ruby/object:Gem::Dependency
225
247
  name: ffi
226
- requirement: &2162394020 !ruby/object:Gem::Requirement
248
+ requirement: &2153820420 !ruby/object:Gem::Requirement
227
249
  none: false
228
250
  requirements:
229
251
  - - ! '>='
@@ -231,10 +253,10 @@ dependencies:
231
253
  version: 1.0.6
232
254
  type: :development
233
255
  prerelease: false
234
- version_requirements: *2162394020
256
+ version_requirements: *2153820420
235
257
  - !ruby/object:Gem::Dependency
236
258
  name: rubyvis
237
- requirement: &2162392380 !ruby/object:Gem::Requirement
259
+ requirement: &2153819440 !ruby/object:Gem::Requirement
238
260
  none: false
239
261
  requirements:
240
262
  - - ! '>='
@@ -242,10 +264,10 @@ dependencies:
242
264
  version: 0.5.0
243
265
  type: :development
244
266
  prerelease: false
245
- version_requirements: *2162392380
267
+ version_requirements: *2153819440
246
268
  - !ruby/object:Gem::Dependency
247
269
  name: rspec
248
- requirement: &2162391700 !ruby/object:Gem::Requirement
270
+ requirement: &2153818340 !ruby/object:Gem::Requirement
249
271
  none: false
250
272
  requirements:
251
273
  - - ! '>='
@@ -253,10 +275,10 @@ dependencies:
253
275
  version: 2.5.0
254
276
  type: :development
255
277
  prerelease: false
256
- version_requirements: *2162391700
278
+ version_requirements: *2153818340
257
279
  - !ruby/object:Gem::Dependency
258
280
  name: daemons
259
- requirement: &2162390160 !ruby/object:Gem::Requirement
281
+ requirement: &2153816560 !ruby/object:Gem::Requirement
260
282
  none: false
261
283
  requirements:
262
284
  - - ! '>='
@@ -264,10 +286,10 @@ dependencies:
264
286
  version: 1.1.0
265
287
  type: :development
266
288
  prerelease: false
267
- version_requirements: *2162390160
289
+ version_requirements: *2153816560
268
290
  - !ruby/object:Gem::Dependency
269
291
  name: bio-samtools
270
- requirement: &2162405360 !ruby/object:Gem::Requirement
292
+ requirement: &2153814840 !ruby/object:Gem::Requirement
271
293
  none: false
272
294
  requirements:
273
295
  - - ! '>='
@@ -275,10 +297,10 @@ dependencies:
275
297
  version: 0.3.2
276
298
  type: :development
277
299
  prerelease: false
278
- version_requirements: *2162405360
300
+ version_requirements: *2153814840
279
301
  - !ruby/object:Gem::Dependency
280
302
  name: ruby-ensembl-api
281
- requirement: &2162404740 !ruby/object:Gem::Requirement
303
+ requirement: &2153827720 !ruby/object:Gem::Requirement
282
304
  none: false
283
305
  requirements:
284
306
  - - ! '>='
@@ -286,10 +308,10 @@ dependencies:
286
308
  version: 1.0.1
287
309
  type: :development
288
310
  prerelease: false
289
- version_requirements: *2162404740
311
+ version_requirements: *2153827720
290
312
  - !ruby/object:Gem::Dependency
291
313
  name: activerecord
292
- requirement: &2162404160 !ruby/object:Gem::Requirement
314
+ requirement: &2153826500 !ruby/object:Gem::Requirement
293
315
  none: false
294
316
  requirements:
295
317
  - - ! '>='
@@ -297,21 +319,21 @@ dependencies:
297
319
  version: 3.0.5
298
320
  type: :development
299
321
  prerelease: false
300
- version_requirements: *2162404160
322
+ version_requirements: *2153826500
301
323
  - !ruby/object:Gem::Dependency
302
- name: sqlite3
303
- requirement: &2162403240 !ruby/object:Gem::Requirement
324
+ name: progressbar
325
+ requirement: &2153825440 !ruby/object:Gem::Requirement
304
326
  none: false
305
327
  requirements:
306
328
  - - ! '>='
307
329
  - !ruby/object:Gem::Version
308
- version: 1.3.3
330
+ version: 0.9.0
309
331
  type: :development
310
332
  prerelease: false
311
- version_requirements: *2162403240
333
+ version_requirements: *2153825440
312
334
  - !ruby/object:Gem::Dependency
313
- name: bio-blastxmlparser
314
- requirement: &2162401800 !ruby/object:Gem::Requirement
335
+ name: json
336
+ requirement: &2153824660 !ruby/object:Gem::Requirement
315
337
  none: false
316
338
  requirements:
317
339
  - - ! '>='
@@ -319,21 +341,21 @@ dependencies:
319
341
  version: '0'
320
342
  type: :development
321
343
  prerelease: false
322
- version_requirements: *2162401800
344
+ version_requirements: *2153824660
323
345
  - !ruby/object:Gem::Dependency
324
- name: progressbar
325
- requirement: &2162399920 !ruby/object:Gem::Requirement
346
+ name: rake
347
+ requirement: &2153823940 !ruby/object:Gem::Requirement
326
348
  none: false
327
349
  requirements:
328
- - - ! '>='
350
+ - - =
329
351
  - !ruby/object:Gem::Version
330
- version: 0.9.0
352
+ version: 0.9.2.2
331
353
  type: :development
332
354
  prerelease: false
333
- version_requirements: *2162399920
355
+ version_requirements: *2153823940
334
356
  - !ruby/object:Gem::Dependency
335
- name: json
336
- requirement: &2162413940 !ruby/object:Gem::Requirement
357
+ name: parallel
358
+ requirement: &2153823140 !ruby/object:Gem::Requirement
337
359
  none: false
338
360
  requirements:
339
361
  - - ! '>='
@@ -341,21 +363,10 @@ dependencies:
341
363
  version: '0'
342
364
  type: :development
343
365
  prerelease: false
344
- version_requirements: *2162413940
366
+ version_requirements: *2153823140
345
367
  - !ruby/object:Gem::Dependency
346
- name: rake
347
- requirement: &2162412560 !ruby/object:Gem::Requirement
348
- none: false
349
- requirements:
350
- - - =
351
- - !ruby/object:Gem::Version
352
- version: 0.9.2.2
353
- type: :development
354
- prerelease: false
355
- version_requirements: *2162412560
356
- - !ruby/object:Gem::Dependency
357
- name: parallel
358
- requirement: &2162411560 !ruby/object:Gem::Requirement
368
+ name: bio-blastxmlparser
369
+ requirement: &2153822560 !ruby/object:Gem::Requirement
359
370
  none: false
360
371
  requirements:
361
372
  - - ! '>='
@@ -363,7 +374,7 @@ dependencies:
363
374
  version: '0'
364
375
  type: :development
365
376
  prerelease: false
366
- version_requirements: *2162411560
377
+ version_requirements: *2153822560
367
378
  description: bio-ngs provides a framework for handling NGS data with BioRuby
368
379
  email: francesco.strozzi@gmail.com
369
380
  executables:
@@ -372,13 +383,13 @@ extensions:
372
383
  - ext/mkrf_conf.rb
373
384
  extra_rdoc_files:
374
385
  - LICENSE.txt
375
- - README.rdoc
386
+ - README.md
376
387
  files:
377
388
  - .document
378
389
  - Gemfile
379
390
  - Gemfile.lock
380
391
  - LICENSE.txt
381
- - README.rdoc
392
+ - README.md
382
393
  - Rakefile
383
394
  - VERSION
384
395
  - bin/biongs
@@ -389,6 +400,7 @@ files:
389
400
  - features/illumina_project_rebuild.feature
390
401
  - features/step_definitions/cufflinks_gtf.rb
391
402
  - features/step_definitions/cufflinks_gtf_parser_indexing.rb
403
+ - features/step_definitions/illumina_project_rebuild.rb
392
404
  - features/support/env.rb
393
405
  - lib/bio-ngs.rb
394
406
  - lib/bio/appl/ngs/bcftools.rb
@@ -433,7 +445,6 @@ files:
433
445
  - lib/bio/ngs/record.rb
434
446
  - lib/bio/ngs/task.rb
435
447
  - lib/bio/ngs/utils.rb
436
- - lib/development_tasks.rb
437
448
  - lib/enumerable.rb
438
449
  - lib/meta.rb
439
450
  - lib/tasks/bwa.thor
@@ -441,6 +452,7 @@ files:
441
452
  - lib/tasks/filter.thor
442
453
  - lib/tasks/history.thor
443
454
  - lib/tasks/homology.thor
455
+ - lib/tasks/install.thor
444
456
  - lib/tasks/ontology.thor
445
457
  - lib/tasks/pre.thor
446
458
  - lib/tasks/project.thor
@@ -553,13 +565,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
553
565
  version: '0'
554
566
  segments:
555
567
  - 0
556
- hash: -803718584135061941
568
+ hash: 330803756225747013
557
569
  required_rubygems_version: !ruby/object:Gem::Requirement
558
570
  none: false
559
571
  requirements:
560
- - - ! '>'
572
+ - - ! '>='
561
573
  - !ruby/object:Gem::Version
562
- version: 1.3.1
574
+ version: '0'
563
575
  requirements: []
564
576
  rubyforge_project:
565
577
  rubygems_version: 1.8.10