rbbt-sources 3.1.18 → 3.1.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6a24c95d852df442ed303fe4fdc57b47b2fd0f2
4
- data.tar.gz: ea6a37e44a97d4a8659a8d07ee58f7264fa50062
3
+ metadata.gz: 2e37f4f4156576088ee39f1836f07941e4a26619
4
+ data.tar.gz: 6f223756910829b3fc37348c93b7d7b73caa3e9f
5
5
  SHA512:
6
- metadata.gz: a78985096754ac5d3689f06306c470b2f82334c9e427cb5efe05a88d78051fab07644e656f646079903eb2811642274039b6b71b8c233ef9e2f7fa45dd672add
7
- data.tar.gz: 99004a5e7c6bc624f371f70306600cca13f915a13c2021c7ac50705206b6cc8df678d757843ab6e969c0b5dd4b453ce3e8f58d9ad0b9b766162e9042cb108842
6
+ metadata.gz: 8daf49212a7f547fb6c098b578c698daa5999b5d299b1f0435bb6b4437070ec8105488a4180c6b7726ab0f16498b32476bfdcc0e0af95e6ae910967aa6e044a0
7
+ data.tar.gz: 4661d5dd8c2d02ef2426d21fe42569b5eb536666929c1a66b0a171baf7f6db6756366b7683d4eec2eb1ec966410cd7f602e9ef8bd7a6a39ae55fdbf087dd31e2
@@ -0,0 +1,23 @@
1
+ require 'rbbt-util'
2
+ require 'rbbt/resource'
3
+
4
+ module GTRD
5
+ extend Resource
6
+ self.subdir = 'share/databases/GTRD'
7
+
8
+ def self.organism(org="Hsa")
9
+ Organism.default_code(org)
10
+ end
11
+
12
+ #self.search_paths = {}
13
+ #self.search_paths[:default] = :lib
14
+
15
+
16
+ GTRD.claim GTRD.tfClass, :proc do
17
+ url = "http://gtrd.biouml.org/downloads/current/tfClass2ensembl.txt.gz"
18
+ CMD.cmd("grep Homo | cut -f 2", :in => Open.read(url)).read
19
+ end
20
+ end
21
+
22
+ iif GTRD.tfClass.produce.find if __FILE__ == $0
23
+
@@ -11,7 +11,7 @@ module CORUM
11
11
  end
12
12
 
13
13
  CORUM.claim CORUM.complex_names, :proc do
14
- url = "http://mips.helmholtz-muenchen.de/corum/download/allComplexes.txt"
14
+ url = "http://mips.helmholtz-muenchen.de/corum/download/allComplexes.txt.zip"
15
15
  tsv = TSV.open(url, :header_hash => "", :sep2 => ';', :fix => Proc.new{|l| "CORUM:" + l.gsub('"','')})
16
16
  tsv.namespace = organism
17
17
  tsv.fields = tsv.fields.collect{|f| f.gsub('"','')}
@@ -22,7 +22,7 @@ module CORUM
22
22
  end
23
23
 
24
24
  CORUM.claim CORUM.complexes, :proc do
25
- url = "http://mips.helmholtz-muenchen.de/corum/download/allComplexes.txt"
25
+ url = "http://mips.helmholtz-muenchen.de/corum/download/allComplexes.txt.zip"
26
26
  tsv = TSV.open(url, :header_hash => "", :sep2 => ';', :fix => Proc.new{|l| "CORUM:" + l.gsub('"','')})
27
27
  tsv.namespace = organism
28
28
  tsv.fields = tsv.fields.collect{|f| f.gsub('"','')}.collect{|f|
@@ -3,8 +3,7 @@ require 'rbbt/resource'
3
3
 
4
4
  module KEGG
5
5
  extend Resource
6
- self.pkgdir = "phgx"
7
- self.subdir = "share/kegg"
6
+ self.subdir = "share/databases/kegg"
8
7
 
9
8
 
10
9
  KEGG.claim KEGG.root, :rake, Rbbt.share.install.KEGG.Rakefile.find(:lib)
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.18
4
+ version: 3.1.19
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-08-14 00:00:00.000000000 Z
11
+ date: 2017-09-27 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/CASCADE.rb
93
93
  - lib/rbbt/sources/COSTART.rb
94
94
  - lib/rbbt/sources/CTCAE.rb
95
+ - lib/rbbt/sources/GTRD.rb
95
96
  - lib/rbbt/sources/HPRD.rb
96
97
  - lib/rbbt/sources/MCLP.rb
97
98
  - lib/rbbt/sources/MSigDB.rb
@@ -181,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
182
  version: '0'
182
183
  requirements: []
183
184
  rubyforge_project:
184
- rubygems_version: 2.6.12
185
+ rubygems_version: 2.6.13
185
186
  signing_key:
186
187
  specification_version: 4
187
188
  summary: Data sources for the Ruby Bioinformatics Toolkit (rbbt)