genevalidator 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -1
  3. data/.travis.yml +2 -0
  4. data/README.md +78 -30
  5. data/Rakefile +11 -8
  6. data/aux/app_template_footer.erb +1 -6
  7. data/aux/app_template_header.erb +12 -32
  8. data/aux/files/css/style.css +2 -8
  9. data/aux/files/js/plots.js +564 -576
  10. data/aux/files/js/script.js +10 -0
  11. data/aux/json_footer.erb +8 -0
  12. data/aux/json_header.erb +19 -0
  13. data/aux/json_query.erb +14 -0
  14. data/aux/template_footer.erb +9 -58
  15. data/aux/template_header.erb +18 -58
  16. data/aux/template_query.erb +8 -36
  17. data/bin/genevalidator +45 -32
  18. data/genevalidator.gemspec +11 -7
  19. data/lib/genevalidator.rb +75 -455
  20. data/lib/genevalidator/arg_validation.rb +78 -107
  21. data/lib/genevalidator/blast.rb +57 -60
  22. data/lib/genevalidator/clusterization.rb +15 -15
  23. data/lib/genevalidator/exceptions.rb +32 -5
  24. data/lib/genevalidator/get_raw_sequences.rb +70 -33
  25. data/lib/genevalidator/hsp.rb +1 -4
  26. data/lib/genevalidator/json_to_gv_results.rb +109 -0
  27. data/lib/genevalidator/output.rb +177 -185
  28. data/lib/genevalidator/pool.rb +2 -1
  29. data/lib/genevalidator/sequences.rb +3 -3
  30. data/lib/genevalidator/tabular_parser.rb +24 -18
  31. data/lib/genevalidator/validation.rb +279 -0
  32. data/lib/genevalidator/validation_alignment.rb +31 -47
  33. data/lib/genevalidator/validation_blast_reading_frame.rb +19 -18
  34. data/lib/genevalidator/validation_duplication.rb +23 -19
  35. data/lib/genevalidator/validation_gene_merge.rb +30 -65
  36. data/lib/genevalidator/validation_length_cluster.rb +14 -53
  37. data/lib/genevalidator/validation_length_rank.rb +10 -11
  38. data/lib/genevalidator/validation_open_reading_frame.rb +18 -19
  39. data/lib/genevalidator/validation_report.rb +2 -5
  40. data/lib/genevalidator/validation_test.rb +8 -4
  41. data/lib/genevalidator/version.rb +1 -1
  42. data/test/test_all_validations.rb +51 -66
  43. data/test/test_blast.rb +68 -51
  44. data/test/test_clusterization.rb +1 -1
  45. data/test/test_clusterization_2d.rb +19 -13
  46. data/test/test_extended_array_methods.rb +1 -1
  47. data/test/test_files/all_validations_mrna/mrna.blast_tab6 +1806 -0
  48. data/test/test_files/all_validations_mrna/mrna.blast_tab7 +1865 -0
  49. data/test/test_files/all_validations_mrna/{all_validations_mrna.fasta.blast_xml → mrna.blast_xml} +18642 -1
  50. data/test/test_files/all_validations_mrna/{all_validations_mrna.fasta.blast_xml.index → mrna.blast_xml.index} +300 -0
  51. data/test/test_files/all_validations_mrna/{all_validations_mrna.fasta → mrna.fa} +0 -0
  52. data/test/test_files/all_validations_mrna/mrna.raw_seq +3970 -0
  53. data/test/test_files/all_validations_mrna/{all_validations_mrna.fasta.blast_xml.raw_seq.idx → mrna.raw_seq.idx} +901 -1
  54. data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_tab → prot.blast_tab6} +416 -0
  55. data/test/test_files/all_validations_prot/prot.blast_tab7 +2400 -0
  56. data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_xml → prot.blast_xml} +18299 -6723
  57. data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_xml.index → prot.blast_xml.index} +408 -0
  58. data/test/test_files/all_validations_prot/{all_validations_prot.fasta → prot.fa} +0 -0
  59. data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_xml.raw_seq → prot.raw_seq} +2735 -0
  60. data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_xml.raw_seq.idx → prot.raw_seq.idx} +3032 -1808
  61. data/test/test_sequences.rb +46 -41
  62. data/test/test_validation_open_reading_frame.rb +318 -202
  63. data/test/test_validations.rb +48 -32
  64. metadata +76 -102
  65. data/doc/AliasDuplicationError.html +0 -134
  66. data/doc/AlignmentValidation.html +0 -1687
  67. data/doc/AlignmentValidationOutput.html +0 -659
  68. data/doc/Blast.html +0 -1905
  69. data/doc/BlastRFValidationOutput.html +0 -545
  70. data/doc/BlastReadingFrameValidation.html +0 -370
  71. data/doc/BlastUtils.html +0 -875
  72. data/doc/ClasspathError.html +0 -134
  73. data/doc/Cluster.html +0 -1316
  74. data/doc/DuplciationValidationOutput.html +0 -564
  75. data/doc/DuplicationValidation.html +0 -920
  76. data/doc/DuplicationValidationOutput.html +0 -564
  77. data/doc/FileNotFoundException.html +0 -134
  78. data/doc/GeneMergeValidation.html +0 -935
  79. data/doc/GeneMergeValidationOutput.html +0 -652
  80. data/doc/HierarchicalClusterization.html +0 -994
  81. data/doc/Hsp.html +0 -1485
  82. data/doc/InconsistentTabularFormat.html +0 -135
  83. data/doc/LengthClusterValidation.html +0 -982
  84. data/doc/LengthClusterValidationOutput.html +0 -515
  85. data/doc/LengthRankValidation.html +0 -496
  86. data/doc/LengthRankValidationOutput.html +0 -517
  87. data/doc/NoInternetError.html +0 -135
  88. data/doc/NoMafftInstallationError.html +0 -134
  89. data/doc/NoPIdentError.html +0 -134
  90. data/doc/NoValidationError.html +0 -134
  91. data/doc/NotEnoughHitsError.html +0 -135
  92. data/doc/ORFValidationOutput.html +0 -593
  93. data/doc/OpenReadingFrameValidation.html +0 -1107
  94. data/doc/OtherError.html +0 -123
  95. data/doc/Output.html +0 -1540
  96. data/doc/Pair.html +0 -309
  97. data/doc/PairCluster.html +0 -767
  98. data/doc/Plot.html +0 -837
  99. data/doc/QueryError.html +0 -134
  100. data/doc/ReportClassError.html +0 -135
  101. data/doc/Sequence.html +0 -1299
  102. data/doc/SequenceTypeError.html +0 -135
  103. data/doc/TabularEntry.html +0 -837
  104. data/doc/TabularParser.html +0 -1104
  105. data/doc/Validation.html +0 -2147
  106. data/doc/ValidationClassError.html +0 -134
  107. data/doc/ValidationOutput.html +0 -460
  108. data/doc/ValidationReport.html +0 -940
  109. data/doc/ValidationTest.html +0 -939
  110. data/doc/_index.html +0 -449
  111. data/doc/class_list.html +0 -54
  112. data/doc/css/common.css +0 -1
  113. data/doc/css/full_list.css +0 -57
  114. data/doc/css/style.css +0 -338
  115. data/doc/file.README.html +0 -151
  116. data/doc/file_list.html +0 -56
  117. data/doc/frames.html +0 -26
  118. data/doc/index.html +0 -151
  119. data/doc/js/app.js +0 -214
  120. data/doc/js/full_list.js +0 -178
  121. data/doc/js/jquery.js +0 -4
  122. data/doc/method_list.html +0 -1505
  123. data/doc/top-level-namespace.html +0 -112
  124. data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab +0 -967
  125. data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.index +0 -967
  126. data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.raw_seq +0 -4929
  127. data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.raw_seq.idx +0 -1006
  128. data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml.raw_seq +0 -2075
  129. data/test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.index +0 -1864
  130. data/test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.raw_seq +0 -42411
  131. data/test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.raw_seq.idx +0 -3751
