rbbt-sources 3.1.50 → 3.1.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/sources/uniprot.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cb92f1a2c300c6787870f06f5b4ea45967242a33e7c51cf94f002d1901000af
|
4
|
+
data.tar.gz: 793c56312f02532861451142988b24463de6a30d460f6f7a7238889b91c9c336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95ab052b23bc28f919e9cf242e0a74e1e433335879d77fc38752925f74e5ec92b8b42b1c27f1fee170bb3125be1a04b83b24c7da524c46efce07241ff169bdff
|
7
|
+
data.tar.gz: bbe1970028942398b1b84e314d704acb0fac405045785e45516e8dbd65927852874bcceb0393748fd68a507c6d4292fda579d1df16d7831d47b5b9ea0de6bf7d
|
data/lib/rbbt/sources/uniprot.rb
CHANGED
@@ -203,12 +203,19 @@ module UniProt
|
|
203
203
|
end
|
204
204
|
value = part.gsub("\nFT", '').gsub(/\s+/, ' ')
|
205
205
|
case
|
206
|
+
when value.match(/(\d+)\.\.(\d+) (.*)/)
|
207
|
+
start, eend, description = $1, $2, $3
|
208
|
+
description.gsub(/^FT\s+/m, '')
|
206
209
|
when value.match(/(\d+) (\d+) (.*)/)
|
207
210
|
start, eend, description = $1, $2, $3
|
208
211
|
description.gsub(/^FT\s+/m, '')
|
209
212
|
when value.match(/^\s+(\d+) (\d+)/)
|
210
213
|
start, eend = $1, $2
|
211
214
|
description = nil
|
215
|
+
when value.match(/(\d+) (.*)/)
|
216
|
+
start, description = $1, $2
|
217
|
+
eend = start
|
218
|
+
description.gsub(/^FT\s+/m, '')
|
212
219
|
else
|
213
220
|
Log.debug "Value not understood: #{ value }"
|
214
221
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-sources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|