Module: Gene

Defined in:
lib/rbbt/sources/go.rb,
lib/rbbt/sources/NCI.rb,
lib/rbbt/sources/kegg.rb,
lib/rbbt/sources/pfam.rb,
lib/rbbt/sources/pina.rb,
lib/rbbt/sources/string.rb,
lib/rbbt/sources/tfacts.rb,
lib/rbbt/sources/reactome.rb

Constant Summary collapse

INDEX_CACHE =
{}

Class Method Summary collapse

Class Method Details

.gene_kegg_pathway_indexObject



117
118
119
120
# File 'lib/rbbt/sources/kegg.rb', line 117

def self.gene_kegg_pathway_index
  @@gene_kegg_pathway_index ||= 
    KEGG.gene_pathway.tsv(:persist => true, :key_field => "KEGG Gene ID", :fields => ["KEGG Pathway ID"], :type => :flat, :merge => true)
end