@@ -11,13 +11,30 @@ require 'genevalidator/validation_gene_merge'
11
11
  require 'genevalidator/validation_duplication'
12
12
  require 'genevalidator/validation_open_reading_frame'
13
13
  require 'genevalidator/validation_alignment'
14
+ require 'genevalidator/validation'
14
15
 
15
16
  module GeneValidator
17
+ class Validate
18
+ # Extend Validate Class with an alternative validate method that
19
+ # doesn't produce the output and returns the output instance
20
+ def validate_without_output(prediction, hits, current_idx)
21
+ hits = remove_identical_hits(prediction, hits)
22
+ vals = create_validation_tests(prediction, hits)
23
+ check_validations(vals)
24
+ vals.each(&:run)
25
+ @run_output = Output.new(current_idx, hits.length, prediction.definition)
26
+ @run_output.validations = vals.map(&:validation_report)
27
+ check_validations_output(vals)
28
+ @run_output
29
+ end
30
+ end
31
+
32
+ # Test the output produced by the validations
16
33
  class ValidateOutput < Minitest::Test
17
34
  filename_fasta = 'test/test_files/test_sequences.fasta'
18
35
  filename_xml = "#{filename_fasta}.blast_xml"
19
36
  filename_xml_raw = "#{filename_fasta}.blast_xml.raw_seq"
