genevalidator 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/.travis.yml +2 -0
- data/README.md +78 -30
- data/Rakefile +11 -8
- data/aux/app_template_footer.erb +1 -6
- data/aux/app_template_header.erb +12 -32
- data/aux/files/css/style.css +2 -8
- data/aux/files/js/plots.js +564 -576
- data/aux/files/js/script.js +10 -0
- data/aux/json_footer.erb +8 -0
- data/aux/json_header.erb +19 -0
- data/aux/json_query.erb +14 -0
- data/aux/template_footer.erb +9 -58
- data/aux/template_header.erb +18 -58
- data/aux/template_query.erb +8 -36
- data/bin/genevalidator +45 -32
- data/genevalidator.gemspec +11 -7
- data/lib/genevalidator.rb +75 -455
- data/lib/genevalidator/arg_validation.rb +78 -107
- data/lib/genevalidator/blast.rb +57 -60
- data/lib/genevalidator/clusterization.rb +15 -15
- data/lib/genevalidator/exceptions.rb +32 -5
- data/lib/genevalidator/get_raw_sequences.rb +70 -33
- data/lib/genevalidator/hsp.rb +1 -4
- data/lib/genevalidator/json_to_gv_results.rb +109 -0
- data/lib/genevalidator/output.rb +177 -185
- data/lib/genevalidator/pool.rb +2 -1
- data/lib/genevalidator/sequences.rb +3 -3
- data/lib/genevalidator/tabular_parser.rb +24 -18
- data/lib/genevalidator/validation.rb +279 -0
- data/lib/genevalidator/validation_alignment.rb +31 -47
- data/lib/genevalidator/validation_blast_reading_frame.rb +19 -18
- data/lib/genevalidator/validation_duplication.rb +23 -19
- data/lib/genevalidator/validation_gene_merge.rb +30 -65
- data/lib/genevalidator/validation_length_cluster.rb +14 -53
- data/lib/genevalidator/validation_length_rank.rb +10 -11
- data/lib/genevalidator/validation_open_reading_frame.rb +18 -19
- data/lib/genevalidator/validation_report.rb +2 -5
- data/lib/genevalidator/validation_test.rb +8 -4
- data/lib/genevalidator/version.rb +1 -1
- data/test/test_all_validations.rb +51 -66
- data/test/test_blast.rb +68 -51
- data/test/test_clusterization.rb +1 -1
- data/test/test_clusterization_2d.rb +19 -13
- data/test/test_extended_array_methods.rb +1 -1
- data/test/test_files/all_validations_mrna/mrna.blast_tab6 +1806 -0
- data/test/test_files/all_validations_mrna/mrna.blast_tab7 +1865 -0
- data/test/test_files/all_validations_mrna/{all_validations_mrna.fasta.blast_xml → mrna.blast_xml} +18642 -1
- data/test/test_files/all_validations_mrna/{all_validations_mrna.fasta.blast_xml.index → mrna.blast_xml.index} +300 -0
- data/test/test_files/all_validations_mrna/{all_validations_mrna.fasta → mrna.fa} +0 -0
- data/test/test_files/all_validations_mrna/mrna.raw_seq +3970 -0
- data/test/test_files/all_validations_mrna/{all_validations_mrna.fasta.blast_xml.raw_seq.idx → mrna.raw_seq.idx} +901 -1
- data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_tab → prot.blast_tab6} +416 -0
- data/test/test_files/all_validations_prot/prot.blast_tab7 +2400 -0
- data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_xml → prot.blast_xml} +18299 -6723
- data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_xml.index → prot.blast_xml.index} +408 -0
- data/test/test_files/all_validations_prot/{all_validations_prot.fasta → prot.fa} +0 -0
- data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_xml.raw_seq → prot.raw_seq} +2735 -0
- data/test/test_files/all_validations_prot/{all_validations_prot.fasta.blast_xml.raw_seq.idx → prot.raw_seq.idx} +3032 -1808
- data/test/test_sequences.rb +46 -41
- data/test/test_validation_open_reading_frame.rb +318 -202
- data/test/test_validations.rb +48 -32
- metadata +76 -102
- data/doc/AliasDuplicationError.html +0 -134
- data/doc/AlignmentValidation.html +0 -1687
- data/doc/AlignmentValidationOutput.html +0 -659
- data/doc/Blast.html +0 -1905
- data/doc/BlastRFValidationOutput.html +0 -545
- data/doc/BlastReadingFrameValidation.html +0 -370
- data/doc/BlastUtils.html +0 -875
- data/doc/ClasspathError.html +0 -134
- data/doc/Cluster.html +0 -1316
- data/doc/DuplciationValidationOutput.html +0 -564
- data/doc/DuplicationValidation.html +0 -920
- data/doc/DuplicationValidationOutput.html +0 -564
- data/doc/FileNotFoundException.html +0 -134
- data/doc/GeneMergeValidation.html +0 -935
- data/doc/GeneMergeValidationOutput.html +0 -652
- data/doc/HierarchicalClusterization.html +0 -994
- data/doc/Hsp.html +0 -1485
- data/doc/InconsistentTabularFormat.html +0 -135
- data/doc/LengthClusterValidation.html +0 -982
- data/doc/LengthClusterValidationOutput.html +0 -515
- data/doc/LengthRankValidation.html +0 -496
- data/doc/LengthRankValidationOutput.html +0 -517
- data/doc/NoInternetError.html +0 -135
- data/doc/NoMafftInstallationError.html +0 -134
- data/doc/NoPIdentError.html +0 -134
- data/doc/NoValidationError.html +0 -134
- data/doc/NotEnoughHitsError.html +0 -135
- data/doc/ORFValidationOutput.html +0 -593
- data/doc/OpenReadingFrameValidation.html +0 -1107
- data/doc/OtherError.html +0 -123
- data/doc/Output.html +0 -1540
- data/doc/Pair.html +0 -309
- data/doc/PairCluster.html +0 -767
- data/doc/Plot.html +0 -837
- data/doc/QueryError.html +0 -134
- data/doc/ReportClassError.html +0 -135
- data/doc/Sequence.html +0 -1299
- data/doc/SequenceTypeError.html +0 -135
- data/doc/TabularEntry.html +0 -837
- data/doc/TabularParser.html +0 -1104
- data/doc/Validation.html +0 -2147
- data/doc/ValidationClassError.html +0 -134
- data/doc/ValidationOutput.html +0 -460
- data/doc/ValidationReport.html +0 -940
- data/doc/ValidationTest.html +0 -939
- data/doc/_index.html +0 -449
- data/doc/class_list.html +0 -54
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -57
- data/doc/css/style.css +0 -338
- data/doc/file.README.html +0 -151
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -26
- data/doc/index.html +0 -151
- data/doc/js/app.js +0 -214
- data/doc/js/full_list.js +0 -178
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1505
- data/doc/top-level-namespace.html +0 -112
- data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab +0 -967
- data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.index +0 -967
- data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.raw_seq +0 -4929
- data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_tab.raw_seq.idx +0 -1006
- data/test/test_files/all_validations_mrna/all_validations_mrna.fasta.blast_xml.raw_seq +0 -2075
- data/test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.index +0 -1864
- data/test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.raw_seq +0 -42411
- data/test/test_files/all_validations_prot/all_validations_prot.fasta.blast_tab.raw_seq.idx +0 -3751
data/doc/ValidationTest.html
DELETED
@@ -1,939 +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
|
-
Class: ValidationTest
|
8
|
-
|
9
|
-
— 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 (V)</a> »
|
35
|
-
|
36
|
-
|
37
|
-
<span class="title">ValidationTest</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>Class: ValidationTest
|
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">Object</span>
|
77
|
-
|
78
|
-
<ul class="fullTree">
|
79
|
-
<li>Object</li>
|
80
|
-
|
81
|
-
<li class="next">ValidationTest</li>
|
82
|
-
|
83
|
-
</ul>
|
84
|
-
<a href="#" class="inheritanceTree">show all</a>
|
85
|
-
|
86
|
-
</dd>
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<dt class="r2 last">Defined in:</dt>
|
97
|
-
<dd class="r2 last">lib/genevalidator/validation_test.rb</dd>
|
98
|
-
|
99
|
-
</dl>
|
100
|
-
<div class="clear"></div>
|
101
|
-
|
102
|
-
<h2>Overview</h2><div class="docstring">
|
103
|
-
<div class="discussion">
|
104
|
-
|
105
|
-
<p>This is an abstract class extended by all validation classes</p>
|
106
|
-
|
107
|
-
|
108
|
-
</div>
|
109
|
-
</div>
|
110
|
-
<div class="tags">
|
111
|
-
|
112
|
-
|
113
|
-
</div><div id="subclasses">
|
114
|
-
<h2>Direct Known Subclasses</h2>
|
115
|
-
<p class="children"><span class='object_link'><a href="AlignmentValidation.html" title="AlignmentValidation (class)">AlignmentValidation</a></span>, <span class='object_link'><a href="BlastReadingFrameValidation.html" title="BlastReadingFrameValidation (class)">BlastReadingFrameValidation</a></span>, <span class='object_link'><a href="DuplicationValidation.html" title="DuplicationValidation (class)">DuplicationValidation</a></span>, <span class='object_link'><a href="GeneMergeValidation.html" title="GeneMergeValidation (class)">GeneMergeValidation</a></span>, <span class='object_link'><a href="LengthClusterValidation.html" title="LengthClusterValidation (class)">LengthClusterValidation</a></span>, <span class='object_link'><a href="LengthRankValidation.html" title="LengthRankValidation (class)">LengthRankValidation</a></span>, <span class='object_link'><a href="OpenReadingFrameValidation.html" title="OpenReadingFrameValidation (class)">OpenReadingFrameValidation</a></span></p>
|
116
|
-
</div>
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
122
|
-
<ul class="summary">
|
123
|
-
|
124
|
-
<li class="public ">
|
125
|
-
<span class="summary_signature">
|
126
|
-
|
127
|
-
<a href="#cli_name-instance_method" title="#cli_name (instance method)">- (Object) <strong>cli_name</strong> </a>
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
</span>
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
<span class="summary_desc"><div class='inline'>
|
145
|
-
<p>Returns the value of attribute cli_name.</p>
|
146
|
-
</div></span>
|
147
|
-
|
148
|
-
</li>
|
149
|
-
|
150
|
-
|
151
|
-
<li class="public ">
|
152
|
-
<span class="summary_signature">
|
153
|
-
|
154
|
-
<a href="#description-instance_method" title="#description (instance method)">- (Object) <strong>description</strong> </a>
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
</span>
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
<span class="summary_desc"><div class='inline'>
|
172
|
-
<p>Returns the value of attribute description.</p>
|
173
|
-
</div></span>
|
174
|
-
|
175
|
-
</li>
|
176
|
-
|
177
|
-
|
178
|
-
<li class="public ">
|
179
|
-
<span class="summary_signature">
|
180
|
-
|
181
|
-
<a href="#header-instance_method" title="#header (instance method)">- (Object) <strong>header</strong> </a>
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
</span>
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
<span class="summary_desc"><div class='inline'>
|
199
|
-
<p>Returns the value of attribute header.</p>
|
200
|
-
</div></span>
|
201
|
-
|
202
|
-
</li>
|
203
|
-
|
204
|
-
|
205
|
-
<li class="public ">
|
206
|
-
<span class="summary_signature">
|
207
|
-
|
208
|
-
<a href="#hits-instance_method" title="#hits (instance method)">- (Object) <strong>hits</strong> </a>
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
</span>
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
<span class="summary_desc"><div class='inline'>
|
226
|
-
<p>Returns the value of attribute hits.</p>
|
227
|
-
</div></span>
|
228
|
-
|
229
|
-
</li>
|
230
|
-
|
231
|
-
|
232
|
-
<li class="public ">
|
233
|
-
<span class="summary_signature">
|
234
|
-
|
235
|
-
<a href="#prediction-instance_method" title="#prediction (instance method)">- (Object) <strong>prediction</strong> </a>
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
</span>
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
<span class="summary_desc"><div class='inline'>
|
253
|
-
<p>Returns the value of attribute prediction.</p>
|
254
|
-
</div></span>
|
255
|
-
|
256
|
-
</li>
|
257
|
-
|
258
|
-
|
259
|
-
<li class="public ">
|
260
|
-
<span class="summary_signature">
|
261
|
-
|
262
|
-
<a href="#running_time-instance_method" title="#running_time (instance method)">- (Object) <strong>running_time</strong> </a>
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
</span>
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
<span class="summary_desc"><div class='inline'>
|
280
|
-
<p>Returns the value of attribute running_time.</p>
|
281
|
-
</div></span>
|
282
|
-
|
283
|
-
</li>
|
284
|
-
|
285
|
-
|
286
|
-
<li class="public ">
|
287
|
-
<span class="summary_signature">
|
288
|
-
|
289
|
-
<a href="#short_header-instance_method" title="#short_header (instance method)">- (Object) <strong>short_header</strong> </a>
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
</span>
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
<span class="summary_desc"><div class='inline'>
|
307
|
-
<p>Returns the value of attribute short_header.</p>
|
308
|
-
</div></span>
|
309
|
-
|
310
|
-
</li>
|
311
|
-
|
312
|
-
|
313
|
-
<li class="public ">
|
314
|
-
<span class="summary_signature">
|
315
|
-
|
316
|
-
<a href="#type-instance_method" title="#type (instance method)">- (Object) <strong>type</strong> </a>
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
</span>
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
<span class="summary_desc"><div class='inline'>
|
334
|
-
<p>Returns the value of attribute type.</p>
|
335
|
-
</div></span>
|
336
|
-
|
337
|
-
</li>
|
338
|
-
|
339
|
-
|
340
|
-
<li class="public ">
|
341
|
-
<span class="summary_signature">
|
342
|
-
|
343
|
-
<a href="#validation_report-instance_method" title="#validation_report (instance method)">- (Object) <strong>validation_report</strong> </a>
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
</span>
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
<span class="summary_desc"><div class='inline'>
|
361
|
-
<p>Returns the value of attribute validation_report.</p>
|
362
|
-
</div></span>
|
363
|
-
|
364
|
-
</li>
|
365
|
-
|
366
|
-
|
367
|
-
</ul>
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
<h2>
|
374
|
-
Instance Method Summary
|
375
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
376
|
-
</h2>
|
377
|
-
|
378
|
-
<ul class="summary">
|
379
|
-
|
380
|
-
<li class="public ">
|
381
|
-
<span class="summary_signature">
|
382
|
-
|
383
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (ValidationTest) <strong>initialize</strong>(type, prediction, hits = nil, *argv) </a>
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
</span>
|
388
|
-
|
389
|
-
|
390
|
-
<span class="note title constructor">constructor</span>
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
<span class="summary_desc"><div class='inline'>
|
400
|
-
<p>Initilizes the object Params: <tt>type</tt>: type of the predicted
|
401
|
-
sequence (:nucleotide or :protein) <tt>prediction</tt>: a <tt>Sequence</tt>
|
402
|
-
object representing the blast query <tt>hits</tt>: a vector of
|
403
|
-
<tt>Sequence</tt> objects (usually representig the blast hits)
|
404
|
-
<tt>argv</tt>: aditional arguments if needed.</p>
|
405
|
-
</div></span>
|
406
|
-
|
407
|
-
</li>
|
408
|
-
|
409
|
-
|
410
|
-
<li class="public ">
|
411
|
-
<span class="summary_signature">
|
412
|
-
|
413
|
-
<a href="#run-instance_method" title="#run (instance method)">- (Object) <strong>run</strong> </a>
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
</span>
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
428
|
-
|
429
|
-
</li>
|
430
|
-
|
431
|
-
|
432
|
-
</ul>
|
433
|
-
|
434
|
-
|
435
|
-
<div id="constructor_details" class="method_details_list">
|
436
|
-
<h2>Constructor Details</h2>
|
437
|
-
|
438
|
-
<div class="method_details first">
|
439
|
-
<h3 class="signature first" id="initialize-instance_method">
|
440
|
-
|
441
|
-
- (<tt><span class='object_link'><a href="" title="ValidationTest (class)">ValidationTest</a></span></tt>) <strong>initialize</strong>(type, prediction, hits = nil, *argv)
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
</h3><div class="docstring">
|
448
|
-
<div class="discussion">
|
449
|
-
|
450
|
-
<p>Initilizes the object Params: <tt>type</tt>: type of the predicted
|
451
|
-
sequence (:nucleotide or :protein) <tt>prediction</tt>: a <tt>Sequence</tt>
|
452
|
-
object representing the blast query <tt>hits</tt>: a vector of
|
453
|
-
<tt>Sequence</tt> objects (usually representig the blast hits)
|
454
|
-
<tt>argv</tt>: aditional arguments if needed</p>
|
455
|
-
|
456
|
-
|
457
|
-
</div>
|
458
|
-
</div>
|
459
|
-
<div class="tags">
|
460
|
-
|
461
|
-
|
462
|
-
</div><table class="source_code">
|
463
|
-
<tr>
|
464
|
-
<td>
|
465
|
-
<pre class="lines">
|
466
|
-
|
467
|
-
|
468
|
-
23
|
469
|
-
24
|
470
|
-
25
|
471
|
-
26
|
472
|
-
27
|
473
|
-
28
|
474
|
-
29
|
475
|
-
30
|
476
|
-
31
|
477
|
-
32
|
478
|
-
33</pre>
|
479
|
-
</td>
|
480
|
-
<td>
|
481
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 23</span>
|
482
|
-
|
483
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_prediction'>prediction</span><span class='comma'>,</span> <span class='id identifier rubyid_hits'>hits</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_argv'>argv</span><span class='rparen'>)</span>
|
484
|
-
<span class='ivar'>@type</span> <span class='op'>=</span> <span class='id identifier rubyid_type'>type</span>
|
485
|
-
<span class='ivar'>@prediction</span> <span class='op'>=</span> <span class='id identifier rubyid_prediction'>prediction</span>
|
486
|
-
<span class='ivar'>@hits</span> <span class='op'>=</span> <span class='id identifier rubyid_hits'>hits</span>
|
487
|
-
<span class='ivar'>@short_header</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>NewVal</span><span class='tstring_end'>"</span></span>
|
488
|
-
<span class='ivar'>@header</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>New Validation</span><span class='tstring_end'>"</span></span>
|
489
|
-
<span class='ivar'>@running_time</span> <span class='op'>=</span> <span class='int'>0</span>
|
490
|
-
<span class='ivar'>@cli_name</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>all</span><span class='tstring_end'>"</span></span>
|
491
|
-
<span class='ivar'>@description</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>No description available.</span><span class='tstring_end'>"</span></span>
|
492
|
-
<span class='ivar'>@validation_report</span> <span class='op'>=</span> <span class='const'>ValidationReport</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Not enough evidence</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span>
|
493
|
-
<span class='kw'>end</span></pre>
|
494
|
-
</td>
|
495
|
-
</tr>
|
496
|
-
</table>
|
497
|
-
</div>
|
498
|
-
|
499
|
-
</div>
|
500
|
-
|
501
|
-
<div id="instance_attr_details" class="attr_details">
|
502
|
-
<h2>Instance Attribute Details</h2>
|
503
|
-
|
504
|
-
|
505
|
-
<span id="cli_name=-instance_method"></span>
|
506
|
-
<div class="method_details first">
|
507
|
-
<h3 class="signature first" id="cli_name-instance_method">
|
508
|
-
|
509
|
-
- (<tt>Object</tt>) <strong>cli_name</strong>
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
</h3><div class="docstring">
|
516
|
-
<div class="discussion">
|
517
|
-
|
518
|
-
<p>Returns the value of attribute cli_name</p>
|
519
|
-
|
520
|
-
|
521
|
-
</div>
|
522
|
-
</div>
|
523
|
-
<div class="tags">
|
524
|
-
|
525
|
-
|
526
|
-
</div><table class="source_code">
|
527
|
-
<tr>
|
528
|
-
<td>
|
529
|
-
<pre class="lines">
|
530
|
-
|
531
|
-
|
532
|
-
11
|
533
|
-
12
|
534
|
-
13</pre>
|
535
|
-
</td>
|
536
|
-
<td>
|
537
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 11</span>
|
538
|
-
|
539
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_cli_name'>cli_name</span>
|
540
|
-
<span class='ivar'>@cli_name</span>
|
541
|
-
<span class='kw'>end</span></pre>
|
542
|
-
</td>
|
543
|
-
</tr>
|
544
|
-
</table>
|
545
|
-
</div>
|
546
|
-
|
547
|
-
|
548
|
-
<span id="description=-instance_method"></span>
|
549
|
-
<div class="method_details ">
|
550
|
-
<h3 class="signature " id="description-instance_method">
|
551
|
-
|
552
|
-
- (<tt>Object</tt>) <strong>description</strong>
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
</h3><div class="docstring">
|
559
|
-
<div class="discussion">
|
560
|
-
|
561
|
-
<p>Returns the value of attribute description</p>
|
562
|
-
|
563
|
-
|
564
|
-
</div>
|
565
|
-
</div>
|
566
|
-
<div class="tags">
|
567
|
-
|
568
|
-
|
569
|
-
</div><table class="source_code">
|
570
|
-
<tr>
|
571
|
-
<td>
|
572
|
-
<pre class="lines">
|
573
|
-
|
574
|
-
|
575
|
-
12
|
576
|
-
13
|
577
|
-
14</pre>
|
578
|
-
</td>
|
579
|
-
<td>
|
580
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 12</span>
|
581
|
-
|
582
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
583
|
-
<span class='ivar'>@description</span>
|
584
|
-
<span class='kw'>end</span></pre>
|
585
|
-
</td>
|
586
|
-
</tr>
|
587
|
-
</table>
|
588
|
-
</div>
|
589
|
-
|
590
|
-
|
591
|
-
<span id="header=-instance_method"></span>
|
592
|
-
<div class="method_details ">
|
593
|
-
<h3 class="signature " id="header-instance_method">
|
594
|
-
|
595
|
-
- (<tt>Object</tt>) <strong>header</strong>
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
</h3><div class="docstring">
|
602
|
-
<div class="discussion">
|
603
|
-
|
604
|
-
<p>Returns the value of attribute header</p>
|
605
|
-
|
606
|
-
|
607
|
-
</div>
|
608
|
-
</div>
|
609
|
-
<div class="tags">
|
610
|
-
|
611
|
-
|
612
|
-
</div><table class="source_code">
|
613
|
-
<tr>
|
614
|
-
<td>
|
615
|
-
<pre class="lines">
|
616
|
-
|
617
|
-
|
618
|
-
10
|
619
|
-
11
|
620
|
-
12</pre>
|
621
|
-
</td>
|
622
|
-
<td>
|
623
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 10</span>
|
624
|
-
|
625
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_header'>header</span>
|
626
|
-
<span class='ivar'>@header</span>
|
627
|
-
<span class='kw'>end</span></pre>
|
628
|
-
</td>
|
629
|
-
</tr>
|
630
|
-
</table>
|
631
|
-
</div>
|
632
|
-
|
633
|
-
|
634
|
-
<span id="hits=-instance_method"></span>
|
635
|
-
<div class="method_details ">
|
636
|
-
<h3 class="signature " id="hits-instance_method">
|
637
|
-
|
638
|
-
- (<tt>Object</tt>) <strong>hits</strong>
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
</h3><div class="docstring">
|
645
|
-
<div class="discussion">
|
646
|
-
|
647
|
-
<p>Returns the value of attribute hits</p>
|
648
|
-
|
649
|
-
|
650
|
-
</div>
|
651
|
-
</div>
|
652
|
-
<div class="tags">
|
653
|
-
|
654
|
-
|
655
|
-
</div><table class="source_code">
|
656
|
-
<tr>
|
657
|
-
<td>
|
658
|
-
<pre class="lines">
|
659
|
-
|
660
|
-
|
661
|
-
8
|
662
|
-
9
|
663
|
-
10</pre>
|
664
|
-
</td>
|
665
|
-
<td>
|
666
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 8</span>
|
667
|
-
|
668
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_hits'>hits</span>
|
669
|
-
<span class='ivar'>@hits</span>
|
670
|
-
<span class='kw'>end</span></pre>
|
671
|
-
</td>
|
672
|
-
</tr>
|
673
|
-
</table>
|
674
|
-
</div>
|
675
|
-
|
676
|
-
|
677
|
-
<span id="prediction=-instance_method"></span>
|
678
|
-
<div class="method_details ">
|
679
|
-
<h3 class="signature " id="prediction-instance_method">
|
680
|
-
|
681
|
-
- (<tt>Object</tt>) <strong>prediction</strong>
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
</h3><div class="docstring">
|
688
|
-
<div class="discussion">
|
689
|
-
|
690
|
-
<p>Returns the value of attribute prediction</p>
|
691
|
-
|
692
|
-
|
693
|
-
</div>
|
694
|
-
</div>
|
695
|
-
<div class="tags">
|
696
|
-
|
697
|
-
|
698
|
-
</div><table class="source_code">
|
699
|
-
<tr>
|
700
|
-
<td>
|
701
|
-
<pre class="lines">
|
702
|
-
|
703
|
-
|
704
|
-
7
|
705
|
-
8
|
706
|
-
9</pre>
|
707
|
-
</td>
|
708
|
-
<td>
|
709
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 7</span>
|
710
|
-
|
711
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_prediction'>prediction</span>
|
712
|
-
<span class='ivar'>@prediction</span>
|
713
|
-
<span class='kw'>end</span></pre>
|
714
|
-
</td>
|
715
|
-
</tr>
|
716
|
-
</table>
|
717
|
-
</div>
|
718
|
-
|
719
|
-
|
720
|
-
<span id="running_time=-instance_method"></span>
|
721
|
-
<div class="method_details ">
|
722
|
-
<h3 class="signature " id="running_time-instance_method">
|
723
|
-
|
724
|
-
- (<tt>Object</tt>) <strong>running_time</strong>
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
</h3><div class="docstring">
|
731
|
-
<div class="discussion">
|
732
|
-
|
733
|
-
<p>Returns the value of attribute running_time</p>
|
734
|
-
|
735
|
-
|
736
|
-
</div>
|
737
|
-
</div>
|
738
|
-
<div class="tags">
|
739
|
-
|
740
|
-
|
741
|
-
</div><table class="source_code">
|
742
|
-
<tr>
|
743
|
-
<td>
|
744
|
-
<pre class="lines">
|
745
|
-
|
746
|
-
|
747
|
-
14
|
748
|
-
15
|
749
|
-
16</pre>
|
750
|
-
</td>
|
751
|
-
<td>
|
752
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 14</span>
|
753
|
-
|
754
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_running_time'>running_time</span>
|
755
|
-
<span class='ivar'>@running_time</span>
|
756
|
-
<span class='kw'>end</span></pre>
|
757
|
-
</td>
|
758
|
-
</tr>
|
759
|
-
</table>
|
760
|
-
</div>
|
761
|
-
|
762
|
-
|
763
|
-
<span id="short_header=-instance_method"></span>
|
764
|
-
<div class="method_details ">
|
765
|
-
<h3 class="signature " id="short_header-instance_method">
|
766
|
-
|
767
|
-
- (<tt>Object</tt>) <strong>short_header</strong>
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
</h3><div class="docstring">
|
774
|
-
<div class="discussion">
|
775
|
-
|
776
|
-
<p>Returns the value of attribute short_header</p>
|
777
|
-
|
778
|
-
|
779
|
-
</div>
|
780
|
-
</div>
|
781
|
-
<div class="tags">
|
782
|
-
|
783
|
-
|
784
|
-
</div><table class="source_code">
|
785
|
-
<tr>
|
786
|
-
<td>
|
787
|
-
<pre class="lines">
|
788
|
-
|
789
|
-
|
790
|
-
9
|
791
|
-
10
|
792
|
-
11</pre>
|
793
|
-
</td>
|
794
|
-
<td>
|
795
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 9</span>
|
796
|
-
|
797
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_short_header'>short_header</span>
|
798
|
-
<span class='ivar'>@short_header</span>
|
799
|
-
<span class='kw'>end</span></pre>
|
800
|
-
</td>
|
801
|
-
</tr>
|
802
|
-
</table>
|
803
|
-
</div>
|
804
|
-
|
805
|
-
|
806
|
-
<span id="type=-instance_method"></span>
|
807
|
-
<div class="method_details ">
|
808
|
-
<h3 class="signature " id="type-instance_method">
|
809
|
-
|
810
|
-
- (<tt>Object</tt>) <strong>type</strong>
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
</h3><div class="docstring">
|
817
|
-
<div class="discussion">
|
818
|
-
|
819
|
-
<p>Returns the value of attribute type</p>
|
820
|
-
|
821
|
-
|
822
|
-
</div>
|
823
|
-
</div>
|
824
|
-
<div class="tags">
|
825
|
-
|
826
|
-
|
827
|
-
</div><table class="source_code">
|
828
|
-
<tr>
|
829
|
-
<td>
|
830
|
-
<pre class="lines">
|
831
|
-
|
832
|
-
|
833
|
-
6
|
834
|
-
7
|
835
|
-
8</pre>
|
836
|
-
</td>
|
837
|
-
<td>
|
838
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 6</span>
|
839
|
-
|
840
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
|
841
|
-
<span class='ivar'>@type</span>
|
842
|
-
<span class='kw'>end</span></pre>
|
843
|
-
</td>
|
844
|
-
</tr>
|
845
|
-
</table>
|
846
|
-
</div>
|
847
|
-
|
848
|
-
|
849
|
-
<span id="validation_report=-instance_method"></span>
|
850
|
-
<div class="method_details ">
|
851
|
-
<h3 class="signature " id="validation_report-instance_method">
|
852
|
-
|
853
|
-
- (<tt>Object</tt>) <strong>validation_report</strong>
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
</h3><div class="docstring">
|
860
|
-
<div class="discussion">
|
861
|
-
|
862
|
-
<p>Returns the value of attribute validation_report</p>
|
863
|
-
|
864
|
-
|
865
|
-
</div>
|
866
|
-
</div>
|
867
|
-
<div class="tags">
|
868
|
-
|
869
|
-
|
870
|
-
</div><table class="source_code">
|
871
|
-
<tr>
|
872
|
-
<td>
|
873
|
-
<pre class="lines">
|
874
|
-
|
875
|
-
|
876
|
-
13
|
877
|
-
14
|
878
|
-
15</pre>
|
879
|
-
</td>
|
880
|
-
<td>
|
881
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 13</span>
|
882
|
-
|
883
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_validation_report'>validation_report</span>
|
884
|
-
<span class='ivar'>@validation_report</span>
|
885
|
-
<span class='kw'>end</span></pre>
|
886
|
-
</td>
|
887
|
-
</tr>
|
888
|
-
</table>
|
889
|
-
</div>
|
890
|
-
|
891
|
-
</div>
|
892
|
-
|
893
|
-
|
894
|
-
<div id="instance_method_details" class="method_details_list">
|
895
|
-
<h2>Instance Method Details</h2>
|
896
|
-
|
897
|
-
|
898
|
-
<div class="method_details first">
|
899
|
-
<h3 class="signature first" id="run-instance_method">
|
900
|
-
|
901
|
-
- (<tt>Object</tt>) <strong>run</strong>
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
</h3><table class="source_code">
|
908
|
-
<tr>
|
909
|
-
<td>
|
910
|
-
<pre class="lines">
|
911
|
-
|
912
|
-
|
913
|
-
35
|
914
|
-
36
|
915
|
-
37</pre>
|
916
|
-
</td>
|
917
|
-
<td>
|
918
|
-
<pre class="code"><span class="info file"># File 'lib/genevalidator/validation_test.rb', line 35</span>
|
919
|
-
|
920
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
|
921
|
-
<span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>run method should be implemented by all classes that extend ValidationTest</span><span class='tstring_end'>'</span></span>
|
922
|
-
<span class='kw'>end</span></pre>
|
923
|
-
</td>
|
924
|
-
</tr>
|
925
|
-
</table>
|
926
|
-
</div>
|
927
|
-
|
928
|
-
</div>
|
929
|
-
|
930
|
-
</div>
|
931
|
-
|
932
|
-
<div id="footer">
|
933
|
-
Generated on Sat Sep 28 07:01:33 2013 by
|
934
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
935
|
-
0.8.7.2 (ruby-1.9.3).
|
936
|
-
</div>
|
937
|
-
|
938
|
-
</body>
|
939
|
-
</html>
|