rbbt-sources 3.0.3 → 3.0.4
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/kegg.rb +2 -2
- 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: 8db9d47e44f4e4ab79e5568922226aabf9f8f96c
|
4
|
+
data.tar.gz: 97e7b44d98556d925bc569aae4c4972dcf99cc95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fef91c63deabb55ce444ff322c09b9e63e30f505afd785e35f70feec8820978ef8512d327ad3baddf76fea180dce56197ae21556ce7ec1501df33e5171699fc
|
7
|
+
data.tar.gz: 5e53be06553d90ba8d4b952ff07698cc5da4d9e375744938665f5f3220938ebdb9d92a252b61716bcf4e8219876ed63f1b47a97a3c5b3c12d2659847b00cb622
|
data/lib/rbbt/sources/kegg.rb
CHANGED
@@ -110,11 +110,11 @@ if defined? Entity
|
|
110
110
|
self
|
111
111
|
when format == "KEGG Gene ID"
|
112
112
|
ensembl = from_kegg.clean_annotations
|
113
|
-
Gene.setup(Translation.job(:tsv_translate, "", :organism => organism, :genes => ensembl, :format => new_format).
|
113
|
+
Gene.setup(Translation.job(:tsv_translate, "", :organism => organism, :genes => ensembl, :format => new_format).exec.chunked_values_at(ensembl), new_format, organism).tap{|o| o.extend AnnotatedArray if AnnotatedArray === self }
|
114
114
|
when new_format == "KEGG Gene ID"
|
115
115
|
to_kegg
|
116
116
|
else
|
117
|
-
Gene.setup(Translation.job(:tsv_translate, "", :organism => organism, :genes => self, :format => new_format).
|
117
|
+
Gene.setup(Translation.job(:tsv_translate, "", :organism => organism, :genes => self, :format => new_format).exec.chunked_values_at(self), new_format, organism).tap{|o| o.extend AnnotatedArray if AnnotatedArray === self }
|
118
118
|
end
|
119
119
|
end
|
120
120
|
|
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.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|