6 /markers/ssr.mas - a Mason component displaying information about ssr markers
16 $marker - a CXGN::Marker object.
22 Lukas Mueller <lam87@cornell.edu>
24 Based on old SGN code.
36 if (!$marker->ssr_data()) { return; }
38 my $marker_id = $marker->marker_id();
41 #my $query = 'SELECT repeat_motif, reapeat_nr FROM ssr_repeats WHERE marker_id='.$marker_id;
42 #my $repeats = $dbh->selectall_arrayref($query);
43 my $contig_page='/search/unigene.pl?type=legacy&';
44 my $est_page='/search/est.pl?request_type=automatic&request_from=1&request_id=';
45 my $ssr_page='/search/markers/markerinfo.pl?marker_id=';
48 my ($ssr_id, $ssr_name, $est_trace, $start_primer, $end_primer, $pcr_length, $ann_high, $ann_low) = $marker->ssr_data();
54 # Get the repeat motifs.
55 # my @repeat_motifs=();
56 # my @repeat_numbers=();
58 $html.="<br /><b>Annealing temperatures:</b> <b>Low:</b> " . $ann_low . " <b>High:</b> " . $ann_high;
60 my @motifs = $marker->ssr_motif_info($ssr_id);
61 foreach my $m (@motifs) {
62 my ($motif, $r_nr) = ($m->[0], $m->[1]);
64 $html.="<br /><b>Repeat motif:</b> <span class=\"sequence\">$motif</span> <b>Repeat number:</b> $r_nr";
66 $html.="<br /><b>Forward primer:</b> <span class=\"sequence\">$start_primer</span>";
67 $html.="<br /><b>Reverse primer:</b> <span class=\"sequence\">$end_primer</span>";
68 $html.="<br /><b>Predicted size:</b> $pcr_length";
71 $html = CXGN::Page::FormattingHelpers::info_section_html(title=>'SSR info',contents=>$html)