rbbt-sources 3.0.22 → 3.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/etc/allowed_biomart_archives +1 -0
- data/lib/rbbt/sources/reactome.rb +4 -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: f378051f6e4cf0a83de22c0211f3db2447202d39
|
|
4
|
+
data.tar.gz: eb9ae98e8f5415d5f611ad62a47ccb3da692f322
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03c04ed1804e4cf19c3397fd5362b3f495d6e66af8b60bb3619a59b2cd36d5a207c4f4ef3c01ba3dee11d886d8aa096bb8e7e8abaf20ec18df2d3ed123f146d0
|
|
7
|
+
data.tar.gz: f931f2764266e4e0aa4f26c8ef4147c41f668adf84e7b1959c6f4095953d3e90e7f97ab23569406232a57255171c4f8560870d687e88c362e1762b6fc31a84b1
|
|
@@ -6,7 +6,8 @@ module Reactome
|
|
|
6
6
|
self.subdir = "share/databases/Reactome"
|
|
7
7
|
|
|
8
8
|
Reactome.claim Reactome.protein_pathways, :proc do
|
|
9
|
-
url = "http://www.reactome.org/download/current/uniprot_2_pathways.stid.txt"
|
|
9
|
+
#url = "http://www.reactome.org/download/current/uniprot_2_pathways.stid.txt"
|
|
10
|
+
url = "http://www.reactome.org/download/current/UniProt2Reactome.txt"
|
|
10
11
|
tsv = TSV.open(Open.open(url), :key_field => 0, :fields => [1], :merge => true, :type => :double)
|
|
11
12
|
tsv.key_field = "UniProt/SwissProt Accession"
|
|
12
13
|
tsv.fields = ["Reactome Pathway ID"]
|
|
@@ -15,7 +16,8 @@ module Reactome
|
|
|
15
16
|
end
|
|
16
17
|
|
|
17
18
|
Reactome.claim Reactome.pathway_names, :proc do
|
|
18
|
-
url = "http://www.reactome.org/download/current/uniprot_2_pathways.stid.txt"
|
|
19
|
+
#url = "http://www.reactome.org/download/current/uniprot_2_pathways.stid.txt"
|
|
20
|
+
url = "http://www.reactome.org/download/current/UniProt2Reactome.txt"
|
|
19
21
|
tsv = TSV.open(Open.open(url), :key_field => 1, :fields => [2], :type => :single)
|
|
20
22
|
tsv.key_field = "Reactome Pathway ID"
|
|
21
23
|
tsv.fields = ["Pathway Name"]
|
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.23
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Miguel Vazquez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rbbt-util
|