[Bioperl-l] Connecting to EnsEMBL databases help!

venomousanimal venomousanimal at web.de
Thu Oct 6 02:56:55 EDT 2005

Olena Morozova schrieb:

>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!
>#!/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',
>Bioperl-l mailing list
>Bioperl-l at portal.open-bio.org
u have to say which homospainscordb u want.


u can look up at ensembl homepage which one is the most recent at the moment 
or look in the api help 

good luck 

More information about the Bioperl-l mailing list