[ensembl-dev] Could not get adaptor MetaContainer for homo_sapiens core

Reece Hart reece at harts.net
Sat May 28 07:18:08 BST 2016


I've been banging my head against this error for a while now. Does it ring
a bell to anyone?

MSG: Could not get adaptor MetaContainer for homo_sapiens core

STACK Bio::EnsEMBL::DBSQL::DBAdaptor::AUTOLOAD
/home/reece/opt/es/84/ensembl/modules/Bio/EnsEMBL/DBSQL/DBAdaptor.pm:995
STACK Bio::EnsEMBL::DBSQL::SliceAdaptor::new
/home/reece/opt/es/84/ensembl/modules/Bio/EnsEMBL/DBSQL/SliceAdaptor.pm:135
STACK Bio::EnsEMBL::Registry::get_adaptor
/home/reece/opt/es/84/ensembl/modules/Bio/EnsEMBL/Registry.pm:1182
STACK toplevel ./sbin/ensembl-fetch:206
Date (localtime)    = Fri May 27 23:11:02 2016
Ensembl API version = 84


I verified the same issue with code lifted almost directly from the core
api tutorial:

use Bio::EnsEMBL::Registry;

my $registry = 'Bio::EnsEMBL::Registry';

$registry->load_registry_from_db(
    -host => 'ensembldb.ensembl.org', # alternatively 'useastdb.ensembl.org'
    -user => 'anonymous'
);

my $sa = $registry->get_adaptor( 'Human', 'Core', 'Slice' );


Oddly (to me), $registry->get_all_DBAdaptors() works.

This is with e-84.

Thanks,
Reece
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20160527/ba39ab75/attachment.html>


More information about the Dev mailing list