Class: Chem::KEGG::KeggDirectory::KeggOrganism
- Inherits:
-
Object
- Object
- Chem::KEGG::KeggDirectory::KeggOrganism
- Defined in:
- lib/chem/db/kegg.rb
Instance Method Summary collapse
- #[](key) ⇒ Object
-
#initialize(organism, kegg) ⇒ KeggOrganism
constructor
A new instance of KeggOrganism.
- #pfam ⇒ Object
Constructor Details
#initialize(organism, kegg) ⇒ KeggOrganism
Returns a new instance of KeggOrganism.
95 96 97 98 |
# File 'lib/chem/db/kegg.rb', line 95 def initialize organism, kegg @organism = organism @kegg = kegg end |
Instance Method Details
#[](key) ⇒ Object
105 106 107 |
# File 'lib/chem/db/kegg.rb', line 105 def [](key) @kegg end |
#pfam ⇒ Object
100 101 102 103 |
# File 'lib/chem/db/kegg.rb', line 100 def pfam pfam2gene = @kegg.gene_to_pfam(@organism) pfam2gene end |