Module: Bio::Ucsc::DroYak2

Extended by:
TableClassDetector
Defined in:
lib/bio-ucsc/droyak2.rb,
lib/bio-ucsc/droyak2/est.rb,
lib/bio-ucsc/droyak2/gap.rb,
lib/bio-ucsc/droyak2/gold.rb,
lib/bio-ucsc/droyak2/mrna.rb,
lib/bio-ucsc/droyak2/rmsk.rb,
lib/bio-ucsc/droyak2/chaindm3.rb,
lib/bio-ucsc/droyak2/intronest.rb,
lib/bio-ucsc/droyak2/chaindm3link.rb

Defined Under Namespace

Classes: ChainDm3, ChainDm3Link, DBConnection, Est, Gap, Gold, IntronEst, Mrna, Rmsk

Constant Summary collapse

CHROMS =
%w(chr2L chr2R chr2h chr3L chr3R chr3h chr4
chrX chrXh chrYh chrU chrUh chrM)

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



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

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



19
20
21
# File 'lib/bio-ucsc/droyak2.rb', line 19

def self.default
  DBConnection.default
end