$db = Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::DBAdaptor->new(
-user => 'root',
-dbname => 'pog',
-host => 'caldy',
-driver => 'mysql',
);
None available.
sub get_available_adaptors
{
print "Getting available adaptors\n";
my %pairs = (
"Accession" => "Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::AccessionAdaptor",
"CcdsStatus" => "Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::CcdsStatusAdaptor",
"Ccds" => "Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::CcdsAdaptor",
"GroupVersion" => "Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::GroupVersionAdaptor",
"Group" => "Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::GroupAdaptor",
"Interpretation" => "Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::InterpretationAdaptor",
"Location" => "Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::LocationAdaptor",
"Organization" => "Bio::EnsEMBL::ExternalData::CDSTrack::DBSQL::OrganizationAdaptor",
);
return (\%pairs);
}
1; } |