Class: Ucsc::Hg18::DBConnection
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Ucsc::Hg18::DBConnection
- Defined in:
- lib/ucsc/db_connection.rb
Overview
DESCRIPTION
The Ucsc::Hg18::DBConnection is the actual connection established with the UCSC mysql server.
Direct Known Subclasses
CnpIafrate, CnpLocke, CnpRedon, CnpSebat, CnpSharp, CnpTuzun, Dgv, ExaptedRepeat, GenomicSuperDup, InterruptedRepeat, Microsatellite, SimpleRepeat
Class Method Summary collapse
-
.connect ⇒ Object
DESCRIPTION The Ucsc::Hg18::DBConnection#connect method makes the connection to the UCSC hg18 database.
Class Method Details
.connect ⇒ Object
DESCRIPTION
The Ucsc::Hg18::DBConnection#connect method makes the connection to the UCSC hg18 database.
USAGE
# Connect to the hg18
Ensembl::Core::DBConnection.connect
Arguments: none
27 28 29 30 31 32 33 34 35 |
# File 'lib/ucsc/db_connection.rb', line 27 def self.connect establish_connection( :adapter => DB_ADAPTER, :host => DB_HOST, :database => 'hg18', :username => DB_USERNAME, :password => DB_PASSWORD ) end |