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.
129 130 131 132 |
# File 'lib/chem/db/kegg.rb', line 129 def initialize organism, kegg @organism = organism @kegg = kegg end |
Instance Method Details
#[](key) ⇒ Object
139 140 141 |
# File 'lib/chem/db/kegg.rb', line 139 def [](key) @kegg end |
#pfam ⇒ Object
134 135 136 137 |
# File 'lib/chem/db/kegg.rb', line 134 def pfam pfam2gene = @kegg.gene_to_pfam(@organism) pfam2gene end |