Skip to content
Snippets Groups Projects
Commit 47cbb7cd authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Xref->db isn't actually an ensembl dba as per convention, it's actually an...

Xref->db isn't actually an ensembl dba as per convention, it's actually an Xref special object. Trying to spin up an adaptor manually.
parent 2c407294
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ use File::Basename;
use IPC::Open3;
use XrefMapper::db;
use Bio::EnsEMBL::DBSQL::AltAlleleGroupAdaptor;
=head2 new
......@@ -490,7 +490,9 @@ sub get_id_from_species_name {
sub get_alt_alleles {
my $self = shift;
my $aaga = $self->core->db->get_adaptor('AltAlleleGroupAdaptor');
my $dbc = $self->core->dbc;
my $aaga = Bio::EnsEMBL::DBSQL::AltAlleleGroupAdaptor->new($dbc);
my $aa_list = $aaga->fetch_all_groups();
my $count = scalar(@$aa_list);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment