wrnap 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wrnap/etl/infernal.rb +2 -1
- data/lib/wrnap/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd848df338cd8be9263635992ab77d8d6871f89e
|
4
|
+
data.tar.gz: 95be3d8fb71e88402d2258cfaa9b28b5bc1fe21b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e66f6132d59888de7d028b3aed693253038fd75299eb99d48538aa71329dca2125a934d37c6ddb4e14748b2b0075201722224731cf634b07fbe68ae29f52880
|
7
|
+
data.tar.gz: 32891a130812b21dcac55d47a8b1819b0646433e0c500263153678a10d93841d556ff636740e3f7569271d287b1a4f34a8994e1ec6cc922bd08d727197d93acb
|
data/lib/wrnap/etl/infernal.rb
CHANGED
@@ -32,7 +32,8 @@ module Wrnap
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def pull_infernal_hit_sequence(output)
|
35
|
-
|
35
|
+
# Dots are gaps in Stockholm format, and this uses the Stockholm parser underneath.
|
36
|
+
output.split(?\n).select { |line| line =~ HIT_SEQUENCE }.last.match(HIT_SEQUENCE)[1].upcase.gsub(?-, ?.)
|
36
37
|
end
|
37
38
|
|
38
39
|
def pull_infernal_hit_structure(output)
|
data/lib/wrnap/version.rb
CHANGED