@@ -946,7 +946,7 @@ sub add_synteny {
946
946
species => $species_2 ,
947
947
species_hr => $species_readable ,
948
948
caption => $caption ,
949
- description => qq{ <a href="/info/genome/compara/analyses .html#synteny " class="cp-external">Synteny regions</a> between $self_label and $label } ,
949
+ description => qq{ <a href="/info/genome/compara/synteny .html" class="cp-external">Synteny regions</a> between $self_label and $label } ,
950
950
colours => $colours ,
951
951
display => ' off' ,
952
952
renderers => [qw( off Off normal On) ],
@@ -970,12 +970,12 @@ sub add_alignments {
970
970
my ($static , $wga_page );
971
971
my $division = $species_defs -> EG_DIVISION;
972
972
if ($division ) {
973
- $wga_page = $ static = ' whole_genome_alignment.html' ;
973
+ $static = ' whole_genome_alignment.html' ;
974
974
}
975
975
else {
976
976
$static = ' analyses.html' ;
977
- $wga_page = $static .' #conservation' ;
978
977
}
978
+ $wga_page = ' multiple_genome_alignments.html' ;
979
979
980
980
foreach my $row (values %{$hashref -> {' ALIGNMENTS' }}) {
981
981
next unless $row -> {' species' }{$prod_name };
@@ -1007,7 +1007,7 @@ sub add_alignments {
1007
1007
$description = ' Pairwise alignments' ;
1008
1008
}
1009
1009
1010
- $description = qq{ <a href="$static " class="cp-external">$description </a> between $self_label and $other_label } ;
1010
+ $description = qq{ <a href="/info/genome/compara/ $static " class="cp-external">$description </a> between $self_label and $other_label } ;
1011
1011
$description .= " $1 " if $row -> {' name' } =~ / \( (on.+)\) / ;
1012
1012
1013
1013
$alignments -> {$menu_key }{$row -> {' id' }} = {
@@ -1043,13 +1043,12 @@ sub add_alignments {
1043
1043
if ($row -> {' conservation_score' }) {
1044
1044
my ($program ) = $hashref -> {' CONSERVATION_SCORES' }{$row -> {' conservation_score' }}{' type' } =~ / (.+)_CONSERVATION_SCORE/ ;
1045
1045
1046
- $options {' description' } = sprintf ' <a href="/info/genome/compara/%s">%s conservation scores</a> based on the %s' , $wga_page , $program , $row -> {' name' };
1047
-
1048
1046
$alignments -> {' conservation' }{" $row ->{'id'}_scores" } = {
1049
1047
%options ,
1050
1048
conservation_score => $row -> {' conservation_score' },
1051
1049
name => " Conservation score for $row ->{'name'}" ,
1052
1050
caption => " $n_species way $program scores" ,
1051
+ description => sprintf (' <a href="/info/genome/compara/conservation_and_constrained.html">%s conservation scores</a> based on the %s' , $program , $row -> {' name' }),
1053
1052
order => sprintf (' %12d::%s::%s' , 1e12-$n_species *10, $row -> {' type' }, $row -> {' name' }),
1054
1053
display => ' off' ,
1055
1054
renderers => [ ' off' , ' Off' , ' tiling' , ' Tiling array' ],
@@ -1060,6 +1059,7 @@ sub add_alignments {
1060
1059
constrained_element => $row -> {' constrained_element' },
1061
1060
name => " Constrained elements for $row ->{'name'}" ,
1062
1061
caption => " $n_species way $program elements" ,
1062
+ description => sprintf (' <a href="/info/genome/compara/conservation_and_constrained.html">%s constrained elements</a> based on the %s' , $program , $row -> {' name' }),
1063
1063
order => sprintf (' %12d::%s::%s' , 1e12-$n_species *10+1, $row -> {' type' }, $row -> {' name' }),
1064
1064
display => ' off' ,
1065
1065
renderers => [ ' off' , ' Off' , ' compact' , ' On' ],
0 commit comments