6 /markers/index.mas - a Mason component displaying a marker detail page.
10 The following parameters are required:
16 $dbh - a database handle
20 $marker_id - the id of a marker in the SGN database
24 This component is based on Perl code developed by John Binns.
28 Lukas Mueller <lam87@cornell.edu>
50 public_message => 'marker_id must be provided as an argument for this page',
55 my $marker = CXGN::Marker->new($dbh, $marker_id);
58 $e = SGN::Exception->new(title=>"Marker detail page error: Marker with marker_id $marker_id does not exist in the database");
59 $m->comp('/site/error/exception.mas', exception=>$e);
64 my ($marker_name, @other_names) = $marker->name_that_marker();
66 my $src_feature = "SL2.50";
70 <& /page/page_title.mas, title=> "SGN Marker $marker_name" &>
72 <& /markers/basic_marker_info.mas, marker=>$marker, dbh=>$dbh &>
74 <&| /page/info_section.mas, title=>"Synonyms", collapsible=>1 &>
76 <% join "<br />", @other_names %>
80 <&| /page/info_section.mas, title=>"Locus associations", collapsible=>1 &>
81 <& /markers/kfg.mas, marker=>$marker &>
84 <& /markers/rflp.mas, marker=>$marker &>
86 <& /markers/ssr.mas, marker=>$marker &>
88 <& /markers/cos.mas, marker=>$marker &>
90 <& /markers/cosii_orthologs.mas, marker=>$marker &>
92 <& /markers/derivation.mas, marker=>$marker &>
94 <& /markers/locations.mas, marker=>$marker &>
96 <& /markers/polymorphisms.mas, marker=>$marker &>
98 <& /markers/unigene_match.mas, marker=>$marker &>
100 <& /markers/overgo.mas, marker=>$marker &>
102 <& /markers/cosii_polymorphisms.mas, marker=>$marker &>
104 <& /markers/cosii_files.mas, marker=>$marker &>
106 <& /markers/attributions.mas, marker=>$marker &>
108 <&| /page/info_section.mas, title => "Genomic location of $marker_name", collapsible=>1 &>
109 <& /feature/jbrowse_exact_match.mas, feature=> $marker_name, src_feature=> $src_feature &>
112 <& /markers/comments.mas, marker=>$marker &>
115 % my $referer = '/search/markers/markerinfo.pl?marker_id='.$marker->marker_id();
117 <& /page/comments.mas, object_type=>"marker", object_id=>$marker_id, referer=>$referer &>