class Bio::KEGG::Keggtab::DB

Bio::KEGG::Keggtab::DB

Attributes

abbrev[R]

Short name for the database. (e.g. 'ec', 'hsa', 'eco', …) korg and keggorg are alias for abbrev method.

aliases[R]

Array containing all alias names for the database. (e.g. [“H.sapiens”, “hsa”], [“E.coli”, “eco”], …)

keggorg[R]

Short name for the database. (e.g. 'ec', 'hsa', 'eco', …) korg and keggorg are alias for abbrev method.

korg[R]

Short name for the database. (e.g. 'ec', 'hsa', 'eco', …) korg and keggorg are alias for abbrev method.

name[R]

Database name. (e.g. 'enzyme', 'h.sapies', 'e.coli', …)

path[R]

Database flat file path. (e.g. '$BIOROOT/db/kegg/genes', …)

type[R]

Definition type. (e.g. 'enzyme', 'alias', 'genes', …)

Public Class Methods

new(db_name, db_type, db_path, db_abbrev) click to toggle source

Create a container object for database definitions.

# File lib/bio/db/kegg/keggtab.rb, line 73
def initialize(db_name, db_type, db_path, db_abbrev)
  @name = db_name
  @type = db_type
  @path = db_path
  @abbrev = db_abbrev
  @aliases = Array.new
end