rbbt-sources 3.1.11 → 3.1.14
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/MCLP.rb +25 -0
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc90d49b8322a4c9257bb4bf83610511b30a3a73
|
4
|
+
data.tar.gz: 53ea5b6bfbb4ae19ddd3b4323225c554bc624c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03a06569443e9e0b196fd1917c282bfb48f879fca7ecfb93c5139893540a8bfa6f661f742a840dec4b97e4891ee2566f855b3c85148e87e8468b0162f64757b3
|
7
|
+
data.tar.gz: aafbcc3a8a02b2e1c32912a4fab1ffc6e897e74acdf01ca3252057a28c83798ba8e92c6348f9458d248a9adfedb2b0aa44c2910e0ea2b467b3b42f099208b10b
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'rbbt-util'
|
2
|
+
require 'rbbt/resource'
|
3
|
+
require 'rbbt/sources/organism'
|
4
|
+
|
5
|
+
module MCLP
|
6
|
+
extend Resource
|
7
|
+
self.subdir = 'share/databases/MCLP'
|
8
|
+
|
9
|
+
def self.organism(org="Hsa")
|
10
|
+
Organism.default_code(org)
|
11
|
+
end
|
12
|
+
|
13
|
+
#self.search_paths = {}
|
14
|
+
#self.search_paths[:default] = :lib
|
15
|
+
|
16
|
+
|
17
|
+
MCLP.claim MCLP.RPPA, :proc do
|
18
|
+
url = "http://tcpaportal.org/mclp/download/MCLP-v1.1-Level4.zip"
|
19
|
+
tsv = TSV.open(url, :header_hash => "", :fix => Proc.new{|l| l.gsub("NA", "")}, :cast => :to_f, :namespace => MCLP.organism, :type => :list)
|
20
|
+
tsv.transpose("Antibody").to_s
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
iif MCLP.RPPA.produce(true).find if __FILE__ == $0
|
25
|
+
|
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.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|
@@ -92,6 +92,7 @@ files:
|
|
92
92
|
- lib/rbbt/sources/COSTART.rb
|
93
93
|
- lib/rbbt/sources/CTCAE.rb
|
94
94
|
- lib/rbbt/sources/HPRD.rb
|
95
|
+
- lib/rbbt/sources/MCLP.rb
|
95
96
|
- lib/rbbt/sources/MSigDB.rb
|
96
97
|
- lib/rbbt/sources/NCI.rb
|
97
98
|
- lib/rbbt/sources/PSI_MI.rb
|
@@ -180,19 +181,19 @@ signing_key:
|
|
180
181
|
specification_version: 4
|
181
182
|
summary: Data sources for the Ruby Bioinformatics Toolkit (rbbt)
|
182
183
|
test_files:
|
184
|
+
- test/test_helper.rb
|
183
185
|
- test/rbbt/sources/test_pubmed.rb
|
184
|
-
- test/rbbt/sources/
|
185
|
-
- test/rbbt/sources/test_biomart.rb
|
186
|
+
- test/rbbt/sources/test_string.rb
|
186
187
|
- test/rbbt/sources/test_gscholar.rb
|
187
|
-
- test/rbbt/sources/
|
188
|
+
- test/rbbt/sources/test_biomart.rb
|
189
|
+
- test/rbbt/sources/test_go.rb
|
188
190
|
- test/rbbt/sources/test_pina.rb
|
189
191
|
- test/rbbt/sources/test_entrez.rb
|
192
|
+
- test/rbbt/sources/test_pharmagkb.rb
|
193
|
+
- test/rbbt/sources/test_organism.rb
|
190
194
|
- test/rbbt/sources/test_matador.rb
|
191
|
-
- test/rbbt/sources/
|
195
|
+
- test/rbbt/sources/test_tfacts.rb
|
196
|
+
- test/rbbt/sources/test_kegg.rb
|
192
197
|
- test/rbbt/sources/test_synapse.rb
|
193
|
-
- test/rbbt/sources/test_go.rb
|
194
198
|
- test/rbbt/sources/test_stitch.rb
|
195
|
-
- test/rbbt/sources/
|
196
|
-
- test/rbbt/sources/test_string.rb
|
197
|
-
- test/rbbt/sources/test_tfacts.rb
|
198
|
-
- test/test_helper.rb
|
199
|
+
- test/rbbt/sources/test_HPRD.rb
|