[ensembl-dev] downloading old Ensembl version using Perl API

Thomas Juettemann juettemann at gmail.com
Mon Feb 21 08:23:27 GMT 2011

Dear all,

another newbie question.

I'd like to use the Perl API to fetch data from Release 54 (NCBI36/hg18).
I tried to connect with db_version 54 (I read the disclaimer in API docs):

  my $registry = 'Bio::EnsEMBL::Registry';
      -host => 'ensembldb.ensembl.org',
      -user => 'anonymous',
      -port => 5306,
      -db_version => 54

but fetching a slice fails (2nd line):

 my $slice_adaptor  = $registry->get_adaptor( 'Human', 'Core', 'Slice' );
 my $slice = $slice_adaptor->fetch_by_region( 'chromosome', $chr);

Any help/pointers much appreciated.

Best wishes,

More information about the Dev mailing list