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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5565b1bf13a5afcdda34f97af733e20c56aa8f72
4
- data.tar.gz: 69bb1996d55296c10808270587fd8e7b0ba5cc71
3
+ metadata.gz: fd848df338cd8be9263635992ab77d8d6871f89e
4
+ data.tar.gz: 95be3d8fb71e88402d2258cfaa9b28b5bc1fe21b
5
5
  SHA512:
6
- metadata.gz: a09b6dcf15dcac6f804776c136792f93316e294ca1d8c1230140219e5ce44ed3cd3a72c09b192ab34b2d6bb754841bc7b421fd737f05c11ee88aa5640b2eb1d2
7
- data.tar.gz: 36a11bd543ade0dc5e0d267e16117a44b1dc5d8afa4d89e8c1921382afdfb0311094a5fa9f7e893397978dcb0c7f12f63a5ab4b447ce3c74e94ffce40f433f38
6
+ metadata.gz: 7e66f6132d59888de7d028b3aed693253038fd75299eb99d48538aa71329dca2125a934d37c6ddb4e14748b2b0075201722224731cf634b07fbe68ae29f52880
7
+ data.tar.gz: 32891a130812b21dcac55d47a8b1819b0646433e0c500263153678a10d93841d556ff636740e3f7569271d287b1a4f34a8994e1ec6cc922bd08d727197d93acb
@@ -32,7 +32,8 @@ module Wrnap
32
32
  end
33
33
 
34
34
  def pull_infernal_hit_sequence(output)
35
- output.split(?\n).select { |line| line =~ HIT_SEQUENCE }.last.match(HIT_SEQUENCE)[1].upcase
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
@@ -1,3 +1,3 @@
1
1
  module Wrnap
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrnap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Senter