20
- FileUtils.rm_rf("#{filename_fasta}.html") rescue Error
37
+ FileUtils.rm_rf("#{filename_fasta}.html") rescue Errno::ENOENT
21
38
  opt = {
22
39
  input_fasta_file: filename_fasta,
23
40
  validations: ['all'],
@@ -26,11 +43,10 @@ module GeneValidator
26
43
  num_threads: 1,
27
44
  test: true
28
45
  }
29
-
30
- val = GeneValidator::Validation.new(opt)
46
+ GeneValidator.init(opt)
47
+ val = GeneValidator::Validate.new
31
48
  xml = File.open(filename_xml, 'rb').read
32
49
  iterator = Bio::BlastXMLParser::NokogiriBlastXml.new(xml).to_enum
33
- val.create_an_index_file_of_raw_seq_file(opt[:raw_sequences])
34
50
 
35
51
  describe 'Detailed Validation of normal Insulin Query' do
36
52
  hits = BlastUtils.parse_next(iterator, :nucleotide)
@@ -48,7 +64,7 @@ module GeneValidator
48
64
  'AAACTACTGCAACTAG'
49
65
 
50
66
  prediction.length_protein = 108
51
- vals = val.do_validations(prediction, hits, 1).validations
67
+ vals = val.validate_without_output(prediction, hits, 1).validations
52
68
 
53
69
  lcv = vals.select { |v| v.class == LengthClusterValidationOutput }[0]
54
70
  lrv = vals.select { |v| v.class == LengthRankValidationOutput }[0]
@@ -96,7 +112,7 @@ module GeneValidator
96
112
  end
97
113
 
98
114
  it 'should validate blast reading frame' do
99
- assert_equal({ 1 => 500 }, rfv.frames_histo)
115
+ assert_equal({ 1 => 500 }, rfv.frames)
100
116
  assert_equal(500, rfv.total_hsp)
101
117
  assert_equal(:yes, rfv.result)
102
118
  end
@@ -147,7 +163,7 @@ module GeneValidator
147
163
  'GAGCGGGG'
148
164
  prediction.length_protein = 46
149
165
 
150
- vals = val.do_validations(prediction, hits, 1).validations
166
+ vals = val.validate_without_output(prediction, hits, 1).validations
151
167
 
152
168
  lcv = vals.select { |v| v.class == LengthClusterValidationOutput }[0]
153
169
  lrv = vals.select { |v| v.class == LengthRankValidationOutput }[0]
@@ -190,15 +206,15 @@ module GeneValidator
190
206
  'CAACTGGAAAACTACTGCAACTAG'
191
207
  prediction.length_protein = 46
192
208
 
193
- validations = val.do_validations(prediction, hits, 1).validations
209
+ vals = val.validate_without_output(prediction, hits, 1).validations
194
210
 
