6 use SGN::View::Feature 'mrna_cds_protein_sequence';
9 my @mrnas = grep $_->type->name eq 'mRNA', $feature->child_features;
13 <&| /page/info_section.mas,
14 title => 'Genomic sequence',
15 subtitle => 'unprocessed genomic sequence region underlying this gene',
16 empty_message => 'Not available',
21 <& /feature/region_sequence.mas,
23 blast_url => $blast_url,
28 % for my $mrna ( @mrnas ) {
30 <&| /page/info_section.mas,
31 title => 'mRNA '. $mrna->name,
35 <&| /page/info_section.mas,
36 title => 'Ontology terms',
37 subtitle => 'terms associated with this mRNA',
42 <& /feature/feature_cvterms.mas,
48 % my ( $mrna_sequence, $cds_sequence, $protein_sequence ) = @{(mrna_cds_protein_sequence( $mrna ))[0] || [] };
50 <&| /page/info_section.mas,
51 title => 'cDNA sequence',
53 subtitle => 'spliced cDNA sequence, including UTRs',
54 empty_message => 'Not available',
59 % if( $mrna_sequence ) {
61 <div style="margin-left: 3em">
62 <& /sequence/with_markup.mas,
63 seq => $mrna_sequence,
66 blast_url => $blast_url,
69 <div style="margin-top: 1em">
70 <& /feature/sequence_download.mas,
78 <&| /page/info_section.mas,
79 title => 'Protein sequence',
81 subtitle => 'translated polypeptide sequence',
82 empty_message => 'Not available',
87 % if( $protein_sequence ) {
89 <div style="margin-left: 3em">
90 <& /sequence/with_markup.mas,
91 seq => $protein_sequence,
94 blast_url => $blast_url,
97 % if( $protein_sequence->can('feature_id') ) {
98 <div style="margin-top: 1em">
99 <& /feature/sequence_download.mas,
100 feature => $protein_sequence,