Merge pull request #5205 from solgenomics/topic/generic_trial_upload
[sgn.git] / mason / tools / sixframe_translate_standalone.mas
blobc0c0c1cb64887be415b762b3e921c8237a1dc5ea
1 <%doc>
3 =head1 NAME
5 /sixframe_translate_standalone.mas - standalone page that displays the
6 six-frame translation of the L<Bio::SeqI> you pass it
8 =head1 ARGS
10 =head2 seq - a Bio::SeqI
12 =head2 blast_url - optional URL for posting BLAST requests - if
13 passed, will render buttons that post a form with the sequence to the
14 given URL
16 =cut
18 </%doc>
20 <%args>
21   $seq
22   $blast_url
23 </%args>
26 <& /page/page_title.mas, title => 'Six-Frame Translation: '.$seq->id &>
28 <& /util/import_javascript.mas, classes => 'Text.Markup' &>
30 <&| /page/info_section.mas, title => 'Nucleotide Sequence' &>
31   <div style="margin-left: 3em">
32     <& /sequence/with_markup.mas, seq => $seq, width => 80, subdiv => undef, blast_url => $blast_url  &>
33   </div>
34 </&>
36 <&| /page/info_section.mas, title => 'Six-frame Translation' &>
37   <& /sequence/sixframe_translate.mas, %ARGS &>
38 </&>