195
- lcv = validations.select { |v| v.class == LengthClusterValidationOutput }[0]
196
- lrv = validations.select { |v| v.class == LengthRankValidationOutput }[0]
197
- rfv = validations.select { |v| v.class == BlastRFValidationOutput }[0]
198
- gmv = validations.select { |v| v.class == GeneMergeValidationOutput }[0]
199
- dv = validations.select { |v| v.class == DuplicationValidationOutput }[0]
200
- av = validations.select { |v| v.class == AlignmentValidationOutput }[0]
201
- ov = validations.select { |v| v.class == ORFValidationOutput }[0]
211
+ lcv = vals.select { |v| v.class == LengthClusterValidationOutput }[0]
212
+ lrv = vals.select { |v| v.class == LengthRankValidationOutput }[0]
213
+ rfv = vals.select { |v| v.class == BlastRFValidationOutput }[0]
214
+ gmv = vals.select { |v| v.class == GeneMergeValidationOutput }[0]
215
+ dv = vals.select { |v| v.class == DuplicationValidationOutput }[0]
216
+ av = vals.select { |v| v.class == AlignmentValidationOutput }[0]
217
+ ov = vals.select { |v| v.class == ORFValidationOutput }[0]
202
218
 
203
219
  it 'should validate as expected' do
204
220
  assert_equal(:no, lcv.result)
@@ -232,15 +248,15 @@ module GeneValidator
232
248
  'AAGGCCGCTGCTTCGGGCCCAGCATCTGCTGCGCGGACGAGC'
233
249
  prediction.length_protein = 175
234
250
 
235
- validations = val.do_validations(prediction, hits, 1).validations
251
+ vals = val.validate_without_output(prediction, hits, 1).validations
236
252
 
237
- lcv = validations.select { |v| v.class == LengthClusterValidationOutput }[0]
238
- lrv = validations.select { |v| v.class == LengthRankValidationOutput }[0]
239
- rfv = validations.select { |v| v.class == BlastRFValidationOutput }[0]
240
- gmv = validations.select { |v| v.class == GeneMergeValidationOutput }[0]
241
- dv = validations.select { |v| v.class == DuplicationValidationOutput }[0]
242
- av = validations.select { |v| v.class == AlignmentValidationOutput }[0]
243
- ov = validations.select { |v| v.class == ORFValidationOutput }[0]
253
+ lcv = vals.select { |v| v.class == LengthClusterValidationOutput }[0]
254
+ lrv = vals.select { |v| v.class == LengthRankValidationOutput }[0]
255
+ rfv = vals.select { |v| v.class == BlastRFValidationOutput }[0]
256
+ gmv = vals.select { |v| v.class == GeneMergeValidationOutput }[0]
257
+ dv = vals.select { |v| v.class == DuplicationValidationOutput }[0]
258
+ av = vals.select { |v| v.class == AlignmentValidationOutput }[0]
259
+ ov = vals.select { |v| v.class == ORFValidationOutput }[0]
244
260
 
245
261
  it 'should validate length cluster validation' do
246
262
  assert_equal(:no, lcv.result)
@@ -320,15 +336,15 @@ module GeneValidator
320
336
  'AGATATTGTTAC'
321
337
  prediction.length_protein = 840
322
338
 
323
- validations = val.do_validations(prediction, hits, 1).validations
339
+ vals = val.validate_without_output(prediction, hits, 1).validations
324
340
 
325
- lcv = validations.select { |v| v.class == LengthClusterValidationOutput }[0]
326
- lrv = validations.select { |v| v.class == LengthRankValidationOutput }[0]
327
- rfv = validations.select { |v| v.class == BlastRFValidationOutput }[0]
328
- gmv = validations.select { |v| v.class == GeneMergeValidationOutput }[0]
329
- dv = validations.select { |v| v.class == DuplicationValidationOutput }[0]
330
- av = validations.select { |v| v.class == AlignmentValidationOutput }[0]
331
- ov = validations.select { |v| v.class == ORFValidationOutput }[0]
341
+ lcv = vals.select { |v| v.class == LengthClusterValidationOutput }[0]
342
+ lrv = vals.select { |v| v.class == LengthRankValidationOutput }[0]
343
+ rfv = vals.select { |v| v.class == BlastRFValidationOutput }[0]
344
+ gmv = vals.select { |v| v.class == GeneMergeValidationOutput }[0]
345
+ dv = vals.select { |v| v.class == DuplicationValidationOutput }[0]
346
+ av = vals.select { |v| v.class == AlignmentValidationOutput }[0]
347
+ ov = vals.select { |v| v.class == ORFValidationOutput }[0]
332
348
 
