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
metadata ADDED
@@ -0,0 +1,287 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bio-ensembl
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jan Aerts
9
+ - Francesco Strozzi
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2011-12-06 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: bio
17
+ requirement: &2161899320 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 1.4.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *2161899320
26
+ - !ruby/object:Gem::Dependency
27
+ name: mysql
28
+ requirement: &2161898840 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: *2161898840
37
+ - !ruby/object:Gem::Dependency
38
+ name: activerecord
39
+ requirement: &2161914720 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - =
43
+ - !ruby/object:Gem::Version
44
+ version: 3.0.0
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: *2161914720
48
+ - !ruby/object:Gem::Dependency
49
+ name: shoulda
50
+ requirement: &2161914240 !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: *2161914240
59
+ - !ruby/object:Gem::Dependency
60
+ name: bundler
61
+ requirement: &2161913760 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: 1.0.0
67
+ type: :development
68
+ prerelease: false
69
+ version_requirements: *2161913760
70
+ - !ruby/object:Gem::Dependency
71
+ name: jeweler
72
+ requirement: &2161913280 !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.5.2
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: *2161913280
81
+ - !ruby/object:Gem::Dependency
82
+ name: rcov
83
+ requirement: &2161912800 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ! '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: *2161912800
92
+ - !ruby/object:Gem::Dependency
93
+ name: bio
94
+ requirement: &2161912320 !ruby/object:Gem::Requirement
95
+ none: false
96
+ requirements:
97
+ - - ! '>='
98
+ - !ruby/object:Gem::Version
99
+ version: 1.4.1
100
+ type: :development
101
+ prerelease: false
102
+ version_requirements: *2161912320
103
+ - !ruby/object:Gem::Dependency
104
+ name: mysql
105
+ requirement: &2161911840 !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ type: :development
112
+ prerelease: false
113
+ version_requirements: *2161911840
114
+ - !ruby/object:Gem::Dependency
115
+ name: activerecord
116
+ requirement: &2161911360 !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - =
120
+ - !ruby/object:Gem::Version
121
+ version: 3.0.0
122
+ type: :development
123
+ prerelease: false
124
+ version_requirements: *2161911360
125
+ description: This API provides a complete set of methods and classes to access the
126
+ Ensembl database using Ruby programming language
127
+ email:
128
+ - jan.aerts@gmail.com
129
+ - francesco.strozzi@gmail.com
130
+ executables:
131
+ - ensembl
132
+ - variation_effect_predictor
133
+ extensions: []
134
+ extra_rdoc_files:
135
+ - LICENSE.txt
136
+ - README.rdoc
137
+ files:
138
+ - .document
139
+ - Gemfile
140
+ - Gemfile.lock
141
+ - LICENSE.txt
142
+ - README.rdoc
143
+ - Rakefile
144
+ - VERSION
145
+ - bin/ensembl
146
+ - bin/variation_effect_predictor
147
+ - bio-ensembl.gemspec
148
+ - lib/bio-ensembl.rb
149
+ - lib/bio-ensembl/core/activerecord.rb
150
+ - lib/bio-ensembl/core/collection.rb
151
+ - lib/bio-ensembl/core/project.rb
152
+ - lib/bio-ensembl/core/slice.rb
153
+ - lib/bio-ensembl/core/transcript.rb
154
+ - lib/bio-ensembl/core/transform.rb
155
+ - lib/bio-ensembl/db_connection.rb
156
+ - lib/bio-ensembl/variation/activerecord.rb
157
+ - lib/bio-ensembl/variation/variation_feature.rb
158
+ - lib/bio-ensembl/variation/variation_feature62.rb
159
+ - samples/ensembl_genomes_example.rb
160
+ - samples/examples_perl_tutorial.rb
161
+ - samples/small_example_ruby_api.rb
162
+ - samples/variation_effect_predictor_data.txt
163
+ - samples/variation_example.rb
164
+ - test/data/seq_c6qbl.fa
165
+ - test/data/seq_cso19_coding.fa
166
+ - test/data/seq_cso19_transcript.fa
167
+ - test/data/seq_drd3_gene.fa
168
+ - test/data/seq_drd3_transcript.fa
169
+ - test/data/seq_drd4_transcript.fa
170
+ - test/data/seq_forward_composite.fa
171
+ - test/data/seq_par_boundary.fa
172
+ - test/data/seq_rnd3_transcript.fa
173
+ - test/data/seq_ub2r1_coding.fa
174
+ - test/data/seq_ub2r1_gene.fa
175
+ - test/data/seq_ub2r1_transcript.fa
176
+ - test/data/seq_y.fa
177
+ - test/default/test_connection.rb
178
+ - test/default/test_releases.rb
179
+ - test/ensembl_genomes/test_collection.rb
180
+ - test/ensembl_genomes/test_gene.rb
181
+ - test/ensembl_genomes/test_slice.rb
182
+ - test/ensembl_genomes/test_variation.rb
183
+ - test/helper.rb
184
+ - test/release_50/core/test_project.rb
185
+ - test/release_50/core/test_project_human.rb
186
+ - test/release_50/core/test_relationships.rb
187
+ - test/release_50/core/test_sequence.rb
188
+ - test/release_50/core/test_slice.rb
189
+ - test/release_50/core/test_transcript.rb
190
+ - test/release_50/core/test_transform.rb
191
+ - test/release_50/variation/test_activerecord.rb
192
+ - test/release_50/variation/test_variation.rb
193
+ - test/release_53/core/test_gene.rb
194
+ - test/release_53/core/test_project.rb
195
+ - test/release_53/core/test_project_human.rb
196
+ - test/release_53/core/test_slice.rb
197
+ - test/release_53/core/test_transform.rb
198
+ - test/release_53/variation/test_activerecord.rb
199
+ - test/release_53/variation/test_variation.rb
200
+ - test/release_56/core/test_gene.rb
201
+ - test/release_56/core/test_project.rb
202
+ - test/release_56/core/test_slice.rb
203
+ - test/release_56/core/test_transform.rb
204
+ - test/release_56/variation/test_activerecord.rb
205
+ - test/release_56/variation/test_consequence.rb
206
+ - test/release_56/variation/test_variation.rb
207
+ - test/release_60/core/test_gene.rb
208
+ - test/release_60/core/test_project_human.rb
209
+ - test/release_60/core/test_slice.rb
210
+ - test/release_60/core/test_transcript.rb
211
+ - test/release_60/core/test_transform.rb
212
+ - test/release_60/variation/test_activerecord.rb
213
+ - test/release_60/variation/test_consequence.rb
214
+ - test/release_60/variation/test_variation.rb
215
+ - test/release_62/core/test_gene.rb
216
+ - test/release_62/variation/test_activerecord.rb
217
+ - test/release_62/variation/test_consequence.rb
218
+ homepage: http://github.com/fstrozzi/bioruby-ensembl
219
+ licenses:
220
+ - MIT
221
+ post_install_message:
222
+ rdoc_options: []
223
+ require_paths:
224
+ - lib
225
+ required_ruby_version: !ruby/object:Gem::Requirement
226
+ none: false
227
+ requirements:
228
+ - - ! '>='
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ segments:
232
+ - 0
233
+ hash: 3215180575419888787
234
+ required_rubygems_version: !ruby/object:Gem::Requirement
235
+ none: false
236
+ requirements:
237
+ - - ! '>='
238
+ - !ruby/object:Gem::Version
239
+ version: '0'
240
+ requirements: []
241
+ rubyforge_project:
242
+ rubygems_version: 1.8.12
243
+ signing_key:
244
+ specification_version: 3
245
+ summary: A Ruby API to the Ensembl database
246
+ test_files:
247
+ - test/default/test_connection.rb
248
+ - test/default/test_releases.rb
249
+ - test/ensembl_genomes/test_collection.rb
250
+ - test/ensembl_genomes/test_gene.rb
251
+ - test/ensembl_genomes/test_slice.rb
252
+ - test/ensembl_genomes/test_variation.rb
253
+ - test/helper.rb
254
+ - test/release_50/core/test_project.rb
255
+ - test/release_50/core/test_project_human.rb
256
+ - test/release_50/core/test_relationships.rb
257
+ - test/release_50/core/test_sequence.rb
258
+ - test/release_50/core/test_slice.rb
259
+ - test/release_50/core/test_transcript.rb
260
+ - test/release_50/core/test_transform.rb
261
+ - test/release_50/variation/test_activerecord.rb
262
+ - test/release_50/variation/test_variation.rb
263
+ - test/release_53/core/test_gene.rb
264
+ - test/release_53/core/test_project.rb
265
+ - test/release_53/core/test_project_human.rb
266
+ - test/release_53/core/test_slice.rb
267
+ - test/release_53/core/test_transform.rb
268
+ - test/release_53/variation/test_activerecord.rb
269
+ - test/release_53/variation/test_variation.rb
270
+ - test/release_56/core/test_gene.rb
271
+ - test/release_56/core/test_project.rb
272
+ - test/release_56/core/test_slice.rb
273
+ - test/release_56/core/test_transform.rb
274
+ - test/release_56/variation/test_activerecord.rb
275
+ - test/release_56/variation/test_consequence.rb
276
+ - test/release_56/variation/test_variation.rb
277
+ - test/release_60/core/test_gene.rb
278
+ - test/release_60/core/test_project_human.rb
279
+ - test/release_60/core/test_slice.rb
280
+ - test/release_60/core/test_transcript.rb
281
+ - test/release_60/core/test_transform.rb
282
+ - test/release_60/variation/test_activerecord.rb
283
+ - test/release_60/variation/test_consequence.rb
284
+ - test/release_60/variation/test_variation.rb
285
+ - test/release_62/core/test_gene.rb
286
+ - test/release_62/variation/test_activerecord.rb
287
+ - test/release_62/variation/test_consequence.rb