Module: Bio::Ucsc::Hg19

Extended by:
TableClassDetector
Defined in:
lib/bio-ucsc/hg19.rb,
lib/bio-ucsc/hg19/gbcdnainfo.rb,
lib/bio-ucsc/hg19/description.rb

Defined Under Namespace

Classes: DBConnection, Description, GbCdnaInfo

Constant Summary

Constants included from TableClassDetector

TableClassDetector::COMMON_CLASS_METHODS, TableClassDetector::PARAMETERS, TableClassDetector::RESERVED_METHODS, TableClassDetector::UPPERCASED_TABLE_PREFIX

Class Method Summary collapse

Methods included from TableClassDetector

bed, const_missing, genepred, generic, psl, rmsk

Class Method Details

.connect(param = Hash.new) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/bio-ucsc/hg19.rb', line 20

def self.connect(param = Hash.new)
  DBConnection.db_adapter = param[:db_adapter] if param[:db_adapter]
  DBConnection.db_host = param[:db_host] if param[:db_host]
  DBConnection.db_username = param[:db_username] if param[:db_username]
  DBConnection.password = param[:password] if param[:password]
  DBConnection.connect
end

.defaultObject



16
17
18
# File 'lib/bio-ucsc/hg19.rb', line 16

def self.default
  DBConnection.default
end