diff --git a/modules/Bio/EnsEMBL/Registry.pm b/modules/Bio/EnsEMBL/Registry.pm index bc3a71f37bbc2de5174e4228b719067189b7cc65..d39083e997b2b3bc62568e90af0a82369a1c5fc5 100644 --- a/modules/Bio/EnsEMBL/Registry.pm +++ b/modules/Bio/EnsEMBL/Registry.pm @@ -2737,6 +2737,7 @@ sub get_species_and_object_type { $sth->bind_param(1, $stable_id, SQL_VARCHAR); my $param_count = 1; if ($known_species) { + $known_species = $self->get_alias($known_species); $param_count++; $sth->bind_param($param_count, $known_species, SQL_VARCHAR); }