genevalidator 1.6.6 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/aux/json_footer.erb +1 -1
- data/aux/template_footer.erb +1 -1
- data/bin/genevalidator +2 -1
- data/lib/genevalidator/blast.rb +5 -6
- data/lib/genevalidator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1fdf73a212a4034bf683739c5cd37912704aa6f
|
4
|
+
data.tar.gz: 3e14c4244654cbb5a33e74a73c03dd7939c32f81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51973ebeb66f9db5eb25e9c68a55417cea83eac7524cf30c8f810a2fe47f0c30038d11150910661630c54158f994ebf2fb0ac04bc448b6f0dc52c574e9fae1d2
|
7
|
+
data.tar.gz: 167350002d32901144d799e713375d9fc008ea835748251372388170521cbea1bf29a8543475480709c116f781fb6934261be654c9ffd59506a814bcdb2fcff7
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ If you would like to use GeneValidator on a few sequences, see our online [GeneV
|
|
14
14
|
|
15
15
|
|
16
16
|
If you use GeneValidator in your work, please cite us as follows:
|
17
|
-
>
|
17
|
+
> [Dragan M<sup>‡</sup>, Moghul MI<sup>‡</sup>, Priyam A, Bustos C & Wurm Y. 2016. GeneValidator: identify problems with protein-coding gene predictions. <em>Bioinformatics</em>, doi: 10.1093/bioinformatics/btw015](http://bioinformatics.oxfordjournals.org/content/early/2016/02/26/bioinformatics.btw015).
|
18
18
|
|
19
19
|
|
20
20
|
|
data/aux/json_footer.erb
CHANGED
@@ -5,4 +5,4 @@
|
|
5
5
|
<% output_files.each_with_index do |results_html, idx| %>
|
6
6
|
<li><a href="<%=results_html%>"><%= idx + 1 %></a></li>
|
7
7
|
<% end %></ul></nav><%end%>
|
8
|
-
<footer><div class="container center-block"><p class="text-muted text-center">Please cite
|
8
|
+
<footer><div class="container center-block"><p class="text-muted text-center">Please cite:<a href="http://bioinformatics.oxfordjournals.org/content/early/2016/02/26/bioinformatics.btw015"> "Dragan M<sup>‡</sup>, Moghul MI<sup>‡</sup>, Priyam A, Bustos C & Wurm Y <em>(2016)</em> GeneValidator: identify problematic gene predictions"</a><br/> Developed at <a href="https://wurmlab.github.io" target="_blank">Wurm Lab</a>, <a href="http://www.sbcs.qmul.ac.uk" target="_blank">QMUL</a> with funding by <a href="http://www.bbsrc.ac.uk/home/home.aspx" target="_blank">BBSRC</a> and <a href="https://www.google-melange.com/gsoc/homepage/google/gsoc2013" target="_blank">Google Summer of Code 2013</a><br/>This page was created by <a href="https://github.com/wurmlab/genevalidator" target="_blank" >GeneValidator</a> v<%= GeneValidator::VERSION %></p></div></footer></body></html>
|
data/aux/template_footer.erb
CHANGED
@@ -5,4 +5,4 @@
|
|
5
5
|
<% output_files.each_with_index do |results_html, idx| %>
|
6
6
|
<li><a href="<%=results_html%>"><%= idx + 1 %></a></li>
|
7
7
|
<% end %></ul></nav><%end%>
|
8
|
-
<footer><div class="container center-block"><p class="text-muted text-center">Please cite
|
8
|
+
<footer><div class="container center-block"><p class="text-muted text-center">Please cite:<a href="http://bioinformatics.oxfordjournals.org/content/early/2016/02/26/bioinformatics.btw015"> "Dragan M<sup>‡</sup>, Moghul MI<sup>‡</sup>, Priyam A, Bustos C & Wurm Y <em>(2016)</em> GeneValidator: identify problematic gene predictions"</a><br/> Developed at <a href="https://wurmlab.github.io" target="_blank">Wurm Lab</a>, <a href="http://www.sbcs.qmul.ac.uk" target="_blank">QMUL</a> with funding by <a href="http://www.bbsrc.ac.uk/home/home.aspx" target="_blank">BBSRC</a> and <a href="https://www.google-melange.com/gsoc/homepage/google/gsoc2013" target="_blank">Google Summer of Code 2013</a><br/>This page was created by <a href="https://github.com/wurmlab/genevalidator" target="_blank" >GeneValidator</a> v<%= GeneValidator::VERSION %></p></div></footer></body></html>
|
data/bin/genevalidator
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'optparse'
|
3
|
+
require 'english'
|
3
4
|
|
4
5
|
require 'genevalidator'
|
5
6
|
require 'genevalidator/get_raw_sequences'
|
@@ -116,7 +117,7 @@ begin
|
|
116
117
|
exit 1
|
117
118
|
end
|
118
119
|
rescue OptionParser::ParseError
|
119
|
-
$stderr.print 'Error: ' + $ERROR_INFO.to_s +
|
120
|
+
$stderr.print 'Error: ' + $ERROR_INFO.to_s + "\n"
|
120
121
|
exit 1
|
121
122
|
end
|
122
123
|
|
data/lib/genevalidator/blast.rb
CHANGED
@@ -121,14 +121,13 @@ module GeneValidator
|
|
121
121
|
current_hsp.query_reading_frame = hsp.query_frame.to_i
|
122
122
|
|
123
123
|
current_hsp.hit_alignment = hsp.hseq.to_s
|
124
|
-
|
125
|
-
|
126
|
-
end
|
124
|
+
seq_type = guess_sequence_type(current_hsp.hit_alignment)
|
125
|
+
fail SequenceTypeError unless seq_type == :protein || seq_type.nil?
|
127
126
|
|
128
127
|
current_hsp.query_alignment = hsp.qseq.to_s
|
129
|
-
|
130
|
-
|
131
|
-
|
128
|
+
seq_type = guess_sequence_type(current_hsp.query_alignment)
|
129
|
+
fail SequenceTypeError unless seq_type == :protein || seq_type.nil?
|
130
|
+
|
132
131
|
current_hsp.align_len = hsp.align_len.to_i
|
133
132
|
current_hsp.identity = hsp.identity.to_i
|
134
133
|
current_hsp.pidentity = (100 * hsp.identity / hsp.align_len.to_f)
|
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.
|
4
|
+
version: 1.6.8
|
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:
|
14
|
+
date: 2016-03-11 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|