same brapi germplasm-search for get and post
[sgn.git] / mason / feature / types / gene_group.mas
blob7c37bb6414a90b4dd826fa3d8b150130c5e40411
1 <%args>
2     $feature
3     $featurelocs
4     $blast_url => undef
5     $xrefs     => []
6     $protein_fasta => '';
7 </%args>
9 <%once>
10     use SGN::View::Feature qw/ type_name /;
11 </%once>
13 <& /feature/page_title.mas, feature => $feature &>
15 <&| /page/info_section.mas,
16     title       => type_name($feature,'caps').' details',
17     subtitle    => $feature->is_obsolete ? 'WARNING: This feature is obsolete, new data is available.' : '',
18     collapsible => 1,
20    <& /feature/feature_data.mas,
21       feature     => $feature,
22       featurelocs => $featurelocs,
23     &>
24     <& /feature/properties.mas,
25        feature => $feature,
26     &>
27 </&>
29 <&| /page/info_section.mas,
30     title       => 'Tree and alignment',
31     collapsible => 1,
34   <& /feature/gene_group_export_to_alignment_viewer.mas, feature => $feature &>
36 </&>
38 <&| /page/info_section.mas,
39    title => 'Related features',
40    collapsible => 1,
41    hide_if_empty => 1,
44   <& /feature/related_features.mas,
45       feature   => $feature,
46       omit_columns => ['phase'],
47       frequency_tables => ['type','organism'],
48   &>
49 </&>
51 <&| /page/info_section.mas,
52      title => 'Related views',
53      empty_message => 'None found',
54      collapsible => 1,
55      is_empty => ! scalar @$xrefs,
56  &>
57      <& /sitefeatures/mixed/xref_set/link.mas,
58         xrefs => $xrefs,
59         empty_message => '',
60       &>
61 </&>