[Bioperl-l] Connecting to EnsEMBL databases help!

Stefan Kirov skirov at utk.edu
Wed Oct 5 16:46:36 EDT 2005


There is no such database. It is homo_sapiens_core_34_35g. You can (if 
you have mysql client, or you can install mysql browser, see mysql.com):
mysql -h ensembldb.ensembl.org -u anonymous
show databases;
to see all active databases.
Also ensembl-dev is the list where you should send these questions to.
Good luck.
Stefan



Olena Morozova wrote:

>I am using the following script to connect to the Ensembl core. I keep
>getting the message "unknown database homo_sapiens_core". Anyone knows
>a solution to this?
>I would really appreciate any help!
>Thanks
>Olena
>
>#!/bin/perl -w
>
>use lib 'C:/perl/lib/ensembl/modules';
>use Bio::EnsEMBL::DBSQL::DBAdaptor;
>use Bio::EnsEMBL::DBSQL::SliceAdaptor;
>
>my $host   = 'ensembldb.ensembl.org';
>my $user   = 'anonymous';
>my $dbname = 'homo_sapiens_core';
>my $db = new Bio::EnsEMBL::DBSQL::DBAdaptor(
>    -host   => $host,
>    -user   => $user,
>    -dbname => $dbname);
>
>my $slice_adaptor = $db->get_SliceAdaptor();
>my $slice = $slice_adaptor->fetch_by_region('chromosome',
>'X');
>
>_______________________________________________
>Bioperl-l mailing list
>Bioperl-l at portal.open-bio.org
>http://portal.open-bio.org/mailman/listinfo/bioperl-l
>  
>



More information about the Bioperl-l mailing list