333
349
  it 'should validate length cluster validation' do
334
350
  assert_equal(:no, lcv.result)
@@ -340,6 +356,6 @@ module GeneValidator
340
356
  assert_equal(:no, av.result)
341
357
  end
342
358
  end
343
- FileUtils.rm_rf("#{filename_fasta}.html") rescue Error
359
+ FileUtils.rm_rf("#{filename_fasta}.html") rescue Errno::ENOENT
344
360
  end
345
361
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genevalidator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Monica Dragan
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-05-31 00:00:00.000000000 Z
14
+ date: 2015-07-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -41,6 +41,40 @@ dependencies:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
43
  version: '10.3'
44
+ - !ruby/object:Gem::Dependency
45
+ name: yard
46
+ requirement: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - "~>"
49
+ - !ruby/object:Gem::Version
50
+ version: '0.8'
51
+ type: :development
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '0.8'
58
+ - !ruby/object:Gem::Dependency
59
+ name: codeclimate-test-reporter
60
+ requirement: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - "~>"
63
+ - !ruby/object:Gem::Version
64
+ version: '0.4'
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 0.4.7
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '0.4'
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: 0.4.7
44
78
  - !ruby/object:Gem::Dependency
45
79
  name: bio
46
80
  requirement: !ruby/object:Gem::Requirement
@@ -87,18 +121,19 @@ dependencies:
87
121
  name: statsample
88
122
  requirement: !ruby/object:Gem::Requirement
89
123
  requirements:
90
- - - "~>"
124
+ - - '='
91
125
  - !ruby/object:Gem::Version
92
126
  version: '1.4'
93
127
  type: :runtime
94
128
  prerelease: false
95
129
  version_requirements: !ruby/object:Gem::Requirement
96
130
  requirements:
97
- - - "~>"
131
+ - - '='
98
132
  - !ruby/object:Gem::Version
99
133
  version: '1.4'
100
- description: |
101
- The tool validates the input predicted genes and provides useful information (length validation, gene merge validation, sequence duplication checking, ORF finding) based on the similarities to genes in public databases.
134
+ description: The tool validates the input predicted genes and provides useful information
135
+ (length validation, gene merge validation, sequence duplication checking, ORF finding)
136
+ based on the similarities to genes in public databases.
102
137
  email: y.wurm@qmul.ac.uk
103
138
  executables:
104
139
  - genevalidator
@@ -129,6 +164,9 @@ files:
129
164
  - aux/files/js/plots.js
130
165
  - aux/files/js/script.js
131
166
  - aux/files/json/.gitkeep
167
+ - aux/json_footer.erb
168
+ - aux/json_header.erb
169
+ - aux/json_query.erb
132
170
  - aux/template_footer.erb
133
171
  - aux/template_header.erb
134
172
  - aux/template_query.erb
@@ -140,65 +178,6 @@ files:
140
178
  - data/protein_data.fasta
141
179
  - data/protein_data.fasta.blast_tabular
142
180
  - data/protein_data.fasta.blast_xml
