bio-ensembl 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/.document +5 -0
  2. data/Gemfile +20 -0
  3. data/Gemfile.lock +40 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +19 -0
  6. data/Rakefile +71 -0
  7. data/VERSION +1 -0
  8. data/bin/ensembl +40 -0
  9. data/bin/variation_effect_predictor +106 -0
  10. data/bio-ensembl.gemspec +190 -0
  11. data/lib/bio-ensembl.rb +65 -0
  12. data/lib/bio-ensembl/core/activerecord.rb +1812 -0
  13. data/lib/bio-ensembl/core/collection.rb +64 -0
  14. data/lib/bio-ensembl/core/project.rb +262 -0
  15. data/lib/bio-ensembl/core/slice.rb +657 -0
  16. data/lib/bio-ensembl/core/transcript.rb +409 -0
  17. data/lib/bio-ensembl/core/transform.rb +95 -0
  18. data/lib/bio-ensembl/db_connection.rb +205 -0
  19. data/lib/bio-ensembl/variation/activerecord.rb +536 -0
  20. data/lib/bio-ensembl/variation/variation_feature.rb +376 -0
  21. data/lib/bio-ensembl/variation/variation_feature62.rb +444 -0
  22. data/samples/ensembl_genomes_example.rb +60 -0
  23. data/samples/examples_perl_tutorial.rb +125 -0
  24. data/samples/small_example_ruby_api.rb +34 -0
  25. data/samples/variation_effect_predictor_data.txt +4 -0
  26. data/samples/variation_example.rb +67 -0
  27. data/test/data/seq_c6qbl.fa +10 -0
  28. data/test/data/seq_cso19_coding.fa +16 -0
  29. data/test/data/seq_cso19_transcript.fa +28 -0
  30. data/test/data/seq_drd3_gene.fa +838 -0
  31. data/test/data/seq_drd3_transcript.fa +22 -0
  32. data/test/data/seq_drd4_transcript.fa +24 -0
  33. data/test/data/seq_forward_composite.fa +1669 -0
  34. data/test/data/seq_par_boundary.fa +169 -0
  35. data/test/data/seq_rnd3_transcript.fa +47 -0
  36. data/test/data/seq_ub2r1_coding.fa +13 -0
  37. data/test/data/seq_ub2r1_gene.fa +174 -0
  38. data/test/data/seq_ub2r1_transcript.fa +26 -0
  39. data/test/data/seq_y.fa +2 -0
  40. data/test/default/test_connection.rb +60 -0
  41. data/test/default/test_releases.rb +130 -0
  42. data/test/ensembl_genomes/test_collection.rb +122 -0
  43. data/test/ensembl_genomes/test_gene.rb +46 -0
  44. data/test/ensembl_genomes/test_slice.rb +65 -0
  45. data/test/ensembl_genomes/test_variation.rb +38 -0
  46. data/test/helper.rb +18 -0
  47. data/test/release_50/core/test_project.rb +210 -0
  48. data/test/release_50/core/test_project_human.rb +52 -0
  49. data/test/release_50/core/test_relationships.rb +72 -0
  50. data/test/release_50/core/test_sequence.rb +170 -0
  51. data/test/release_50/core/test_slice.rb +116 -0
  52. data/test/release_50/core/test_transcript.rb +125 -0
  53. data/test/release_50/core/test_transform.rb +217 -0
  54. data/test/release_50/variation/test_activerecord.rb +138 -0
  55. data/test/release_50/variation/test_variation.rb +79 -0
  56. data/test/release_53/core/test_gene.rb +61 -0
  57. data/test/release_53/core/test_project.rb +91 -0
  58. data/test/release_53/core/test_project_human.rb +61 -0
  59. data/test/release_53/core/test_slice.rb +42 -0
  60. data/test/release_53/core/test_transform.rb +57 -0
  61. data/test/release_53/variation/test_activerecord.rb +137 -0
  62. data/test/release_53/variation/test_variation.rb +66 -0
  63. data/test/release_56/core/test_gene.rb +61 -0
  64. data/test/release_56/core/test_project.rb +91 -0
  65. data/test/release_56/core/test_slice.rb +49 -0
  66. data/test/release_56/core/test_transform.rb +57 -0
  67. data/test/release_56/variation/test_activerecord.rb +141 -0
  68. data/test/release_56/variation/test_consequence.rb +131 -0
  69. data/test/release_56/variation/test_variation.rb +63 -0
  70. data/test/release_60/core/test_gene.rb +61 -0
  71. data/test/release_60/core/test_project_human.rb +34 -0
  72. data/test/release_60/core/test_slice.rb +42 -0
  73. data/test/release_60/core/test_transcript.rb +120 -0
  74. data/test/release_60/core/test_transform.rb +57 -0
  75. data/test/release_60/variation/test_activerecord.rb +216 -0
  76. data/test/release_60/variation/test_consequence.rb +153 -0
  77. data/test/release_60/variation/test_variation.rb +64 -0
  78. data/test/release_62/core/test_gene.rb +42 -0
  79. data/test/release_62/variation/test_activerecord.rb +86 -0
  80. data/test/release_62/variation/test_consequence.rb +191 -0
  81. metadata +287 -0
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/Gemfile ADDED
@@ -0,0 +1,20 @@
1
+ source "http://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ gem "bio", ">= 1.4.1"
7
+ gem "mysql"
8
+ gem "activerecord", "= 3.0.0"
9
+
10
+ # Add dependencies to develop your gem here.
11
+ # Include everything needed to run rake, tests, features, etc.
12
+ group :development do
13
+ gem "shoulda", ">= 0"
14
+ gem "bundler", "~> 1.0.0"
15
+ gem "jeweler", "~> 1.5.2"
16
+ gem "rcov", ">= 0"
17
+ gem "bio", ">= 1.4.1"
18
+ gem "mysql"
19
+ gem 'activerecord', "= 3.0.0"
20
+ end
@@ -0,0 +1,40 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ activemodel (3.0.0)
5
+ activesupport (= 3.0.0)
6
+ builder (~> 2.1.2)
7
+ i18n (~> 0.4.1)
8
+ activerecord (3.0.0)
9
+ activemodel (= 3.0.0)
10
+ activesupport (= 3.0.0)
11
+ arel (~> 1.0.0)
12
+ tzinfo (~> 0.3.23)
13
+ activesupport (3.0.0)
14
+ arel (1.0.1)
15
+ activesupport (~> 3.0.0)
16
+ bio (1.4.2)
17
+ builder (2.1.2)
18
+ git (1.2.5)
19
+ i18n (0.4.2)
20
+ jeweler (1.5.2)
21
+ bundler (~> 1.0.0)
22
+ git (>= 1.2.5)
23
+ rake
24
+ mysql (2.8.1)
25
+ rake (0.9.2.2)
26
+ rcov (0.9.11)
27
+ shoulda (2.11.3)
28
+ tzinfo (0.3.31)
29
+
30
+ PLATFORMS
31
+ ruby
32
+
33
+ DEPENDENCIES
34
+ activerecord (= 3.0.0)
35
+ bio (>= 1.4.1)
36
+ bundler (~> 1.0.0)
37
+ jeweler (~> 1.5.2)
38
+ mysql
39
+ rcov
40
+ shoulda
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Jan Aerts and Francesco Strozzi
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.
@@ -0,0 +1,19 @@
1
+ = bio-ensembl
2
+
3
+ Ruby API to access the Ensembl database
4
+
5
+ == Contributing to bio-ensembl
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) 2011 Jan Aerts and Francesco Strozzi. See LICENSE.txt for
18
+ further details.
19
+
@@ -0,0 +1,71 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "bio-ensembl"
16
+ gem.homepage = "http://github.com/fstrozzi/bioruby-ensembl"
17
+ gem.license = "MIT"
18
+ gem.summary = "A Ruby API to the Ensembl database"
19
+ gem.description = "This API provides a complete set of methods and classes to access the Ensembl database using Ruby programming language"
20
+ gem.email = ["jan.aerts@gmail.com","francesco.strozzi@gmail.com"]
21
+ gem.authors = ["Jan Aerts","Francesco Strozzi"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ end
25
+ Jeweler::RubygemsDotOrgTasks.new
26
+
27
+ # Tests
28
+
29
+ namespace :test do
30
+ desc "Run tests for last supported release"
31
+ task :last => :default do
32
+ name = Dir.glob("test/release_*").sort[-1]
33
+ Dir.glob(name+"/**/*test_*.rb").each do |test_case|
34
+ ruby test_case
35
+ end
36
+ end
37
+
38
+ desc "Run all tests"
39
+ task :all => :default do
40
+ Dir.glob("test//test_*.rb").each do |test_case|
41
+ ruby test_case
42
+ end
43
+ end
44
+
45
+ desc "Run default tests"
46
+ task :default do
47
+ Dir.glob("test/default/test_*.rb").each do |test_case|
48
+ ruby test_case
49
+ end
50
+ end
51
+
52
+ end
53
+
54
+ require 'rcov/rcovtask'
55
+ Rcov::RcovTask.new do |test|
56
+ test.libs << 'test'
57
+ test.pattern = 'test/**/test_*.rb'
58
+ test.verbose = true
59
+ end
60
+
61
+ task :default => :test
62
+
63
+ require 'rake/rdoctask'
64
+ Rake::RDocTask.new do |rdoc|
65
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
66
+
67
+ rdoc.rdoc_dir = 'rdoc'
68
+ rdoc.title = "bio-ensembl #{version}"
69
+ rdoc.rdoc_files.include('README*')
70
+ rdoc.rdoc_files.include('lib/**/*.rb')
71
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.1.0
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/ruby
2
+ require 'irb'
3
+ require File.expand_path File.join(File.dirname(__FILE__),'../lib/bio-ensembl')
4
+
5
+ module IRB
6
+ def self.start_session(binding)
7
+ IRB.setup(nil)
8
+
9
+ workspace = WorkSpace.new(binding)
10
+
11
+ if @CONF[:SCRIPT]
12
+ irb = Irb.new(workspace, @CONF[:SCRIPT])
13
+ else
14
+ irb = Irb.new(workspace)
15
+ end
16
+
17
+ @CONF[:IRB_RC].call(irb.context) if @CONF[:IRB_RC]
18
+ @CONF[:MAIN_CONTEXT] = irb.context
19
+
20
+ trap("SIGINT") do
21
+ irb.signal_handle
22
+ end
23
+
24
+ catch(:IRB_EXIT) do
25
+ irb.eval_input
26
+ end
27
+ end
28
+ end
29
+
30
+ include Ensembl::Core
31
+ include Ensembl::Variation
32
+ if ARGV.length == 2
33
+ species = ARGV.shift
34
+ release = ARGV.shift.to_i
35
+ Ensembl::Core::DBConnection.connect(species,release)
36
+ Ensembl::Variation::DBConnection.connect(species,release)
37
+ IRB.start_session(Kernel.binding)
38
+ else
39
+ raise "ERROR: Please provide snake_case species and Ensembl release number"
40
+ end
@@ -0,0 +1,106 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ def run_calculations(args)
4
+
5
+ ### GETTING COMMAND LINE PARAMETERS ###
6
+ args.each_index {|x| args.insert(x+1,1) if args[x] == '-h' or args[x] == '-g' } # to have always an even number of parameters
7
+ params = Hash[*args]
8
+
9
+ ### PRINT HELP ###
10
+ if params.key?("-h") then
11
+ show_help()
12
+ exit
13
+ end
14
+
15
+ ### CHECKING INPUT FILE ###
16
+ if params["-i"].nil? or params == {} then
17
+ show_help()
18
+ puts "\nERROR: You must provide an input file!\n\n"
19
+ exit
20
+ end
21
+
22
+ ### SETTING DEFAULT MySQL USER IF NOT SPECIFIED ###
23
+ params["-u"] = "anonymous" if params["-u"].nil?
24
+ params["-P"] = params["-P"].to_i if params["-P"] != nil
25
+
26
+ ### OPENING CONNECTION TO ENSEMBL DATABASE ###
27
+ require 'rubygems'
28
+ require 'bio-ensembl'
29
+ include Ensembl::Variation
30
+
31
+ if params.key?("-g") then
32
+ params["-d"] = "mysql.ebi.ac.uk" if params["-d"].nil?
33
+ if params["-s"].nil? or params["-r"].nil? then
34
+ puts "\nERROR: For Ensembl Genomes you must provide a valid species and release number!\n\n"
35
+ exit
36
+ end
37
+ DBConnection.ensemblgenomes_connect(params["-s"],params["-r"].to_i,:host => params["-d"], :username => params["-u"],:password => params["-p"],:port => params["-P"])
38
+ else
39
+ params["-s"] = "homo_sapiens" if params["-s"].nil?
40
+ params["-r"] = 60 if params["-r"].nil?
41
+ params["-d"] = "ensembldb.ensembl.org" if params["-d"].nil?
42
+ DBConnection.connect(params["-s"],params["-r"].to_i,:host => params["-d"], :username => params["-u"],:password => params["-p"],:port => params["-P"])
43
+ end
44
+
45
+ ### STARTING VARIATIONS PREDICTIONS ###
46
+ File.open(params["-i"]) do |f|
47
+ f.each_line do |l|
48
+ next if l =~ /^#/
49
+ l.chomp!
50
+ data = l.split("\t")
51
+ get_consequence(data[0],data[1],data[2],data[3],data[4],data[5]).each do |tv|
52
+ puts l+"\t Effect: "+tv.consequence_type+" -- "+tv.transcript_stable_id.to_s
53
+ end
54
+ end
55
+ end
56
+ end
57
+
58
+
59
+ def show_help()
60
+ puts "\nRuby Ensembl API -- Variation Effects Predictor"
61
+ puts "\n\tUSAGE: variation_effect_predictor -i variations.txt [OPTIONS]\n\n"
62
+ puts "\tOPTIONS:\n"
63
+ puts "\t\t-i\t Input file (Tab separated) REQUIRED"
64
+ puts "\t\t-s\t Species in snake case (default is 'homo_sapiens')"
65
+ puts "\t\t-r\t Ensembl Database release (default is 60)"
66
+ puts "\t\t-d\t Ensembl Database Server (default is 'ensembldb.ensembl.org')"
67
+ puts "\t\t-u\t Ensembl Database username (default is 'anonymous')"
68
+ puts "\t\t-p\t Ensembl Database password (only required for local Ensembl database)"
69
+ puts "\t\t-P\t Ensembl Database MySQL port connection (only required for local Ensembl database)"
70
+ puts "\t\t-g\t Connects to Ensembl Genomes Server (default is 'mysql.ebi.ac.uk')"
71
+ puts "\t\t-h\t Show this help"
72
+ puts "\n\n"
73
+ end
74
+
75
+
76
+ def get_consequence(chr,start,stop,alleles,strand,name)
77
+ variation = VariationFeature.new(:seq_region_id => SeqRegion.find_by_name(chr).seq_region_id,
78
+ :seq_region_start => start,
79
+ :seq_region_end => stop,
80
+ :allele_string => alleles,
81
+ :seq_region_strand => strand,
82
+ :variation_name => name
83
+ )
84
+ return variation.transcript_variations
85
+ end
86
+
87
+
88
+
89
+ run_calculations(ARGV)
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
@@ -0,0 +1,190 @@
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 = "bio-ensembl"
8
+ s.version = "1.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Jan Aerts", "Francesco Strozzi"]
12
+ s.date = "2011-12-06"
13
+ s.description = "This API provides a complete set of methods and classes to access the Ensembl database using Ruby programming language"
14
+ s.email = ["jan.aerts@gmail.com", "francesco.strozzi@gmail.com"]
15
+ s.executables = ["ensembl", "variation_effect_predictor"]
16
+ s.extra_rdoc_files = [
17
+ "LICENSE.txt",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "bin/ensembl",
29
+ "bin/variation_effect_predictor",
30
+ "bio-ensembl.gemspec",
31
+ "lib/bio-ensembl.rb",
32
+ "lib/bio-ensembl/core/activerecord.rb",
33
+ "lib/bio-ensembl/core/collection.rb",
34
+ "lib/bio-ensembl/core/project.rb",
35
+ "lib/bio-ensembl/core/slice.rb",
36
+ "lib/bio-ensembl/core/transcript.rb",
37
+ "lib/bio-ensembl/core/transform.rb",
38
+ "lib/bio-ensembl/db_connection.rb",
39
+ "lib/bio-ensembl/variation/activerecord.rb",
40
+ "lib/bio-ensembl/variation/variation_feature.rb",
41
+ "lib/bio-ensembl/variation/variation_feature62.rb",
42
+ "samples/ensembl_genomes_example.rb",
43
+ "samples/examples_perl_tutorial.rb",
44
+ "samples/small_example_ruby_api.rb",
45
+ "samples/variation_effect_predictor_data.txt",
46
+ "samples/variation_example.rb",
47
+ "test/data/seq_c6qbl.fa",
48
+ "test/data/seq_cso19_coding.fa",
49
+ "test/data/seq_cso19_transcript.fa",
50
+ "test/data/seq_drd3_gene.fa",
51
+ "test/data/seq_drd3_transcript.fa",
52
+ "test/data/seq_drd4_transcript.fa",
53
+ "test/data/seq_forward_composite.fa",
54
+ "test/data/seq_par_boundary.fa",
55
+ "test/data/seq_rnd3_transcript.fa",
56
+ "test/data/seq_ub2r1_coding.fa",
57
+ "test/data/seq_ub2r1_gene.fa",
58
+ "test/data/seq_ub2r1_transcript.fa",
59
+ "test/data/seq_y.fa",
60
+ "test/default/test_connection.rb",
61
+ "test/default/test_releases.rb",
62
+ "test/ensembl_genomes/test_collection.rb",
63
+ "test/ensembl_genomes/test_gene.rb",
64
+ "test/ensembl_genomes/test_slice.rb",
65
+ "test/ensembl_genomes/test_variation.rb",
66
+ "test/helper.rb",
67
+ "test/release_50/core/test_project.rb",
68
+ "test/release_50/core/test_project_human.rb",
69
+ "test/release_50/core/test_relationships.rb",
70
+ "test/release_50/core/test_sequence.rb",
71
+ "test/release_50/core/test_slice.rb",
72
+ "test/release_50/core/test_transcript.rb",
73
+ "test/release_50/core/test_transform.rb",
74
+ "test/release_50/variation/test_activerecord.rb",
75
+ "test/release_50/variation/test_variation.rb",
76
+ "test/release_53/core/test_gene.rb",
77
+ "test/release_53/core/test_project.rb",
78
+ "test/release_53/core/test_project_human.rb",
79
+ "test/release_53/core/test_slice.rb",
80
+ "test/release_53/core/test_transform.rb",
81
+ "test/release_53/variation/test_activerecord.rb",
82
+ "test/release_53/variation/test_variation.rb",
83
+ "test/release_56/core/test_gene.rb",
84
+ "test/release_56/core/test_project.rb",
85
+ "test/release_56/core/test_slice.rb",
86
+ "test/release_56/core/test_transform.rb",
87
+ "test/release_56/variation/test_activerecord.rb",
88
+ "test/release_56/variation/test_consequence.rb",
89
+ "test/release_56/variation/test_variation.rb",
90
+ "test/release_60/core/test_gene.rb",
91
+ "test/release_60/core/test_project_human.rb",
92
+ "test/release_60/core/test_slice.rb",
93
+ "test/release_60/core/test_transcript.rb",
94
+ "test/release_60/core/test_transform.rb",
95
+ "test/release_60/variation/test_activerecord.rb",
96
+ "test/release_60/variation/test_consequence.rb",
97
+ "test/release_60/variation/test_variation.rb",
98
+ "test/release_62/core/test_gene.rb",
99
+ "test/release_62/variation/test_activerecord.rb",
100
+ "test/release_62/variation/test_consequence.rb"
101
+ ]
102
+ s.homepage = "http://github.com/fstrozzi/bioruby-ensembl"
103
+ s.licenses = ["MIT"]
104
+ s.require_paths = ["lib"]
105
+ s.rubygems_version = "1.8.12"
106
+ s.summary = "A Ruby API to the Ensembl database"
107
+ s.test_files = [
108
+ "test/default/test_connection.rb",
109
+ "test/default/test_releases.rb",
110
+ "test/ensembl_genomes/test_collection.rb",
111
+ "test/ensembl_genomes/test_gene.rb",
112
+ "test/ensembl_genomes/test_slice.rb",
113
+ "test/ensembl_genomes/test_variation.rb",
114
+ "test/helper.rb",
115
+ "test/release_50/core/test_project.rb",
116
+ "test/release_50/core/test_project_human.rb",
117
+ "test/release_50/core/test_relationships.rb",
118
+ "test/release_50/core/test_sequence.rb",
119
+ "test/release_50/core/test_slice.rb",
120
+ "test/release_50/core/test_transcript.rb",
121
+ "test/release_50/core/test_transform.rb",
122
+ "test/release_50/variation/test_activerecord.rb",
123
+ "test/release_50/variation/test_variation.rb",
124
+ "test/release_53/core/test_gene.rb",
125
+ "test/release_53/core/test_project.rb",
126
+ "test/release_53/core/test_project_human.rb",
127
+ "test/release_53/core/test_slice.rb",
128
+ "test/release_53/core/test_transform.rb",
129
+ "test/release_53/variation/test_activerecord.rb",
130
+ "test/release_53/variation/test_variation.rb",
131
+ "test/release_56/core/test_gene.rb",
132
+ "test/release_56/core/test_project.rb",
133
+ "test/release_56/core/test_slice.rb",
134
+ "test/release_56/core/test_transform.rb",
135
+ "test/release_56/variation/test_activerecord.rb",
136
+ "test/release_56/variation/test_consequence.rb",
137
+ "test/release_56/variation/test_variation.rb",
138
+ "test/release_60/core/test_gene.rb",
139
+ "test/release_60/core/test_project_human.rb",
140
+ "test/release_60/core/test_slice.rb",
141
+ "test/release_60/core/test_transcript.rb",
142
+ "test/release_60/core/test_transform.rb",
143
+ "test/release_60/variation/test_activerecord.rb",
144
+ "test/release_60/variation/test_consequence.rb",
145
+ "test/release_60/variation/test_variation.rb",
146
+ "test/release_62/core/test_gene.rb",
147
+ "test/release_62/variation/test_activerecord.rb",
148
+ "test/release_62/variation/test_consequence.rb"
149
+ ]
150
+
151
+ if s.respond_to? :specification_version then
152
+ s.specification_version = 3
153
+
154
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
155
+ s.add_runtime_dependency(%q<bio>, [">= 1.4.1"])
156
+ s.add_runtime_dependency(%q<mysql>, [">= 0"])
157
+ s.add_runtime_dependency(%q<activerecord>, ["= 3.0.0"])
158
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
159
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
160
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
161
+ s.add_development_dependency(%q<rcov>, [">= 0"])
162
+ s.add_development_dependency(%q<bio>, [">= 1.4.1"])
163
+ s.add_development_dependency(%q<mysql>, [">= 0"])
164
+ s.add_development_dependency(%q<activerecord>, ["= 3.0.0"])
165
+ else
166
+ s.add_dependency(%q<bio>, [">= 1.4.1"])
167
+ s.add_dependency(%q<mysql>, [">= 0"])
168
+ s.add_dependency(%q<activerecord>, ["= 3.0.0"])
169
+ s.add_dependency(%q<shoulda>, [">= 0"])
170
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
171
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
172
+ s.add_dependency(%q<rcov>, [">= 0"])
173
+ s.add_dependency(%q<bio>, [">= 1.4.1"])
174
+ s.add_dependency(%q<mysql>, [">= 0"])
175
+ s.add_dependency(%q<activerecord>, ["= 3.0.0"])
176
+ end
177
+ else
178
+ s.add_dependency(%q<bio>, [">= 1.4.1"])
179
+ s.add_dependency(%q<mysql>, [">= 0"])
180
+ s.add_dependency(%q<activerecord>, ["= 3.0.0"])
181
+ s.add_dependency(%q<shoulda>, [">= 0"])
182
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
183
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
184
+ s.add_dependency(%q<rcov>, [">= 0"])
185
+ s.add_dependency(%q<bio>, [">= 1.4.1"])
186
+ s.add_dependency(%q<mysql>, [">= 0"])
187
+ s.add_dependency(%q<activerecord>, ["= 3.0.0"])
188
+ end
189
+ end
190
+