Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/EnsEMBL/Web/Component/Compara_Alignments.pm
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ sub content {
#find out if this species is low_coverage and the alignment is EPO_EXTENDED/EPO_LOW_COVERAGE
if ($method_type =~ /(EPO_EXTENDED|EPO_LOW_COVERAGE)/ && @$align_blocks) {
# The species is not low-coverage if it's been used in one of the EPO alignments
$is_low_coverage_species = !scalar( grep {($_->{type} eq 'EPO') && $_->{species}->{$object->species}}
my $prod_name = $hub->species_defs->get_config($object->species, 'SPECIES_PRODUCTION_NAME');
$is_low_coverage_species = !scalar( grep {($_->{type} eq 'EPO') && $_->{species}->{$prod_name}}
values %{$hub->species_defs->multi_hash->{'DATABASE_COMPARA'}{'ALIGNMENTS'}}
);
} elsif ($target_slice && $method_type eq 'CACTUS_DB') {
Expand Down