From 731a9510bca374c9e44f99b95b6c0a8e670566ad Mon Sep 17 00:00:00 2001 From: Thomas Walsh Date: Wed, 10 Sep 2025 20:48:40 +0100 Subject: [PATCH] Update Compara track description links --- modules/EnsEMBL/Web/ImageConfigExtension/Tracks.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/EnsEMBL/Web/ImageConfigExtension/Tracks.pm b/modules/EnsEMBL/Web/ImageConfigExtension/Tracks.pm index 4d78e3b8e5..2582a1c709 100644 --- a/modules/EnsEMBL/Web/ImageConfigExtension/Tracks.pm +++ b/modules/EnsEMBL/Web/ImageConfigExtension/Tracks.pm @@ -946,7 +946,7 @@ sub add_synteny { species => $species_2, species_hr => $species_readable, caption => $caption, - description => qq{Synteny regions between $self_label and $label}, + description => qq{Synteny regions between $self_label and $label}, colours => $colours, display => 'off', renderers => [qw(off Off normal On)], @@ -970,12 +970,12 @@ sub add_alignments { my ($static, $wga_page); my $division = $species_defs->EG_DIVISION; if ($division) { - $wga_page = $static = 'whole_genome_alignment.html'; + $static = 'whole_genome_alignment.html'; } else { $static = 'analyses.html'; - $wga_page = $static.'#conservation'; } + $wga_page = 'multiple_genome_alignments.html'; foreach my $row (values %{$hashref->{'ALIGNMENTS'}}) { next unless $row->{'species'}{$prod_name}; @@ -1007,7 +1007,7 @@ sub add_alignments { $description = 'Pairwise alignments'; } - $description = qq{$description between $self_label and $other_label}; + $description = qq{$description between $self_label and $other_label}; $description .= " $1" if $row->{'name'} =~ /\((on.+)\)/; $alignments->{$menu_key}{$row->{'id'}} = { @@ -1043,13 +1043,12 @@ sub add_alignments { if ($row->{'conservation_score'}) { my ($program) = $hashref->{'CONSERVATION_SCORES'}{$row->{'conservation_score'}}{'type'} =~ /(.+)_CONSERVATION_SCORE/; - $options{'description'} = sprintf '%s conservation scores based on the %s', $wga_page, $program, $row->{'name'}; - $alignments->{'conservation'}{"$row->{'id'}_scores"} = { %options, conservation_score => $row->{'conservation_score'}, name => "Conservation score for $row->{'name'}", caption => "$n_species way $program scores", + description => sprintf('%s conservation scores based on the %s', $program, $row->{'name'}), order => sprintf('%12d::%s::%s', 1e12-$n_species*10, $row->{'type'}, $row->{'name'}), display => 'off', renderers => [ 'off', 'Off', 'tiling', 'Tiling array' ], @@ -1060,6 +1059,7 @@ sub add_alignments { constrained_element => $row->{'constrained_element'}, name => "Constrained elements for $row->{'name'}", caption => "$n_species way $program elements", + description => sprintf('%s constrained elements based on the %s', $program, $row->{'name'}), order => sprintf('%12d::%s::%s', 1e12-$n_species*10+1, $row->{'type'}, $row->{'name'}), display => 'off', renderers => [ 'off', 'Off', 'compact', 'On' ],