Bio-EnsEMBL
view release on metacpan or search on metacpan
lib/Bio/EnsEMBL/IdMapping/Cache.pm view on Meta::CPAN
$dba->dnadb($dna_dba);
}
$self->{'_dba'}->{$prefix} = $dba;
} ## end unless ( $self->{'_dba'}->...)
return $self->{'_dba'}->{$prefix};
} ## end sub get_DBAdaptor
sub get_production_DBAdaptor() {
my ($self) = @_;
my $dba = new Bio::EnsEMBL::DBSQL::DBAdaptor(
-host => $self->conf->param("productionhost"),
-port => $self->conf->param("productionport"),
-user => $self->conf->param("productionuser"),
-pass => $self->conf->param("productionpass"),
-dbname => $self->conf->param("productiondbname"));
return $dba;
}
( run in 0.449 second using v1.01-cache-2.11-cpan-65fba6d93b7 )