Sha256: 3e7661f2000881e10aa89f3257dca1011ee5708662cb25ce3a3fb229882228d4
Contents?: true
Size: 601 Bytes
Versions: 2
Compression:
Stored size: 601 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper') require 'rbbt/sources/organism' require 'test/unit' class TestEntrez < Test::Unit::TestCase def test_identifiers assert TSV.new(Organism.identifiers('Sce'))['S000006120']["Ensembl Gene ID"].include?('YPL199C') assert TSV.new(Organism::Sce.identifiers)['S000006120']["Ensembl Gene ID"].include?('YPL199C') #assert Organism.identifiers('Hsa')['1020']["Associated Gene Name"].include?('CDK5') end def test_lexicon assert TSV.new(Organism.lexicon('Sce'))['S000006120'].flatten.include?('YPL199C') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rbbt-sources-0.2.1 | test/rbbt/sources/test_organism.rb |
rbbt-sources-0.2.0 | test/rbbt/sources/test_organism.rb |