Module: Bio::Ucsc::TaeGut1

Extended by:
TableClassDetector
Defined in:
lib/bio-ucsc/taegut1.rb,
lib/bio-ucsc/taegut1/est.rb,
lib/bio-ucsc/taegut1/gap.rb,
lib/bio-ucsc/taegut1/gold.rb,
lib/bio-ucsc/taegut1/mrna.rb,
lib/bio-ucsc/taegut1/rmsk.rb,
lib/bio-ucsc/taegut1/intronest.rb,
lib/bio-ucsc/taegut1/chaingalgal3.rb,
lib/bio-ucsc/taegut1/chaingalgal3link.rb

Defined Under Namespace

Classes: ChainGalGal3, ChainGalGal3Link, DBConnection, Est, Gap, Gold, IntronEst, Mrna, Rmsk

Constant Summary collapse

CHROMS =
%w(chr1 chr1A chr1B chr2 chr3 chr4 chr4A chr5 chr6 chr7 chr8 chr9 chr10
chr11 chr12 chr13 chr14 chr15 chr16 chr17 chr18 chr19 chr20
chr21 chr22 chr23 chr24 chr25 chr26 chr27 chr28 chrZ chrM)

Constants included from TableClassDetector

Bio::Ucsc::TableClassDetector::COMMON_CLASS_METHODS, Bio::Ucsc::TableClassDetector::PARAMETERS, Bio::Ucsc::TableClassDetector::RESERVED_METHODS, Bio::Ucsc::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



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

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



21
22
23
# File 'lib/bio-ucsc/taegut1.rb', line 21

def self.default
  DBConnection.default
end