Module: Bio::Ucsc::OviAri1

Extended by:
TableClassDetector
Defined in:
lib/bio-ucsc/oviari1.rb

Defined Under Namespace

Classes: DBConnection

Constant Summary collapse

CHROMS =
%w(Chr1 Chr2 Chr3 Chr4 Chr5 Chr6 Chr7 Chr8 Chr9
Chr10 Chr11 Chr12 Chr13 Chr14 Chr15 Chr16 Chr17 Chr18 Chr19 Chr20
Chr21 Chr22 Chr23 Chr24 Chr25 Chr26 ChrX)

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



24
25
26
27
28
29
30
# File 'lib/bio-ucsc/oviari1.rb', line 24

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



20
21
22
# File 'lib/bio-ucsc/oviari1.rb', line 20

def self.default
  DBConnection.default
end