bio-maf 0.2.0 → 0.3.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.
- data/.gitignore +1 -0
- data/Gemfile +2 -1
- data/README.md +98 -29
- data/Rakefile +6 -2
- data/bin/maf_tile +59 -35
- data/bio-maf.gemspec +4 -3
- data/features/block-joining.feature +32 -0
- data/features/dir-access.feature +46 -0
- data/features/maf-indexing.feature +23 -0
- data/features/maf-to-fasta.feature +9 -0
- data/features/slice.feature +54 -0
- data/features/step_definitions/dir-access_steps.rb +15 -0
- data/features/step_definitions/file_steps.rb +7 -0
- data/features/step_definitions/gap_removal_steps.rb +4 -0
- data/features/step_definitions/index_steps.rb +3 -3
- data/features/step_definitions/output_steps.rb +9 -1
- data/features/step_definitions/parse_steps.rb +13 -2
- data/features/step_definitions/query_steps.rb +7 -6
- data/features/step_definitions/slice_steps.rb +15 -0
- data/features/step_definitions/{gap-filling_steps.rb → tiling_steps.rb} +0 -0
- data/features/support/aruba.rb +1 -0
- data/features/support/env.rb +3 -1
- data/features/{gap-filling.feature → tiling.feature} +85 -0
- data/lib/bio/maf/index.rb +223 -11
- data/lib/bio/maf/maf.rb +209 -0
- data/lib/bio/maf/parser.rb +190 -111
- data/lib/bio/maf/tiler.rb +33 -6
- data/man/maf_index.1 +1 -1
- data/man/maf_tile.1 +7 -7
- data/man/maf_tile.1.ronn +21 -13
- data/man/maf_to_fasta.1 +1 -1
- data/spec/bio/maf/index_spec.rb +99 -0
- data/spec/bio/maf/maf_spec.rb +184 -0
- data/spec/bio/maf/parser_spec.rb +75 -115
- data/spec/bio/maf/tiler_spec.rb +44 -0
- data/test/data/chr22_ieq2.maf +11 -0
- data/test/data/gap-1.kct +0 -0
- data/test/data/gap-1.maf +9 -0
- data/test/data/gap-filled1.fa +6 -0
- data/test/data/gap-sp1.fa.gz +0 -0
- data/test/data/mm8_chr7_tiny_slice1.maf +9 -0
- data/test/data/mm8_chr7_tiny_slice2.maf +10 -0
- data/test/data/mm8_chr7_tiny_slice3.maf +10 -0
- data/test/data/mm8_chrM_tiny.kct +0 -0
- data/test/data/mm8_chrM_tiny.maf +1000 -0
- metadata +59 -7
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bio-maf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bio-alignment
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.0.7
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.0.7
|
14
30
|
- !ruby/object:Gem::Dependency
|
15
31
|
name: bio-bigbio
|
16
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,22 +120,29 @@ files:
|
|
104
120
|
- bin/maf_write
|
105
121
|
- bin/random_ranges
|
106
122
|
- bio-maf.gemspec
|
107
|
-
- features/
|
123
|
+
- features/block-joining.feature
|
124
|
+
- features/dir-access.feature
|
108
125
|
- features/gap-removal.feature
|
109
126
|
- features/maf-indexing.feature
|
110
127
|
- features/maf-output.feature
|
111
128
|
- features/maf-parsing.feature
|
112
129
|
- features/maf-querying.feature
|
113
130
|
- features/maf-to-fasta.feature
|
131
|
+
- features/slice.feature
|
114
132
|
- features/step_definitions/convert_steps.rb
|
115
|
-
- features/step_definitions/
|
133
|
+
- features/step_definitions/dir-access_steps.rb
|
134
|
+
- features/step_definitions/file_steps.rb
|
116
135
|
- features/step_definitions/gap_removal_steps.rb
|
117
136
|
- features/step_definitions/index_steps.rb
|
118
137
|
- features/step_definitions/output_steps.rb
|
119
138
|
- features/step_definitions/parse_steps.rb
|
120
139
|
- features/step_definitions/query_steps.rb
|
140
|
+
- features/step_definitions/slice_steps.rb
|
141
|
+
- features/step_definitions/tiling_steps.rb
|
121
142
|
- features/step_definitions/ucsc_bin_steps.rb
|
143
|
+
- features/support/aruba.rb
|
122
144
|
- features/support/env.rb
|
145
|
+
- features/tiling.feature
|
123
146
|
- features/ucsc-bins.feature
|
124
147
|
- lib/bio-maf.rb
|
125
148
|
- lib/bio-maf/maf.rb
|
@@ -142,18 +165,29 @@ files:
|
|
142
165
|
- man/maf_to_fasta.1
|
143
166
|
- man/maf_to_fasta.1.ronn
|
144
167
|
- spec/bio/maf/index_spec.rb
|
168
|
+
- spec/bio/maf/maf_spec.rb
|
145
169
|
- spec/bio/maf/parser_spec.rb
|
146
170
|
- spec/bio/maf/struct_spec.rb
|
147
171
|
- spec/bio/maf/tiler_spec.rb
|
148
172
|
- spec/spec_helper.rb
|
149
173
|
- test/data/big-block.maf
|
150
174
|
- test/data/chr22_ieq.maf
|
175
|
+
- test/data/chr22_ieq2.maf
|
151
176
|
- test/data/chrY-1block.maf
|
152
177
|
- test/data/empty
|
153
178
|
- test/data/empty.db
|
179
|
+
- test/data/gap-1.kct
|
180
|
+
- test/data/gap-1.maf
|
181
|
+
- test/data/gap-filled1.fa
|
154
182
|
- test/data/gap-sp1.fa
|
183
|
+
- test/data/gap-sp1.fa.gz
|
155
184
|
- test/data/mm8_chr7_tiny.kct
|
156
185
|
- test/data/mm8_chr7_tiny.maf
|
186
|
+
- test/data/mm8_chr7_tiny_slice1.maf
|
187
|
+
- test/data/mm8_chr7_tiny_slice2.maf
|
188
|
+
- test/data/mm8_chr7_tiny_slice3.maf
|
189
|
+
- test/data/mm8_chrM_tiny.kct
|
190
|
+
- test/data/mm8_chrM_tiny.maf
|
157
191
|
- test/data/mm8_mod_a.maf
|
158
192
|
- test/data/mm8_single.maf
|
159
193
|
- test/data/mm8_subset_a.maf
|
@@ -181,7 +215,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
215
|
version: '0'
|
182
216
|
segments:
|
183
217
|
- 0
|
184
|
-
hash:
|
218
|
+
hash: -2504976576663848022
|
185
219
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
220
|
none: false
|
187
221
|
requirements:
|
@@ -195,36 +229,54 @@ signing_key:
|
|
195
229
|
specification_version: 3
|
196
230
|
summary: MAF parser for BioRuby
|
197
231
|
test_files:
|
198
|
-
- features/
|
232
|
+
- features/block-joining.feature
|
233
|
+
- features/dir-access.feature
|
199
234
|
- features/gap-removal.feature
|
200
235
|
- features/maf-indexing.feature
|
201
236
|
- features/maf-output.feature
|
202
237
|
- features/maf-parsing.feature
|
203
238
|
- features/maf-querying.feature
|
204
239
|
- features/maf-to-fasta.feature
|
240
|
+
- features/slice.feature
|
205
241
|
- features/step_definitions/convert_steps.rb
|
206
|
-
- features/step_definitions/
|
242
|
+
- features/step_definitions/dir-access_steps.rb
|
243
|
+
- features/step_definitions/file_steps.rb
|
207
244
|
- features/step_definitions/gap_removal_steps.rb
|
208
245
|
- features/step_definitions/index_steps.rb
|
209
246
|
- features/step_definitions/output_steps.rb
|
210
247
|
- features/step_definitions/parse_steps.rb
|
211
248
|
- features/step_definitions/query_steps.rb
|
249
|
+
- features/step_definitions/slice_steps.rb
|
250
|
+
- features/step_definitions/tiling_steps.rb
|
212
251
|
- features/step_definitions/ucsc_bin_steps.rb
|
252
|
+
- features/support/aruba.rb
|
213
253
|
- features/support/env.rb
|
254
|
+
- features/tiling.feature
|
214
255
|
- features/ucsc-bins.feature
|
215
256
|
- spec/bio/maf/index_spec.rb
|
257
|
+
- spec/bio/maf/maf_spec.rb
|
216
258
|
- spec/bio/maf/parser_spec.rb
|
217
259
|
- spec/bio/maf/struct_spec.rb
|
218
260
|
- spec/bio/maf/tiler_spec.rb
|
219
261
|
- spec/spec_helper.rb
|
220
262
|
- test/data/big-block.maf
|
221
263
|
- test/data/chr22_ieq.maf
|
264
|
+
- test/data/chr22_ieq2.maf
|
222
265
|
- test/data/chrY-1block.maf
|
223
266
|
- test/data/empty
|
224
267
|
- test/data/empty.db
|
268
|
+
- test/data/gap-1.kct
|
269
|
+
- test/data/gap-1.maf
|
270
|
+
- test/data/gap-filled1.fa
|
225
271
|
- test/data/gap-sp1.fa
|
272
|
+
- test/data/gap-sp1.fa.gz
|
226
273
|
- test/data/mm8_chr7_tiny.kct
|
227
274
|
- test/data/mm8_chr7_tiny.maf
|
275
|
+
- test/data/mm8_chr7_tiny_slice1.maf
|
276
|
+
- test/data/mm8_chr7_tiny_slice2.maf
|
277
|
+
- test/data/mm8_chr7_tiny_slice3.maf
|
278
|
+
- test/data/mm8_chrM_tiny.kct
|
279
|
+
- test/data/mm8_chrM_tiny.maf
|
228
280
|
- test/data/mm8_mod_a.maf
|
229
281
|
- test/data/mm8_single.maf
|
230
282
|
- test/data/mm8_subset_a.maf
|