bio-polymarker_db_batch 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ee5ff333221f066ab5de033a6344672cf152b587
4
+ data.tar.gz: 9a940c4c6f79cff4877cc43b70572ce405ad02fe
5
+ SHA512:
6
+ metadata.gz: feb868e237d4ec8759a563df9d89abb4a8b123c419edd43833a8c3115b3a37b7a3ecd5b329d88980f3c91afa1ae0112005b048760263a9a58da22e8756378e08
7
+ data.tar.gz: 163c4fc4b2943988a1003cbd3b4855900abe09b06c2d7a65d2b45e6b762c2ae17b1f09fd97ca1ad08b6c0be68ec3de2802d2019d206ee63152f99826f13f0155
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.travis.yml ADDED
@@ -0,0 +1,13 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
5
+ - jruby-19mode # JRuby in 1.9 mode
6
+
7
+ # - rbx-19mode
8
+ # - 1.8.7
9
+ # - jruby-18mode # JRuby in 1.8 mode
10
+ # - rbx-18mode
11
+
12
+ # uncomment this line if your project needs to run something other than `rake`:
13
+ # script: bundle exec rspec spec
data/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+ gem "bio-polyploid-tools"
6
+ gem "mysql"
7
+
8
+ # Add dependencies to develop your gem here.
9
+ # Include everything needed to run rake, tests, features, etc.
10
+ group :development do
11
+ gem "shoulda", ">= 0"
12
+ gem "rdoc", "~> 3.12"
13
+ gem "simplecov", ">= 0"
14
+ gem "jeweler", "~> 2", :git => "https://github.com/technicalpickles/jeweler.git"
15
+ gem "bundler", ">= 1.0.21"
16
+ gem "bio", ">= 1.4.2"
17
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2014 homonecloco
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # bio-polymarker_db_batch
2
+
3
+ [![Build Status](https://secure.travis-ci.org/homonecloco/bioruby-polymarker_db_batch.png)](http://travis-ci.org/homonecloco/bioruby-polymarker_db_batch)
4
+
5
+ Full description goes here
6
+
7
+ Note: this software is under active development!
8
+
9
+ ## Installation
10
+
11
+ ```sh
12
+ gem install bio-polymarker_db_batch
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```ruby
18
+ require 'bio-polymarker_db_batch'
19
+ ```
20
+
21
+ The API doc is online. For more code examples see the test files in
22
+ the source tree.
23
+
24
+ ## Project home page
25
+
26
+ Information on the source tree, documentation, examples, issues and
27
+ how to contribute, see
28
+
29
+ http://github.com/homonecloco/bioruby-polymarker_db_batch
30
+
31
+ The BioRuby community is on IRC server: irc.freenode.org, channel: #bioruby.
32
+
33
+ ## Cite
34
+
35
+ If you use this software, please cite one of
36
+
37
+ * [BioRuby: bioinformatics software for the Ruby programming language](http://dx.doi.org/10.1093/bioinformatics/btq475)
38
+ * [Biogem: an effective tool-based approach for scaling up open source software development in bioinformatics](http://dx.doi.org/10.1093/bioinformatics/bts080)
39
+
40
+ ## Biogems.info
41
+
42
+ This Biogem is published at (http://biogems.info/index.html#bio-polymarker_db_batch)
43
+
44
+ ## Copyright
45
+
46
+ Copyright (c) 2014 homonecloco. See LICENSE.txt for further details.
47
+
data/README.rdoc ADDED
@@ -0,0 +1,48 @@
1
+ = bio-polymarker_db_batch
2
+
3
+ {<img
4
+ src="https://secure.travis-ci.org/homonecloco/bioruby-polymarker_db_batch.png"
5
+ />}[http://travis-ci.org/#!/homonecloco/bioruby-polymarker_db_batch]
6
+
7
+ Full description goes here
8
+
9
+ Note: this software is under active development!
10
+
11
+ == Installation
12
+
13
+ gem install bio-polymarker_db_batch
14
+
15
+ == Usage
16
+
17
+ == Developers
18
+
19
+ To use the library
20
+
21
+ require 'bio-polymarker_db_batch'
22
+
23
+ The API doc is online. For more code examples see also the test files in
24
+ the source tree.
25
+
26
+ == Project home page
27
+
28
+ Information on the source tree, documentation, issues and how to contribute, see
29
+
30
+ http://github.com/homonecloco/bioruby-polymarker_db_batch
31
+
32
+ The BioRuby community is on IRC server: irc.freenode.org, channel: #bioruby.
33
+
34
+ == Cite
35
+
36
+ If you use this software, please cite one of
37
+
38
+ * [BioRuby: bioinformatics software for the Ruby programming language](http://dx.doi.org/10.1093/bioinformatics/btq475)
39
+ * [Biogem: an effective tool-based approach for scaling up open source software development in bioinformatics](http://dx.doi.org/10.1093/bioinformatics/bts080)
40
+
41
+ == Biogems.info
42
+
43
+ This Biogem is published at http://biogems.info/index.html#bio-polymarker_db_batch
44
+
45
+ == Copyright
46
+
47
+ Copyright (c) 2014 homonecloco. See LICENSE.txt for further details.
48
+
data/Rakefile ADDED
@@ -0,0 +1,51 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
17
+ gem.name = "bio-polymarker_db_batch"
18
+ gem.homepage = "http://github.com/homonecloco/bioruby-polymarker_db_batch"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Server for polymarker. To be used with cron}
21
+ gem.description = %Q{Server for polymarker. To be used with cron}
22
+ gem.email = "ricardo.ramirez-gonzalez@tgac.ac.uk"
23
+ gem.authors = ["Ricardo H. Ramirez-Gonzalez"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
33
+ end
34
+
35
+ desc "Code coverage detail"
36
+ task :simplecov do
37
+ ENV['COVERAGE'] = "true"
38
+ Rake::Task['test'].execute
39
+ end
40
+
41
+ task :default => :test
42
+
43
+ require 'rdoc/task'
44
+ Rake::RDocTask.new do |rdoc|
45
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
46
+
47
+ rdoc.rdoc_dir = 'rdoc'
48
+ rdoc.title = "bio-polymarker_db_batch #{version}"
49
+ rdoc.rdoc_files.include('README*')
50
+ rdoc.rdoc_files.include('lib/**/*.rb')
51
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env ruby
2
+ require 'bioruby-polyploid-tools'
3
+ require 'optparse'
4
+ require 'mysql'
5
+ $: << File.expand_path(File.dirname(__FILE__) + '/../lib')
6
+ $: << File.expand_path('.')
7
+ path=File.expand_path(File.dirname(__FILE__) + '/../lib/bio-polymarker_db_batch.rb')
8
+ #$stderr.puts "Loading: #{path}"
9
+ require path
10
+
11
+ options = {}
12
+
13
+
14
+ OptionParser.new do |opts|
15
+ opts.banner = "Usage: run_pending_polymarker.rb [options]"
16
+
17
+ opts.on("-p", "--preferences FILE" "File with the preferences") do |o|
18
+ options[:preferences] = o
19
+ end
20
+
21
+ end.parse!
22
+
23
+ pol=Bio::DB::Polymarker.new(options[:preferences])
24
+
25
+
26
+ pol.mysql_version
27
+ pol.each_running do |row|
28
+ puts row.join(",")
29
+ puts row.inspect
30
+ pol.review_running_status(row[0], row[1])
31
+ # pol.write_output_file_and_execute(row[0], row[1]);
32
+ # pol.each_snp_in_file(row[0]) do |snp|
33
+ # puts snp.inspect
34
+
35
+ # pol.
36
+ #end
37
+
38
+ end
39
+
40
+
41
+
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env ruby
2
+ require 'bioruby-polyploid-tools'
3
+ require 'optparse'
4
+ require 'mysql'
5
+ $: << File.expand_path(File.dirname(__FILE__) + '/../lib')
6
+ $: << File.expand_path('.')
7
+ path=File.expand_path(File.dirname(__FILE__) + '/../lib/bio-polymarker_db_batch.rb')
8
+ #$stderr.puts "Loading: #{path}"
9
+ require path
10
+
11
+ options = {}
12
+
13
+
14
+ OptionParser.new do |opts|
15
+ opts.banner = "Usage: run_pending_polymarker.rb [options]"
16
+
17
+ opts.on("-p", "--preferences FILE" "File with the preferences") do |o|
18
+ options[:preferences] = o
19
+ end
20
+
21
+ end.parse!
22
+
23
+ pol=Bio::DB::Polymarker.new(options[:preferences])
24
+
25
+
26
+ pol.mysql_version
27
+ pol.each_to_run do |row|
28
+ puts row.join(",")
29
+ puts row.inspect
30
+ pol.write_output_file_and_execute(row[0], row[1]);
31
+ # pol.each_snp_in_file(row[0]) do |snp|
32
+ # puts snp.inspect
33
+
34
+ # pol.
35
+ #end
36
+
37
+ end
38
+
39
+
40
+
41
+
@@ -0,0 +1,12 @@
1
+ # Please require your code below, respecting the naming conventions in the
2
+ # bioruby directory tree.
3
+ #
4
+ # For example, say you have a plugin named bio-plugin, the only uncommented
5
+ # line in this file would be
6
+ #
7
+ # require 'bio/bio-plugin/plugin'
8
+ #
9
+ # In this file only require other files. Avoid other source code.
10
+
11
+ require 'bio-polymarker_db_batch/polymarker_db_batch.rb'
12
+
@@ -0,0 +1,184 @@
1
+
2
+ class Bio::DB::Polymarker
3
+
4
+
5
+ def initialize( props)
6
+ @properties =Hash[*File.read(props).split(/[=\n]+/)]
7
+ puts @properties.inspect
8
+ end
9
+
10
+ def mysql_version
11
+ con.get_server_info
12
+ end
13
+
14
+ def each_to_run
15
+ query="SELECT snp_file_id, filename FROM snp_file WHERE status = 'NEW';"
16
+ ret = 0
17
+ if block_given?
18
+ ret = execute_query(query){|row| yield row }
19
+ else
20
+ ret = execute_query(query)
21
+ end
22
+ ret
23
+ end
24
+
25
+ def each_running
26
+ query="SELECT snp_file_id, filename FROM snp_file WHERE status NOT IN ('NEW', 'DONE', 'LOADED');"
27
+ ret = 0
28
+ if block_given?
29
+ ret = execute_query(query){|row| yield row }
30
+ else
31
+ ret = execute_query(query)
32
+ end
33
+ ret
34
+ end
35
+
36
+ def each_snp_in_file(file_id)
37
+ query="SELECT name, chromosome, sequence FROM snp, snp_file_snp WHERE snp_file_snp.snpList_snpId = snp.snpId AND snp_file_snp.snp_file_snp_file_id = '#{file_id}';"
38
+ ret = 0
39
+ puts query
40
+ if block_given?
41
+ ret = execute_query(query){|row| yield row }
42
+ else
43
+ ret = execute_query(query)
44
+ end
45
+ ret
46
+ end
47
+
48
+ def write_output_file_and_execute(file_id, filename)
49
+ path =@properties["execution_path"]+"/#{file_id}_#{filename}"
50
+ puts "Writting: #{path}"
51
+ f=File.open(path, "w")
52
+
53
+ each_snp_in_file(file_id) do |row|
54
+ f.puts(row.join(","))
55
+ end
56
+ execute_polymarker(path)
57
+ update_status(file_id, "SUBMITTED")
58
+ f.close
59
+ end
60
+
61
+ def execute_polymarker(snp_file)
62
+ cmd="#{@properties['wrapper_prefix'] } polymarker.rb -m #{snp_file} -o #{snp_file}_out -c #{@properties['path_to_chromosomes']} #{@properties['wrapper_suffix'] }"
63
+ #polymarker.rb -m 1_GWAS_SNPs.csv -o 1_test -c /Users/ramirezr/Documents/TGAC/references/Triticum_aestivum.IWGSP1.21.dna_rm.genome.fa
64
+ execute_command(cmd)
65
+ end
66
+
67
+ def update_status(snp_file_id, new_status)
68
+ raise "Invalid status #{new_status}" unless ["NEW", "SUBMITTED", "RUNNING", "DONE", "ERROR"].include?(new_status)
69
+ pst = con.prepare "UPDATE snp_file SET status = ? WHERE snp_file_id = ?"
70
+ pst.execute new_status, snp_file_id
71
+ con.commit
72
+ end
73
+
74
+ def send_email(to,opts={})
75
+ opts[:server] ||= 'localhost'
76
+ opts[:from] ||= 'polymarker@tgac.ac.uk'
77
+ opts[:from_alias] ||= 'Example Emailer'
78
+ opts[:subject] ||= "You need to see this"
79
+ opts[:body] ||= "Important stuff!"
80
+
81
+ msg = <<END_OF_MESSAGE
82
+ From: #{opts[:from_alias]} <#{opts[:from]}>
83
+ To: <#{to}>
84
+ Subject: #{opts[:subject]}
85
+
86
+ #{opts[:body]}
87
+ END_OF_MESSAGE
88
+ Net::SMTP.start(opts[:server]) do |smtp|
89
+ smtp.send_message msg, opts[:from], to
90
+ end
91
+ end
92
+
93
+ def review_running_status(file_id, filename)
94
+ out_folder=@properties["execution_path"]+"/#{file_id}_#{filename}_out"
95
+ started=File.exist?(out_folder)
96
+ done=false
97
+
98
+ if started
99
+ lines = IO.readlines("#{out_folder}/status.txt")
100
+ # puts lines.inspect
101
+ done = lines.last.split(",").include?("DONE\n") if lines.size > 1
102
+ end
103
+ if done
104
+ exons_filename="#{out_folder}/exons_genes_and_contigs.fa"
105
+ output_primers="#{out_folder}/primers.csv"
106
+ read_file_to_snp_file("mask_fasta", file_id, exons_filename )
107
+ read_file_to_snp_file("polymarker_output", file_id, output_primers )
108
+ update_status(file_id, "DONE")
109
+ elsif started
110
+ update_status(file_id, "RUNNING")
111
+ end
112
+ end
113
+
114
+ private
115
+
116
+ def read_file_to_snp_file(column, id, filename )
117
+ pst = con.prepare "UPDATE snp_file SET #{column} = ? WHERE snp_file_id = ?"
118
+ puts "Reading: #{filename}"
119
+ text = File.read(filename)
120
+ pst.execute text, id
121
+ end
122
+
123
+ #TODO:Exception handling
124
+ def connect
125
+ @con = Mysql.new @properties["mysql_host"], @properties["mysql_user"], @properties["mysql_pwd"], @properties["mysql_db"]
126
+ @con.autocommit false
127
+ return @con
128
+ end
129
+ def close
130
+ @con.close if @con
131
+ @con = nil
132
+ end
133
+
134
+ def con #TODO: reconnect if connection lost
135
+ connect unless @con
136
+ @con
137
+ end
138
+
139
+ def execute_query(query)
140
+ $stderr.puts query if $VERBOSE
141
+
142
+
143
+
144
+ if query.start_with?( 'SELECT')
145
+ rs = con.query(query)
146
+ n_rows = rs.num_rows
147
+ ret = Array.new unless block_given?
148
+ n_rows.times do
149
+ row = rs.fetch_row
150
+ yield row if block_given?
151
+ ret << row unless block_given?
152
+ end
153
+ close
154
+ return n_rows unless block_given?
155
+ return ret
156
+ end
157
+ raise "Unsuported query #{query}"
158
+
159
+ end
160
+
161
+ def execute_command(command, type=:text, skip_comments=true, comment_char="#", &block)
162
+ puts "Executing #{command}"
163
+ stdin, pipe, stderr, wait_thr = Open3.popen3(command)
164
+ pid = wait_thr[:pid] # pid of the started process.
165
+ if type == :text
166
+ while (line = pipe.gets)
167
+ next if skip_comments and line[0] == comment_char
168
+ yield line.chomp if block_given?
169
+ end
170
+ elsif type == :binary
171
+ while (c = pipe.gets(nil))
172
+ yield c if block_given?
173
+ end
174
+ end
175
+ exit_status = wait_thr.value # Process::Status object returned.
176
+ puts stderr.read
177
+ stdin.close
178
+ pipe.close
179
+ stderr.close
180
+ return exit_status
181
+ end
182
+
183
+ end
184
+
data/test/helper.rb ADDED
@@ -0,0 +1,34 @@
1
+ require 'simplecov'
2
+
3
+ module SimpleCov::Configuration
4
+ def clean_filters
5
+ @filters = []
6
+ end
7
+ end
8
+
9
+ SimpleCov.configure do
10
+ clean_filters
11
+ load_adapter 'test_frameworks'
12
+ end
13
+
14
+ ENV["COVERAGE"] && SimpleCov.start do
15
+ add_filter "/.rvm/"
16
+ end
17
+ require 'rubygems'
18
+ require 'bundler'
19
+ begin
20
+ Bundler.setup(:default, :development)
21
+ rescue Bundler::BundlerError => e
22
+ $stderr.puts e.message
23
+ $stderr.puts "Run `bundle install` to install missing gems"
24
+ exit e.status_code
25
+ end
26
+ require 'test/unit'
27
+ require 'shoulda'
28
+
29
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
30
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
31
+ require 'bio-polymarker_db_batch'
32
+
33
+ class Test::Unit::TestCase
34
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestBioPolymarkerDbBatch < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bio-polymarker_db_batch
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ricardo H. Ramirez-Gonzalez
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bio-polyploid-tools
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: mysql
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: shoulda
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jeweler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2'
97
+ - !ruby/object:Gem::Dependency
98
+ name: bundler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 1.0.21
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 1.0.21
111
+ - !ruby/object:Gem::Dependency
112
+ name: bio
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 1.4.2
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 1.4.2
125
+ description: Server for polymarker. To be used with cron
126
+ email: ricardo.ramirez-gonzalez@tgac.ac.uk
127
+ executables:
128
+ - monitor_running_polymarker.rb
129
+ - run_pending_polymarker.rb
130
+ extensions: []
131
+ extra_rdoc_files:
132
+ - LICENSE.txt
133
+ - README.md
134
+ - README.rdoc
135
+ files:
136
+ - ".document"
137
+ - ".travis.yml"
138
+ - Gemfile
139
+ - LICENSE.txt
140
+ - README.md
141
+ - README.rdoc
142
+ - Rakefile
143
+ - VERSION
144
+ - bin/monitor_running_polymarker.rb
145
+ - bin/run_pending_polymarker.rb
146
+ - lib/bio-polymarker_db_batch.rb
147
+ - lib/bio-polymarker_db_batch/polymarker_db_batch.rb
148
+ - test/helper.rb
149
+ - test/test_bio-polymarker_db_batch.rb
150
+ homepage: http://github.com/homonecloco/bioruby-polymarker_db_batch
151
+ licenses:
152
+ - MIT
153
+ metadata: {}
154
+ post_install_message:
155
+ rdoc_options: []
156
+ require_paths:
157
+ - lib
158
+ required_ruby_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ requirements: []
169
+ rubyforge_project:
170
+ rubygems_version: 2.2.1
171
+ signing_key:
172
+ specification_version: 4
173
+ summary: Server for polymarker. To be used with cron
174
+ test_files: []