143
- - doc/AliasDuplicationError.html
144
- - doc/AlignmentValidation.html
145
- - doc/AlignmentValidationOutput.html
146
- - doc/Blast.html
147
- - doc/BlastRFValidationOutput.html
148
- - doc/BlastReadingFrameValidation.html
149
- - doc/BlastUtils.html
150
- - doc/ClasspathError.html
151
- - doc/Cluster.html
152
- - doc/DuplciationValidationOutput.html
153
- - doc/DuplicationValidation.html
154
- - doc/DuplicationValidationOutput.html
155
- - doc/FileNotFoundException.html
156
- - doc/GeneMergeValidation.html
157
- - doc/GeneMergeValidationOutput.html
158
- - doc/HierarchicalClusterization.html
159
- - doc/Hsp.html
160
- - doc/InconsistentTabularFormat.html
161
- - doc/LengthClusterValidation.html
162
- - doc/LengthClusterValidationOutput.html
163
- - doc/LengthRankValidation.html
164
- - doc/LengthRankValidationOutput.html
165
- - doc/NoInternetError.html
166
- - doc/NoMafftInstallationError.html
167
- - doc/NoPIdentError.html
168
- - doc/NoValidationError.html
169
- - doc/NotEnoughHitsError.html
170
- - doc/ORFValidationOutput.html
171
- - doc/OpenReadingFrameValidation.html
172
- - doc/OtherError.html
173
- - doc/Output.html
174
- - doc/Pair.html
175
- - doc/PairCluster.html
176
- - doc/Plot.html
177
- - doc/QueryError.html
178
- - doc/ReportClassError.html
179
- - doc/Sequence.html
180
- - doc/SequenceTypeError.html
181
- - doc/TabularEntry.html
182
- - doc/TabularParser.html
183
- - doc/Validation.html
184
- - doc/ValidationClassError.html
185
- - doc/ValidationOutput.html
186
- - doc/ValidationReport.html
187
- - doc/ValidationTest.html
188
- - doc/_index.html
189
- - doc/class_list.html
190
- - doc/css/common.css
191
- - doc/css/full_list.css
192
- - doc/css/style.css
193
- - doc/file.README.html
194
- - doc/file_list.html
195
- - doc/frames.html
196
- - doc/index.html
197
- - doc/js/app.js
198
- - doc/js/full_list.js
199
- - doc/js/jquery.js
200
- - doc/method_list.html
201
- - doc/top-level-namespace.html
202
181
  - genevalidator.gemspec
203
182
  - lib/genevalidator.rb
204
183
  - lib/genevalidator/arg_validation.rb
@@ -208,10 +187,12 @@ files:
208
187
  - lib/genevalidator/ext/array.rb
209
188
  - lib/genevalidator/get_raw_sequences.rb
210
189
  - lib/genevalidator/hsp.rb
190
+ - lib/genevalidator/json_to_gv_results.rb
211
191
  - lib/genevalidator/output.rb
212
192
  - lib/genevalidator/pool.rb
213
193
  - lib/genevalidator/sequences.rb
214
194
  - lib/genevalidator/tabular_parser.rb
195
+ - lib/genevalidator/validation.rb
215
196
  - lib/genevalidator/validation_alignment.rb
216
197
  - lib/genevalidator/validation_blast_reading_frame.rb
217
198
  - lib/genevalidator/validation_duplication.rb
@@ -228,24 +209,20 @@ files:
228
209
  - test/test_clusterization.rb
229
210
  - test/test_clusterization_2d.rb
230
211
  - test/test_extended_array_methods.rb
231
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta
232
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab
233
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.index
234
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.raw_seq
235
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.raw_seq.idx
236
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml
237
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml.index
238
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml.raw_seq
239
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml.raw_seq.idx
240
- - test/test_files/all_validations_prot/all_validations_prot.fasta
241
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab
242
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.index
243
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.raw_seq
244
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.raw_seq.idx
245
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_xml
246
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_xml.index
247
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_xml.raw_seq
248
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_xml.raw_seq.idx
212
+ - test/test_files/all_validations_mrna/mrna.blast_tab6
213
+ - test/test_files/all_validations_mrna/mrna.blast_tab7
214
+ - test/test_files/all_validations_mrna/mrna.blast_xml
215
+ - test/test_files/all_validations_mrna/mrna.blast_xml.index
216
+ - test/test_files/all_validations_mrna/mrna.fa
217
+ - test/test_files/all_validations_mrna/mrna.raw_seq
218
+ - test/test_files/all_validations_mrna/mrna.raw_seq.idx
219
+ - test/test_files/all_validations_prot/prot.blast_tab6
220
+ - test/test_files/all_validations_prot/prot.blast_tab7
221
+ - test/test_files/all_validations_prot/prot.blast_xml
222
+ - test/test_files/all_validations_prot/prot.blast_xml.index
223
+ - test/test_files/all_validations_prot/prot.fa
224
+ - test/test_files/all_validations_prot/prot.raw_seq
225
+ - test/test_files/all_validations_prot/prot.raw_seq.idx
249
226
  - test/test_files/mixed_type.fasta
250
227
  - test/test_files/ncbi_mrna.tab.20
251
228
  - test/test_files/ncbi_mrna.xml.20
@@ -294,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
271
  version: '0'
295
272
  requirements: []
296
273
  rubyforge_project:
