rbbt-sources 3.0.0 → 3.0.1
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/lib/rbbt/sources/HPRD.rb +2 -4
- data/lib/rbbt/sources/InterPro.rb +0 -2
- data/lib/rbbt/sources/biomart.rb +9 -0
- data/lib/rbbt/sources/ensembl_ftp.rb +0 -4
- data/lib/rbbt/sources/entrez.rb +5 -3
- data/lib/rbbt/sources/matador.rb +2 -2
- data/lib/rbbt/sources/pharmagkb.rb +2 -2
- data/lib/rbbt/sources/pina.rb +2 -3
- data/lib/rbbt/sources/pubmed.rb +50 -35
- data/lib/rbbt/sources/stitch.rb +2 -2
- data/lib/rbbt/sources/string.rb +2 -2
- data/lib/rbbt/sources/tfacts.rb +3 -1
- data/share/install/Matador/Rakefile +14 -0
- data/share/install/PharmaGKB/Rakefile +0 -17
- data/share/install/STITCH/Rakefile +2 -2
- data/share/install/lib/rake_helper.rb +91 -0
- data/test/rbbt/sources/test_HPRD.rb +12 -0
- data/test/rbbt/sources/test_biomart.rb +10 -0
- data/test/rbbt/sources/test_gscholar.rb +2 -2
- data/test/rbbt/sources/test_kegg.rb +12 -0
- data/test/rbbt/sources/test_matador.rb +12 -0
- data/test/rbbt/sources/test_pharmagkb.rb +12 -0
- data/test/rbbt/sources/test_pina.rb +12 -0
- data/test/rbbt/sources/test_pubmed.rb +0 -8
- data/test/rbbt/sources/test_stitch.rb +12 -0
- data/test/rbbt/sources/test_string.rb +12 -0
- data/test/rbbt/sources/test_tfacts.rb +14 -0
- metadata +20 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b76cc735fd8fd3ff8f93d84517a8c628fc6c8ac
|
4
|
+
data.tar.gz: 1abc7bb9a8414311f014eed4f1eacfabacf5559f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d511a3b4aa38e9b090e57fdbc10888c41a0b98c727993e099ed0bab590fb3375735e57d3ba2744ac32cb186b741236478922b7fa7eb4506122ff70ef106ced62
|
7
|
+
data.tar.gz: f5e962266840d656270a1efe5be92edc6cd56a856cef88909d55f523e258e598c285f85574ed652128111459d4a36d13c3345b4aec3c51eafdef0877164d8a9a
|
data/lib/rbbt/sources/HPRD.rb
CHANGED
data/lib/rbbt/sources/biomart.rb
CHANGED
@@ -46,6 +46,15 @@ module BioMart
|
|
46
46
|
@archive_url = nil
|
47
47
|
end
|
48
48
|
|
49
|
+
def self.with_archive(data)
|
50
|
+
begin
|
51
|
+
set_archive(data)
|
52
|
+
yield
|
53
|
+
ensure
|
54
|
+
unset_archive
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
49
58
|
def self.get(database, main, attrs = nil, filters = nil, data = nil, open_options = {})
|
50
59
|
open_options = Misc.add_defaults :wget_options => {"--read-timeout=" => 9000, "--tries=" => 1}
|
51
60
|
repeats = true
|
data/lib/rbbt/sources/entrez.rb
CHANGED
@@ -96,14 +96,16 @@ module Entrez
|
|
96
96
|
end
|
97
97
|
|
98
98
|
values.each do |xml|
|
99
|
-
geneid =
|
99
|
+
geneid = xml.match(/<Gene-track_geneid>(\d+)/)[1]
|
100
100
|
|
101
101
|
result[geneid] = xml
|
102
102
|
end
|
103
|
+
|
104
|
+
result
|
103
105
|
end
|
104
106
|
|
105
107
|
genes = {}
|
106
|
-
geneids.each{|id| genes[id] = Gene.new(Open.read(result_files[id])) }
|
108
|
+
geneids.each{|id| next if id.nil? or result_files[id].nil?; genes[id] = Gene.new(Open.read(result_files[id])) }
|
107
109
|
|
108
110
|
if _array
|
109
111
|
genes
|
@@ -123,7 +125,7 @@ def self.gene_text_similarity(gene, text)
|
|
123
125
|
when String === gene || Fixnum === gene
|
124
126
|
begin
|
125
127
|
gene_text = get_gene(gene).text
|
126
|
-
rescue CMD::CMDError
|
128
|
+
rescue NoMethodError, CMD::CMDError
|
127
129
|
return 0
|
128
130
|
end
|
129
131
|
else
|
data/lib/rbbt/sources/matador.rb
CHANGED
data/lib/rbbt/sources/pina.rb
CHANGED
@@ -1,15 +1,14 @@
|
|
1
|
-
require '
|
1
|
+
require 'rbbt'
|
2
|
+
require 'rbbt/resource'
|
2
3
|
|
3
4
|
module Pina
|
4
5
|
extend Resource
|
5
|
-
self.pkgdir = "phgx"
|
6
6
|
self.subdir = "share/pina"
|
7
7
|
|
8
8
|
Pina.claim Pina.root, :rake, Rbbt.share.install.Pina.Rakefile.find(:lib)
|
9
9
|
end
|
10
10
|
|
11
11
|
if defined? Entity and defined? Gene and Entity === Gene
|
12
|
-
require 'rbbt/entity/gene'
|
13
12
|
require 'rbbt/entity/interactor'
|
14
13
|
require 'rbbt/sources/PSI_MI'
|
15
14
|
|
data/lib/rbbt/sources/pubmed.rb
CHANGED
@@ -1,45 +1,24 @@
|
|
1
|
-
require 'rbbt'
|
1
|
+
require 'rbbt-util'
|
2
2
|
require 'libxml'
|
3
3
|
require 'rbbt/sources/gscholar'
|
4
|
+
require 'rbbt/util/filecache'
|
4
5
|
|
5
6
|
# This module offers an interface with PubMed, to perform queries, and
|
6
7
|
# retrieve simple information from articles. It uses the caching
|
7
8
|
# services of Rbbt.
|
8
9
|
module PubMed
|
9
10
|
|
10
|
-
private
|
11
11
|
@@pubmed_lag = 1
|
12
|
-
def self.get_online(pmids)
|
13
12
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
Misc.divide(pmids.sort_by{|v| v.nil? ? 0 : v.to_i}, (pmids.length / 1000) + 1).each do |pmid_list|
|
20
|
-
postdata = "db=pubmed&retmode=xml&id=#{pmid_list* ","}"
|
21
|
-
xml = TmpFile.with_file(postdata) do |postfile|
|
22
|
-
Open.read(url, :quiet => true, :nocache => true, :nice => @@pubmed_lag, :nice_key => "PubMed", "--post-file=" => postfile)
|
23
|
-
end
|
24
|
-
|
25
|
-
articles += xml.scan(/(<PubmedArticle>.*?<\/PubmedArticle>)/smu).flatten
|
26
|
-
end
|
27
|
-
|
28
|
-
if pmids.is_a? Array
|
29
|
-
list = {}
|
30
|
-
articles.each{|article|
|
31
|
-
pmid = article.scan(/<PMID[^>]*?>(.*?)<\/PMID>/).flatten.first
|
32
|
-
list[pmid] = article
|
33
|
-
}
|
34
|
-
return list
|
35
|
-
else
|
36
|
-
return articles.first
|
37
|
-
end
|
13
|
+
# Performs the specified query and returns an array with the PubMed
|
14
|
+
# Ids returned. +retmax+ can be used to limit the number of ids
|
15
|
+
# returned, if is not specified 30000 is used.
|
16
|
+
def self.query(query, retmax=nil)
|
17
|
+
retmax ||= 30000
|
38
18
|
|
19
|
+
Open.read("http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?retmax=#{retmax}&db=pubmed&term=#{query}",:quiet => true, :nocache => true).scan(/<Id>(\d+)<\/Id>/).flatten
|
39
20
|
end
|
40
21
|
|
41
|
-
public
|
42
|
-
|
43
22
|
# Processes the xml with an articles as served by MedLine and extracts
|
44
23
|
# the abstract, title and journal information
|
45
24
|
class Article
|
@@ -239,12 +218,48 @@ module PubMed
|
|
239
218
|
end
|
240
219
|
end
|
241
220
|
|
242
|
-
|
243
|
-
|
244
|
-
# returned, if is not specified 30000 is used.
|
245
|
-
def self.query(query, retmax=nil)
|
246
|
-
retmax ||= 30000
|
221
|
+
def self.get_article(pmids)
|
222
|
+
_array = Array === pmids
|
247
223
|
|
248
|
-
|
224
|
+
pmids = [pmids] unless Array === pmids
|
225
|
+
pmids = pmids.compact.collect{|id| id}
|
226
|
+
|
227
|
+
result_files = FileCache.cache_online_elements(pmids, 'pubmed-{ID}.xml') do |ids|
|
228
|
+
result = {}
|
229
|
+
values = []
|
230
|
+
Misc.divide(ids, (ids.length / 100) + 1).each do |list|
|
231
|
+
begin
|
232
|
+
Misc.try3times do
|
233
|
+
url = "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi"
|
234
|
+
|
235
|
+
postdata = "db=pubmed&retmode=xml&id=#{list* ","}"
|
236
|
+
xml = TmpFile.with_file(postdata) do |postfile|
|
237
|
+
Open.read(url, :quiet => true, :nocache => true, :nice => @@pubmed_lag, :nice_key => "PubMed", "--post-file=" => postfile)
|
238
|
+
end
|
239
|
+
|
240
|
+
values += xml.scan(/(<PubmedArticle>.*?<\/PubmedArticle>)/smu).flatten
|
241
|
+
end
|
242
|
+
rescue
|
243
|
+
Log.exception $!
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
values.each do |xml|
|
248
|
+
pmid = xml.scan(/<PMID[^>]*?>(.*?)<\/PMID>/).flatten.first
|
249
|
+
|
250
|
+
result[pmid] = xml
|
251
|
+
end
|
252
|
+
|
253
|
+
result
|
254
|
+
end
|
255
|
+
|
256
|
+
articles = {}
|
257
|
+
pmids.each{|id| next if id.nil? or result_files[id].nil?; articles[id] = Article.new(Open.read(result_files[id])) }
|
258
|
+
|
259
|
+
if _array
|
260
|
+
articles
|
261
|
+
else
|
262
|
+
articles.values.first
|
263
|
+
end
|
249
264
|
end
|
250
265
|
end
|
data/lib/rbbt/sources/stitch.rb
CHANGED
data/lib/rbbt/sources/string.rb
CHANGED
data/lib/rbbt/sources/tfacts.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'rbbt'
|
2
|
+
require 'rbbt/tsv'
|
2
3
|
require 'rbbt/resource'
|
3
|
-
require 'spreadsheet'
|
4
4
|
|
5
5
|
module TFacts
|
6
6
|
extend Resource
|
@@ -9,6 +9,7 @@ module TFacts
|
|
9
9
|
TFacts.claim TFacts.source["Catalogues.xls"], :url, "http://www.tfacts.org/TFactS-new/TFactS-v2/tfacts/data/Catalogues.xls"
|
10
10
|
|
11
11
|
TFacts.claim TFacts.targets, :proc do
|
12
|
+
require 'spreadsheet'
|
12
13
|
book = Spreadsheet.open TFacts.source["Catalogues.xls"].produce.find
|
13
14
|
sheet = book.worksheet 0
|
14
15
|
|
@@ -23,6 +24,7 @@ module TFacts
|
|
23
24
|
end
|
24
25
|
|
25
26
|
TFacts.claim TFacts.targets_signed, :proc do
|
27
|
+
require 'spreadsheet'
|
26
28
|
book = Spreadsheet.open TFacts.source["Catalogues.xls"].produce.find
|
27
29
|
sheet = book.worksheet 0
|
28
30
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__),'../lib/rake_helper')
|
2
|
+
|
3
|
+
define_source_tasks "matador" => "http://matador.embl.de/media/download/matador.tsv.gz"
|
4
|
+
|
5
|
+
process_tsv :protein_drug, 'matador',
|
6
|
+
:key_field => 3,
|
7
|
+
:fix => lambda{|l| l.sub(/9606./,'')},
|
8
|
+
:fields => [1,0,7,8,9,10,11,12],
|
9
|
+
:header_hash => "",
|
10
|
+
:keep_empty => true do
|
11
|
+
|
12
|
+
headers ['Ensembl Protein ID', 'Chemical', 'Matador ID', 'Score', 'Annotation', 'Mesh_Score', 'Mesh_Annotation', 'Matador_Score', 'Matador_Annotation']
|
13
|
+
end
|
14
|
+
|
@@ -115,23 +115,6 @@ file :pathways => 'source/pathways' do |t|
|
|
115
115
|
end
|
116
116
|
end
|
117
117
|
|
118
|
-
file :gene_pathway => 'source/pathways' do |t|
|
119
|
-
pathways = {}
|
120
|
-
last_pathway = nil
|
121
|
-
|
122
|
-
Open.read(t.prerequisites.first).split(/\n/).each do |line|
|
123
|
-
if line =~ /(P.*):(.*)/
|
124
|
-
last_pathway = $1
|
125
|
-
pathways[last_pathway] = {:name => $2}
|
126
|
-
else
|
127
|
-
type, code, name = line.split(/\t/)
|
128
|
-
next unless type =='Gene'
|
129
|
-
pathways[last_pathway][:genes] ||= []
|
130
|
-
pathways[last_pathway][:genes] << name
|
131
|
-
end
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
118
|
file :gene_pathway => 'source/pathways' do |t|
|
136
119
|
pathways = {}
|
137
120
|
last_pathway = nil
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require File.join(File.dirname(__FILE__),'../lib/rake_helper')
|
2
2
|
|
3
|
-
define_source_tasks "protein_chemicals" => "http://stitch.embl.de
|
4
|
-
"chemicals" => "http://stitch.embl.de
|
3
|
+
define_source_tasks "protein_chemicals" => "http://stitch.embl.de/download/protein_chemical.links.v3.1.tsv.gz",
|
4
|
+
"chemicals" => "http://stitch.embl.de/download/chemicals.v3.1.tsv.gz"
|
5
5
|
|
6
6
|
process_tsv :protein_chemical, 'protein_chemicals',
|
7
7
|
:key => 1,
|
@@ -0,0 +1,91 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../../lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
|
4
|
+
require 'rbbt/tsv'
|
5
|
+
require 'rbbt/util/open'
|
6
|
+
require 'rbbt/util/log'
|
7
|
+
|
8
|
+
SOURCE_DIR = 'source'
|
9
|
+
def define_source_tasks(sources)
|
10
|
+
sources.each do |name, url|
|
11
|
+
file File.join(SOURCE_DIR, name) do |t|
|
12
|
+
FileUtils.mkdir SOURCE_DIR unless File.exists? SOURCE_DIR
|
13
|
+
Log.log "Retrieving file '#{name}' into '#{t.name}': '#{url}'", Log::LOW
|
14
|
+
Open.write(t.name, Open.open(url, :cache => false, :wget_options => {"--no-check-certificate" => true, "--quiet" => false, :pipe => true}))
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
$__headers = nil
|
20
|
+
def headers(values)
|
21
|
+
$__headers = values
|
22
|
+
end
|
23
|
+
|
24
|
+
$__data = nil
|
25
|
+
def data(&block)
|
26
|
+
$__data = block
|
27
|
+
end
|
28
|
+
|
29
|
+
$__tsv_tasks = []
|
30
|
+
def tsv_tasks
|
31
|
+
$__tsv_tasks
|
32
|
+
end
|
33
|
+
|
34
|
+
$__files = []
|
35
|
+
def add_to_defaults(list)
|
36
|
+
$__files = list
|
37
|
+
end
|
38
|
+
|
39
|
+
def process_tsv(file, source, options = {}, &block)
|
40
|
+
|
41
|
+
$__tsv_tasks << file
|
42
|
+
|
43
|
+
file file => File.join(SOURCE_DIR, source) do |t|
|
44
|
+
block.call
|
45
|
+
|
46
|
+
d = TSV.open(t.prerequisites.first, options)
|
47
|
+
|
48
|
+
if d.fields != nil
|
49
|
+
data_fields = d.fields.dup.unshift d.key_field
|
50
|
+
if $__headers.nil?
|
51
|
+
$__headers = data_fields
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
if d.fields
|
56
|
+
headers = d.fields.dup.unshift d.key_field
|
57
|
+
else
|
58
|
+
headers = nil
|
59
|
+
end
|
60
|
+
|
61
|
+
File.open(t.name.to_s, 'w') do |f|
|
62
|
+
f.puts "#" + $__headers * "\t" if $__headers != nil
|
63
|
+
d.each do |key, values|
|
64
|
+
if $__data.nil?
|
65
|
+
line = values.unshift key
|
66
|
+
else
|
67
|
+
line = $__data.call key, values
|
68
|
+
end
|
69
|
+
|
70
|
+
if Array === line
|
71
|
+
key = line.shift
|
72
|
+
fields = line.collect{|elem| Array === elem ? elem * "|" : elem }
|
73
|
+
fields.unshift key
|
74
|
+
f.puts fields * "\t"
|
75
|
+
else
|
76
|
+
f.puts line
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
task :default do |t|
|
84
|
+
($__tsv_tasks + $__files).each do |file| Rake::Task[file].invoke end
|
85
|
+
end
|
86
|
+
|
87
|
+
task :all => :default
|
88
|
+
|
89
|
+
task :clean do
|
90
|
+
($__tsv_tasks + $__files).each do |file| FileUtils.rm file.to_s if File.exists?(file.to_s) end
|
91
|
+
end
|
@@ -8,6 +8,14 @@ require 'test/unit'
|
|
8
8
|
|
9
9
|
class TestBioMart < Test::Unit::TestCase
|
10
10
|
|
11
|
+
def setup
|
12
|
+
BioMart.set_archive "jun2011"
|
13
|
+
end
|
14
|
+
|
15
|
+
def teardown
|
16
|
+
BioMart.unset_archive
|
17
|
+
end
|
18
|
+
|
11
19
|
def test_get
|
12
20
|
assert_raise BioMart::QueryError do
|
13
21
|
BioMart.get('scerevisiae_gene_ensembl','entrezgene', ['protein_id'],['with_unknownattr'])
|
@@ -41,6 +49,8 @@ class TestBioMart < Test::Unit::TestCase
|
|
41
49
|
|
42
50
|
TmpFile.with_file do |f|
|
43
51
|
filename = BioMart.tsv('scerevisiae_gene_ensembl',['Entrez Gene', 'entrezgene'], [['Protein ID', 'protein_id'],['RefSeq Peptide','refseq_peptide']], [], nil, :nocache => false, :wget_options => { :quiet => false}, :filename => f)
|
52
|
+
return
|
53
|
+
puts Open.read(filename)
|
44
54
|
data = TSV.open Open.open(filename, :merge => true)
|
45
55
|
assert(data['852236']['Protein ID'].include? 'CAA84864')
|
46
56
|
assert_equal 'Entrez Gene', data.key_field
|
@@ -5,8 +5,8 @@ require 'test/unit'
|
|
5
5
|
|
6
6
|
class TestGScholar < Test::Unit::TestCase
|
7
7
|
def test_citation
|
8
|
-
assert_match GoogleScholar.citation_link("Ten Years of Pathway Analysis: Current Approaches and Outstanding Challenges").to_s
|
9
|
-
assert_match GoogleScholar.number_cites("Ten Years of Pathway Analysis: Current Approaches and Outstanding Challenges").to_s
|
8
|
+
assert_match /cites/, GoogleScholar.citation_link("Ten Years of Pathway Analysis: Current Approaches and Outstanding Challenges").to_s
|
9
|
+
assert_match /\d+/, GoogleScholar.number_cites("Ten Years of Pathway Analysis: Current Approaches and Outstanding Challenges").to_s
|
10
10
|
end
|
11
11
|
|
12
12
|
end
|
@@ -5,14 +5,6 @@ require 'test/unit'
|
|
5
5
|
|
6
6
|
class TestPubMed < Test::Unit::TestCase
|
7
7
|
|
8
|
-
def test_get_online
|
9
|
-
pmid = '16438716'
|
10
|
-
assert(PubMed.get_online(pmid) =~ /Discovering semantic features in the literature: a foundation for building functional associations./)
|
11
|
-
|
12
|
-
pmids = ['16438716', 17204154]
|
13
|
-
assert(PubMed.get_online(pmids)[pmid] =~ /Discovering semantic features in the literature: a foundation for building functional associations./)
|
14
|
-
end
|
15
|
-
|
16
8
|
def test_get_article
|
17
9
|
pmid = '16438716'
|
18
10
|
assert(PubMed.get_article(pmid).title == "Discovering semantic features in the literature: a foundation for building functional associations.")
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')
|
2
|
+
|
3
|
+
require 'rbbt/sources/tfacts'
|
4
|
+
require 'test/unit'
|
5
|
+
|
6
|
+
class TestTFacts < Test::Unit::TestCase
|
7
|
+
def test_tfacts
|
8
|
+
assert TFacts.targets.exists?
|
9
|
+
assert TFacts.targets_signed.exists?
|
10
|
+
assert TFacts.regulators.exists?
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
|
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.1
|
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-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rbbt-util
|
@@ -123,6 +123,7 @@ files:
|
|
123
123
|
- share/install/Genomes1000/Rakefile
|
124
124
|
- share/install/JoChem/Rakefile
|
125
125
|
- share/install/KEGG/Rakefile
|
126
|
+
- share/install/Matador/Rakefile
|
126
127
|
- share/install/NCI/Rakefile
|
127
128
|
- share/install/Organism/Hsa/Rakefile
|
128
129
|
- share/install/Organism/Mmu/Rakefile
|
@@ -134,12 +135,21 @@ files:
|
|
134
135
|
- share/install/STITCH/Rakefile
|
135
136
|
- share/install/STRING/Rakefile
|
136
137
|
- share/install/lib/helpers.rb
|
138
|
+
- share/install/lib/rake_helper.rb
|
139
|
+
- test/rbbt/sources/test_HPRD.rb
|
137
140
|
- test/rbbt/sources/test_biomart.rb
|
138
141
|
- test/rbbt/sources/test_entrez.rb
|
139
142
|
- test/rbbt/sources/test_go.rb
|
140
143
|
- test/rbbt/sources/test_gscholar.rb
|
144
|
+
- test/rbbt/sources/test_kegg.rb
|
145
|
+
- test/rbbt/sources/test_matador.rb
|
141
146
|
- test/rbbt/sources/test_organism.rb
|
147
|
+
- test/rbbt/sources/test_pharmagkb.rb
|
148
|
+
- test/rbbt/sources/test_pina.rb
|
142
149
|
- test/rbbt/sources/test_pubmed.rb
|
150
|
+
- test/rbbt/sources/test_stitch.rb
|
151
|
+
- test/rbbt/sources/test_string.rb
|
152
|
+
- test/rbbt/sources/test_tfacts.rb
|
143
153
|
- test/test_helper.rb
|
144
154
|
homepage: http://github.com/mikisvaz/rbbt-sources
|
145
155
|
licenses: []
|
@@ -166,9 +176,17 @@ specification_version: 4
|
|
166
176
|
summary: Data sources for the Ruby Bioinformatics Toolkit (rbbt)
|
167
177
|
test_files:
|
168
178
|
- test/rbbt/sources/test_pubmed.rb
|
179
|
+
- test/rbbt/sources/test_pharmagkb.rb
|
169
180
|
- test/rbbt/sources/test_biomart.rb
|
170
181
|
- test/rbbt/sources/test_gscholar.rb
|
182
|
+
- test/rbbt/sources/test_kegg.rb
|
183
|
+
- test/rbbt/sources/test_pina.rb
|
171
184
|
- test/rbbt/sources/test_entrez.rb
|
185
|
+
- test/rbbt/sources/test_matador.rb
|
186
|
+
- test/rbbt/sources/test_HPRD.rb
|
172
187
|
- test/rbbt/sources/test_go.rb
|
188
|
+
- test/rbbt/sources/test_stitch.rb
|
173
189
|
- test/rbbt/sources/test_organism.rb
|
190
|
+
- test/rbbt/sources/test_string.rb
|
191
|
+
- test/rbbt/sources/test_tfacts.rb
|
174
192
|
- test/test_helper.rb
|