297
- rubygems_version: 2.4.6
274
+ rubygems_version: 2.4.8
298
275
  signing_key:
299
276
  specification_version: 4
300
277
  summary: Identifying problems with gene predictions.
@@ -305,24 +282,20 @@ test_files:
305
282
  - test/test_clusterization.rb
306
283
  - test/test_clusterization_2d.rb
307
284
  - test/test_extended_array_methods.rb
308
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta
309
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab
310
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.index
311
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.raw_seq
312
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.raw_seq.idx
313
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml
314
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml.index
315
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml.raw_seq
316
- - test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml.raw_seq.idx
317
- - test/test_files/all_validations_prot/all_validations_prot.fasta
318
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab
319
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.index
320
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.raw_seq
321
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.raw_seq.idx
322
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_xml
323
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_xml.index
324
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_xml.raw_seq
325
- - test/test_files/all_validations_prot/all_validations_prot.fasta.blast_xml.raw_seq.idx
285
+ - test/test_files/all_validations_mrna/mrna.blast_tab6
286
+ - test/test_files/all_validations_mrna/mrna.blast_tab7
287
+ - test/test_files/all_validations_mrna/mrna.blast_xml
288
+ - test/test_files/all_validations_mrna/mrna.blast_xml.index
289
+ - test/test_files/all_validations_mrna/mrna.fa
290
+ - test/test_files/all_validations_mrna/mrna.raw_seq
291
+ - test/test_files/all_validations_mrna/mrna.raw_seq.idx
292
+ - test/test_files/all_validations_prot/prot.blast_tab6
293
+ - test/test_files/all_validations_prot/prot.blast_tab7
294
+ - test/test_files/all_validations_prot/prot.blast_xml
295
+ - test/test_files/all_validations_prot/prot.blast_xml.index
296
+ - test/test_files/all_validations_prot/prot.fa
297
+ - test/test_files/all_validations_prot/prot.raw_seq
298
+ - test/test_files/all_validations_prot/prot.raw_seq.idx
326
299
  - test/test_files/mixed_type.fasta
327
300
  - test/test_files/ncbi_mrna.tab.20
328
301
  - test/test_files/ncbi_mrna.xml.20
@@ -340,3 +313,4 @@ test_files:
340
313
  - test/test_sequences.rb
341
314
  - test/test_validation_open_reading_frame.rb
342
315
  - test/test_validations.rb
316
+ has_rdoc:
@@ -1,134 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Exception: AliasDuplicationError
8
-
9
- &mdash; Documentation by YARD 0.8.7.2
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '';
20
- framesUrl = "frames.html#!" + escape(window.location.href);
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="_index.html">Index (A)</a> &raquo;
35
-
36
-
37
- <span class="title">AliasDuplicationError</span>
38
-
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
- </div>
42
-
43
- <div id="search">
44
-
45
- <a class="full_list_link" id="class_list_link"
46
- href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="file_list.html">
57
- File List
58
- </a>
59
-
60
- </div>
61
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Exception: AliasDuplicationError
67
-
68
-
69
-
70
- </h1>
71
-
72
- <dl class="box">
73
-
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
76
- <span class="inheritName">Exception</span>
77
-
78
- <ul class="fullTree">
79
- <li>Object</li>
80
-
81
- <li class="next">Exception</li>
82
-
83
- <li class="next">AliasDuplicationError</li>
84
-
85
- </ul>
86
- <a href="#" class="inheritanceTree">show all</a>
87
-
88
- </dd>
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
- <dt class="r2 last">Defined in:</dt>
99
- <dd class="r2 last">lib/genevalidator/exceptions.rb</dd>
100
-
101
- </dl>
102
- <div class="clear"></div>
103
-
104
- <h2>Overview</h2><div class="docstring">
105
- <div class="discussion">
106
-
107
- <p>Exception raised when the are alias duplications</p>
108
-
109
-
110
- </div>
111
- </div>
112
- <div class="tags">
113
-
114
-
115
- </div>
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
- </div>
126
-
127
- <div id="footer">
128
- Generated on Sat Sep 28 07:01:32 2013 by
129
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.8.7.2 (ruby-1.9.3).
131
- </div>
132
-
133
- </body>
134
- </html>