comment out large section of breeding program details - this info should be on the...
[sgn.git] / mason / page / detail_page_2_col_section.mas
blob805abaa87ff739de8cc7e9e8e9eb0efd6ff6bb83
1 <%args>
2 $trial_id => undef
3 $trial_name => undef
4 $stock_id => undef
5 $stock_uniquename => undef
6 $col1_width_class => "col-sm-1"
7 $col2_width_class => "col-sm-11"
8 $icon_class => "glyphicon glyphicon-th"
9 $info_section_collapsible => 1
10 $info_section_collapsed => 1
11 $info_section_id => "2col_id"
12 $info_section_title => "A title"
13 $info_section_subtitle => "A subtitle"
14 $buttons_html => undef
15 $locations_by_program_json => undef
17 #Specific to trial detail page
18 $has_plant_entries => undef
19 $has_subplot_entries => undef
20 $has_tissue_sample_entries => undef
21 $has_expression_atlas => undef
22 $expression_atlas_url => undef
23 $site_project_name => undef
24 $sgn_session_id => undef
25 $user_name => undef
26 $main_production_site_url => undef
27 $trial_phenotype_files => undef
28 $hidap_enabled => undef
29 $location_name => undef
30 $country_name => undef
31 $breeding_program_name => undef
32 $breeding_program_id => undef
33 $year => undef
34 $trial_type => undef
35 $design_name => undef
36 $planting_date => undef
37 $transplanting_date => undef
38 $harvest_date => undef
39 $trial_description => undef
40 $folder_name => undef
41 $folder_id => undef
42 $plot_width => undef
43 $plot_length => undef
44 $field_size => undef
45 $field_trial_is_planned_to_be_genotyped => undef
46 $field_trial_is_planned_to_cross => undef
47 $identifier_prefix => undef
48 $genotyping_facility => undef
49 $management_factor_date => undef
50 $management_factor_type => undef
51 $trial_stock_type => undef
52 $trial_stock_count => undef
53 $trial_owner => undef
54 $phenotypes_fully_uploaded => undef
55 $user_can_modify => undef
56 $latest_trial_activity => undef
57 $has_col_and_row_numbers => undef
59 #Specific to stock detail page
60 $type_name => undef
61 $stockref => {}
62 $stockprops => undef
63 $edit_privs => undef
64 $editable_stock_props => undef
65 $editor_link => undef
66 $source_dbs => {}
67 $locus_add_uri => undef
68 $new_locus_link => undef
69 $allele_div => undef
70 $is_owner => undef
71 $map_html => undef
72 $has_pedigree => undef
73 $image_ids => undef
74 $related_image_ids => undef
75 $dbh => undef
76 $trait_ontology_db_name => undef
77 $pubs => undef
78 $cvterm_add_uri => undef
79 $referer => undef
81 #Specific to genotyping protocol detail page
82 $protocol_id => undef
83 $protocol_name => undef
84 $protocol_description => undef
85 $marker_names => []
86 $header_information_lines => []
87 $reference_genome_name => undef
88 $species_name => undef
89 $create_date => undef
90 $sample_observation_unit_type_name => undef
91 $marker_type => undef
92 $genotype_data_type => undef
93 $marker_info_headers => undef
94 $assay_type => undef
96 #Specific to drone run detail page
97 $drone_run_date => undef
98 $id_extension => undef
100 #Specific to analysis detail page
101 $analysis_metadata => undef
102 $for_analysis_page => undef
103 $data_level => undef
105 $program_id => undef
106 $program_name => undef
108 #Specific to analysis model detail page
109 $model_id => undef
110 $model_name => undef
111 $model_description => undef
112 $model_properties => {}
113 $model_file_ids => {}
114 $model_type_name => undef
115 $model_files => {}
117 #Specific to manage nirs page
118 $nirs_files => undef
119 $deleted_nirs_files => undef
120 $all_nirs_files => undef
121 $all_deleted_nirs_files => undef
122 $locations => undef
123 $sampling_facilities => ()
125 #Specific to analytics detail page
126 $analytics_protocol_id => undef
127 $analytics_protocol_name => undef
128 $analytics_protocol_description => undef
129 $analytics_protocol_type_id => undef
130 $analytics_protocol_type_name => undef
131 $analytics_protocol_create_date => undef
132 $analytics_protocol_properties => {}
133 $analytics_protocol_result_summary => {}
135 </%args>
137 <& /util/import_javascript.mas,
138    classes => ["jquery", "jqueryui", "thickbox", "CXGN.Page.FormattingHelpers", "jquery.cookie", "CXGN.Stock", "d3.d3v4Min" ],
139   entries => ["sequenced_accessions"]
142 <div class="row">
143     <div class="col-sm-12">
144         <div class="well">
145             <div class="row">
146                 <div class="<% $col1_width_class %>">
147                     <span style="font-size:3.5em;" class="<% $icon_class %>"></span>
148                 </div>
149                 <div class="<% $col2_width_class %>">
151                     <&| /page/info_section.mas, id => $info_section_id, title => $info_section_title, collapsible=>$info_section_collapsible, collapsed => $info_section_collapsed, subtitle=> $info_section_subtitle &>
153 % if ($buttons_html){
154                         <div class="panel panel-default">
155                             <div class="panel-body">
156                                 <% $buttons_html %>
157                             </div>
158                         </div>
159 % }
161                         <div class="panel panel-default">
162                             <div class="panel-body">
164 % if ($info_section_id eq 'pheno_heatmap'){
165                                 <& /breeders_toolbox/trial/phenotype_heatmap.mas, trial_id => $trial_id, data_level => $data_level, has_col_and_row_numbers => $has_col_and_row_numbers &>
166 % } #End pheno_heatmap
167 % if ($info_section_id eq 'trial_design_section'){
168                                 <& /breeders_toolbox/trial/design_section.mas, trial_id => $trial_id, trial_name => $trial_name, has_subplot_entries => $has_subplot_entries, has_plant_entries => $has_plant_entries, has_tissue_sample_entries => $has_tissue_sample_entries, design_name => $design_name, trial_stock_type => $trial_stock_type &>
169 % } #End trial_design_section
170 % if ($info_section_id eq 'trial_detail_traits_assayed'){
172 % if ($has_expression_atlas) {
173                                 <& /breeders_toolbox/trial/export_trial_to_expression_atlas.mas, trial_id => $trial_id, trial_name=>$trial_name, expression_atlas_url=>$expression_atlas_url, site_project_name=>$site_project_name, sgn_session_id=>$sgn_session_id, user_name=>$user_name, main_production_site_url=>$main_production_site_url &>
174 % }
176                                 <& /breeders_toolbox/trial/phenotype_summary.mas, trial_id => $trial_id, trial_stock_type => $trial_stock_type &>
178 % } #End trial_detail_traits_assayed
180 % if ($info_section_id eq 'trial_raw_data') {
181    <& /breeders_toolbox/trial/trial_raw_data.mas, trial_id => $trial_id, trial_stock_type => $trial_stock_type &>
182 % }
185 % if ($info_section_id eq 'compute_derived_traits'){
186                                 <& /breeders_toolbox/trial/derived_trait.mas, trial_id => $trial_id &>
187 % } #End compute_derived_traits
188 % if ($info_section_id eq 'trial_upload_files'){
189                                 <& /breeders_toolbox/trial/files_section.mas, trial_id => $trial_id, trial_phenotype_files => $trial_phenotype_files, trial_stock_type => $trial_stock_type, for_analysis_page => $for_analysis_page &>
190 % } #End trial_upload_files
191 % if ($info_section_id eq 'trial_analysis_tools'){
194                                 <!-- analysis tools on saved measurements -->
195                                <& /breeders_toolbox/trial/saved_measurement_analysis.mas,
196                                      trial_id => $trial_id
197                                 &>
198                                 <!-- Phenotypic correlation analysis -->
199                                 <& /solgs/tools/correlation/analysis.mas,
200                                     corr_pop_id => $trial_id
201                                 &>
203                                 <& /solgs/tools/anova/analysis.mas,
204                                     trial_id => $trial_id
205                                 &>
207                                  <!-- Population structure analysis PCA -->
208                                 <& /solgs/tools/pca/analysis.mas,
209                                     trial_id => $trial_id
210                                   &>
212                                 <!-- Clustering -->
213                                 <& /solgs/tools/cluster/analysis.mas,
214                                     trial_id => $trial_id
215                                   &>
217                                 <!-- kinship and inbreeding-->
218                                 <& /solgs/tools/kinship/analysis.mas,
219                                     trial_id => $trial_id
220                                 &>
223                                   <& /tools/heritability/heritability.mas,
224                                     trial_id => $trial_id
225                                 &>
227                                 <& /solgs/population/trait_acronyms.mas,
228                                   trial_id => $trial_id
229                               &>
231 % if ($c->req->base =~ /sweetpotatobase/) {
232                                 <& /tools/qualityControl/qualityControl.mas,
233                                     trial_id => $trial_id
234                                 &>
235 % }
237 % if ($hidap_enabled) {
238                                 <& /hidap/hidap_trial_link.mas, main_production_site_url=>$main_production_site_url, program => $breeding_program_name, folder => $folder_name, trial => $trial_name &>
239 % }
240 % } #End trial_analysis_tools
241 % if ($info_section_id eq 'trial_weather_data'){
242                                 <& /breeders_toolbox/trial/weather.mas, location => $location_name &>
243 % } #End trial_weather_data
244 % if ($info_section_id eq 'trial_jbrowse_data'){
245                                 <& /breeders_toolbox/trial/jbrowse_instance.mas, trial_id => $trial_id &>
246 %} #End trial_jbrowse_data
247 % if ($info_section_id eq 'trial_linkage_section'){
248                                 <&| /page/info_section.mas, title => 'Field Trial to Field Trial Linkage', id => 'field_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
249                                     <& /breeders_toolbox/trial/field_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => $trial_type, trial_name=>$trial_name &>
250                                 </&>
251                                 <&| /page/info_section.mas, title => 'Field Trial to Genotyping Plate Linkage', id => 'genotyping_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
252                                     <& /breeders_toolbox/trial/genotyping_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'field_trial' &>
253                                 </&>
254                                 <&| /page/info_section.mas, title => 'Field Trial to Crossing Experiment Linkage', id => 'crossing_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
255                                     <& /breeders_toolbox/trial/crossing_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'field_trial' &>
256                                 </&>
257 %} #End trial_linkage_section
258 % if ($info_section_id eq 'trial_deletion_section'){
259                                 <&| /page/info_section.mas, title=>'Delete trial data', subtitle=>'<font color="red" role="">Deletion cannot be undone</font>', collapsed=>1, collapsible=>1 &>
260                                     <& /breeders_toolbox/trial/trial_deletion.mas, trial_id => $trial_id  &>
261                                 </&>
262 %} #End trial_deletion_section
263 % if ($info_section_id eq 'trial_data_agreement_section'){
264                                 <& /breeders_toolbox/data_agreement.mas, trial_id => $trial_id &>
265 % } #End trial_data_agreement_section
266 % if ($info_section_id eq 'trial_status_section'){
267                                 <& /breeders_toolbox/trial/trial_status.mas, trial_id => $trial_id, trial_name => $trial_name, breeding_program_name => $breeding_program_name, location_name => $location_name, year => $year, trial_type => $trial_type, planting_date => $planting_date, transplanting_date => $transplanting_date, harvest_date => $harvest_date, trial_description => $trial_description, folder_id => $folder_id, design_name => $design_name, has_plant_entries => $has_plant_entries, phenotypes_fully_uploaded => $phenotypes_fully_uploaded, user_can_modify => $user_can_modify, user_name => $user_name &>
268 % } #End trial_status_section
269 % if ($info_section_id eq 'trial_soil_data_section'){
270                                 <& /breeders_toolbox/trial/trial_soil_data.mas, trial_id => $trial_id &>
271 % } #End trial_soil_data_section
274 % if ($info_section_id eq 'stock_additional_info_section'){
275                                 <& /stock/additional_info_section.mas, stock_id => $stock_id, type_name => $type_name, stockprops => $stockprops, edit_privs => $edit_privs, editable_stock_props => $editable_stock_props, editor_link => $editor_link, source_dbs => $source_dbs, locus_add_uri => $locus_add_uri, allele_div => $allele_div, is_owner => $is_owner &>
276 % } #End stock_additional_info_section
277 % if ($info_section_id eq 'stock_trials_section'){
278                                 <& /stock/trials.mas, stock_id => $stock_id &>
279 % } #End stock_trials_section
280 % if ($info_section_id eq 'stock_upload_files'){
281                                 <& /stock/accession_files.mas, stock_id => $stock_id &>
282 % } #End stock_upload_files
283 % if ($info_section_id eq 'stock_traits_section'){
284                                 <& /stock/traits.mas, stock_id => $stock_id &>
285 % } #End stock_traits_section
286 % if ($info_section_id eq 'stock_genotypes_section'){
287                                 <& /stock/direct_genotypes.mas, stock_id => $stock_id, map_html => $map_html &>
288 % } #End stock_genotypes_section
289 % if ($info_section_id eq 'stock_pedigree_section'){
290                                 <&| /page/info_section.mas, title=>"Pedigree and Descendants" , collapsible=> 1, collapsed=>0 &>
291                                     <& /pedigree/stock_pedigree.mas, stock_id => $stock_id, has_pedigree => $has_pedigree &>
292                                 </&>
294                                 <& /pedigree/stock_pedigree_string.mas, stock_id => $stock_id &>
295 % } #End stock_pedigree_section
296 % if ($info_section_id eq 'stock_related_stock_section'){
297                                 <& /stock/related_stock.mas, stock_id => $stock_id, stock_uniquename => $stock_uniquename, stock_type => $type_name &>
298 % } #End stock_related_stock_section
299 % if ($info_section_id eq 'stock_images_section'){
300                                 <& /image/compare_images.mas, stock_id => $stock_id &>
302                                 <&| /page/info_section.mas, title=>"Images of This Stock(" .  scalar(@$image_ids)  . ")", collapsible=>1, collapsed=>0 &>
303                                     <& /image/print_images.mas , images=>$image_ids , dbh=>$dbh, additional_image_button_id=>'stock_images' &>
304                                 </&>
306                                 <&| /page/info_section.mas, title=>"Images of Related Stock(s) (" .  scalar(@$related_image_ids)  . ")", collapsible=>1, collapsed=>0 &>
307                                     <& /image/print_images.mas , images=>$related_image_ids , dbh=>$dbh, additional_image_button_id=>'related_stock_images' &>
308                                 </&>
309 % } #End stock_images_section
310 % if ($info_section_id eq 'stock_sequencing_status_section'){
311                                 <& /stock/sequencing_status.mas, stock_id => $stock_id &>
312 % } #End stock requencing status section
313 % if ($info_section_id eq 'stock_literature_annotation_section'){
314                                 <&| /page/info_section.mas, title=>"Literature annotation (".scalar( @$pubs ).")" , id=>"publications" , collapsible=>1, collapsed=>1 &>
317 % foreach my $publication ( @$pubs  ) {
318   <& /chado/publication.mas, pub=>$publication &>
319     <br >
320 % }
322                                 </&>
324                                 <&| /page/info_section.mas, id   => 'stock_ontology', title=>"Ontology annotation (" . $stockref->{ontology_count} . ")" &>
325                                     <& /ontology/associate_ontology.mas,
326                                     trait_db_name => $trait_ontology_db_name,
327                                     object_id     => $stock_id ,
328                                     object_name   => "stock",
329                                     cvterm_add_uri=> $cvterm_add_uri,
330                                     ontology_url  => "/stock/$stock_id/ontologies/",
331                                     reference_uri => "/stock/$stock_id/references/",
332                                     evidence_with_uri => "/stock/$stock_id/evidences/",
333                                     show_form     => $is_owner  &>
334                                 </&>
335 % } #End stock_literature_annotation_section
336 % if ($info_section_id eq 'stock_jbrowse_section'){
337                                 <p id="jbrowse_check">[loading...]</p>
338 % } #End stock_jbrowse_section
339 % if ($info_section_id eq 'stock_comments_section'){
340                                 <& /page/comments.mas, object_type=>'stock', object_id=>$stock_id, referer=>$referer &>
341 % } #End stock_comments_section
342 % if ($info_section_id eq 'stock_delete_section'){
343                                 <& /stock/delete.mas, stock_id=>$stock_id &>
344 % } #End stock_delete_section
347 % if ($info_section_id eq 'manage_tissue_samples_field_trials'){
348                                 <& /breeders_toolbox/tissue_samples/field_trials_with_tissue_samples.mas &>
349 % } #End manage_tissue_samples_field_trials
350 % if ($info_section_id eq 'manage_tissue_samples_genotyping_trials'){
351                                 <& /breeders_toolbox/tissue_samples/genotyping_trials.mas &>
352 % } #End manage_tissue_samples_genotyping_trials
353 % if ($info_section_id eq 'manage_tissue_samples_sampling_trials'){
354                                 <& /breeders_toolbox/tissue_samples/sampling_trials.mas &>
355 % } #End manage_tissue_samples_sampling_trials
356 % if ($info_section_id eq 'trial_details'){
357                                 <& /breeders_toolbox/trial/trial_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, breeding_program_name=>$breeding_program_name, breeding_program_id=>$breeding_program_id, location_name=>$location_name, country_name=>$country_name, year=>$year, trial_type=>$trial_type, planting_date=>$planting_date, transplanting_date=>$transplanting_date, harvest_date=>$harvest_date, trial_description=>$trial_description, folder_name=>$folder_name, folder_id=>$folder_id, identifier_prefix=>$identifier_prefix, plot_width=>$plot_width, plot_length=>$plot_length, field_size=>$field_size, field_trial_is_planned_to_be_genotyped=>$field_trial_is_planned_to_be_genotyped, field_trial_is_planned_to_cross=>$field_trial_is_planned_to_cross, trial_stock_type => $trial_stock_type, trial_stock_count => $trial_stock_count, trial_owner => $trial_owner, latest_trial_activity => $latest_trial_activity &>
358 % } #End trial_details
359 % if ($info_section_id eq 'stocks_search_graphical_filtering'){
360                                 <& /search/stocks_graphicalfiltering.mas &>
361 % } #End stocks_search_graphical_filtering
364 % if ($info_section_id eq 'genotyping_data_project_details'){
365                                 <& /breeders_toolbox/genotyping_data_project/details.mas, trial_id=>$trial_id, trial_name=>$trial_name, breeding_program_name=>$breeding_program_name, breeding_program_id=>$breeding_program_id, location_name=>$location_name, year=>$year, trial_description=>$trial_description, identifier_prefix=>$identifier_prefix, genotyping_facility => $genotyping_facility, genotype_data_type => $genotype_data_type, trial_owner => $trial_owner &>
366 % } #End genotyping_data_project_details
367 % if ($info_section_id eq 'genotyping_data_project_protocols'){
368                                 <& /breeders_toolbox/genotyping_data_project/protocols.mas, trial_id=>$trial_id &>
369 % } #End genotyping_data_project_protocols
370 % if ($info_section_id eq 'genotyping_data_project_data'){
371                                 <& /breeders_toolbox/genotyping_data_project/genotype_data.mas, trial_id=>$trial_id &>
372 % } #End genotyping_data_project_data
373 % if ($info_section_id eq 'genotyping_project_plates'){
374                                 <& /breeders_toolbox/genotyping_data_project/genotyping_plates.mas, trial_id=>$trial_id &>
375 % } #End genotyping_project_plates
376 % if ($info_section_id eq 'genotyping_project_deletion_section'){
377                                 <& /breeders_toolbox/genotyping_data_project/genotyping_project_deletion.mas, trial_id=>$trial_id &>
378 % } #End genotyping_project_deletion_section
379 % if ($info_section_id eq 'project_pcr_genotype_data'){
380                                 <& /breeders_toolbox/genotyping_data_project/pcr_genotype_data.mas, trial_id => $trial_id, marker_names => $marker_names &>
381 % } #End project_pcr_genotype_data
384 % if ($info_section_id eq 'identifier_generation_list'){
385                                 <& /breeders_toolbox/identifier_generation/list_identifier_generation.mas &>
386 % } #End identifier_generation_list
387 % if ($info_section_id eq 'management_factor_details'){
388                                 <& /breeders_toolbox/trial/management_factor_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, trial_description=>$trial_description, year=>$year, management_factor_type=>$management_factor_type, management_factor_date=>$management_factor_date &>
389 % } #End management_factor_details
390 % if ($info_section_id eq 'management_factor_design'){
391                                 <& /breeders_toolbox/trial/design_section_management_factor.mas, trial_id => $trial_id, trial_name => $trial_name, has_subplot_entries => $has_subplot_entries, has_plant_entries => $has_plant_entries, has_tissue_sample_entries => $has_tissue_sample_entries, design_name => $design_name &>
392 % } #End management_factor_design
394 % if ($info_section_id eq 'genotyping_protocol_details'){
395                                 <& /breeders_toolbox/genotyping_protocol/details.mas, protocol_id => $protocol_id, protocol_name => $protocol_name, protocol_description => $protocol_description, marker_names => $marker_names, header_information_lines => $header_information_lines, reference_genome_name => $reference_genome_name, species_name => $species_name, create_date => $create_date, sample_observation_unit_type_name => $sample_observation_unit_type_name, marker_type => $marker_type, assay_type => $assay_type &>
396 % } #End genotyping_protocol_details
397 % if ($info_section_id eq 'genotyping_protocol_markers'){
398                                 <& /breeders_toolbox/genotyping_protocol/markers.mas, protocol_id => $protocol_id, marker_info_headers => $marker_info_headers &>
399 % } #End genotyping_protocol_markers
400 % if ($info_section_id eq 'genotyping_protocol_genotype_data'){
401                                 <& /breeders_toolbox/genotyping_protocol/genotype_data.mas, protocol_id => $protocol_id &>
402 % } #End genotyping_protocol_genotype_data
403 % if ($info_section_id eq 'genotyping_protocol_delete_genotype_data') {
404                                 <& /breeders_toolbox/genotyping_protocol/delete_genotype_data.mas, protocol_id => $protocol_id &>
405 % }
406 % if ($info_section_id eq 'pcr_based_genotyping_markers'){
407                                 <& /breeders_toolbox/genotyping_protocol/pcr_markers.mas, protocol_id => $protocol_id &>
408 % } #End pcr_based_genotyping_markers
409 % if ($info_section_id eq 'pcr_genotyping_protocol_genotype_data'){
410                                 <& /breeders_toolbox/genotyping_protocol/pcr_genotype_data.mas, protocol_id => $protocol_id, marker_names => $marker_names &>
411 % } #End pcr_genotyping_protocol_genotype_data
415 % if ($info_section_id eq 'crossingtrial_details'){
416                                 <& /breeders_toolbox/cross/crossingtrial_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, breeding_program_name=>$breeding_program_name, breeding_program_id=>$breeding_program_id, location_name=>$location_name, country_name=>$country_name, year=>$year, planting_date=>$planting_date, transplanting_date=>$transplanting_date, harvest_date=>$harvest_date, trial_description=>$trial_description, folder_name=>$folder_name, folder_id=>$folder_id, identifier_prefix=>$identifier_prefix, trial_owner => $trial_owner &>
417 % } #End crossingtrial_details
419 % if ($info_section_id eq 'target_numbers_crossingtrial_section'){
420                                 <& /breeders_toolbox/cross/target_numbers.mas, trial_id=>$trial_id &>
421 % } #End target_numbers_crossingtrial_section
423 % if ($info_section_id eq 'crosses_in_crossingtrial_section'){
424                                 <& /breeders_toolbox/cross/crosses_in_crossingtrial.mas, trial_id=>$trial_id &>
425 % } #End crosses_in_crossingtrial_section
427 % if ($info_section_id eq 'additional_info_crossingtrial_section'){
428                                 <& /breeders_toolbox/cross/cross_additional_info_crossingtrial.mas, trial_id=>$trial_id &>
429 % } #End additional_info_crossingtrial_section
431 % if ($info_section_id eq 'cross_properties_crossingtrial_section'){
432                                 <& /breeders_toolbox/cross/cross_properties_crossingtrial.mas, trial_id=>$trial_id &>
433 % } #End cross_properties_crossingtrial_section
435 % if ($info_section_id eq 'progenies_in_crossingtrial_section'){
436                                 <& /breeders_toolbox/cross/progenies_in_crossingtrial.mas, trial_id=>$trial_id &>
437 % } #End progenies_in_crossingtrial_section
439 % if ($info_section_id eq 'seedlots_from_crossingtrial_section'){
440                                 <& /breeders_toolbox/cross/seedlots_from_crossingtrial.mas, trial_id=>$trial_id, breeding_program_name=>$breeding_program_name, breeding_program_id=>$breeding_program_id, locations_by_program_json=>$locations_by_program_json &>
441 % } #End seedlots_from_crossingtrial_section
443 % if ($info_section_id eq 'crossing_trial_from_field_trial_section'){
444                                 <& /breeders_toolbox/trial/crossing_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'crossing_trial' &>
445 % } #End crossing_trial_from_field_trial_section
447 % if ($info_section_id eq 'marker_set_summary_section'){
448                                 <& /breeders_toolbox/markers/marker_set_summary.mas &>
449 % } #End marker_set_summary_section
451 % if ($info_section_id eq 'crossing_experiment_deletion_section'){
452                                 <& /breeders_toolbox/cross/crossing_experiment_deletion.mas, trial_id => $trial_id  &>
453 %} #End crossing_experiment_deletion_section
455 % if ($info_section_id eq 'intercross_section'){
456                                 <& /breeders_toolbox/cross/intercross_file_info.mas, trial_id => $trial_id  &>
457 %} #End intercross_section
459 % if ($info_section_id eq 'progeny_search_section'){
460                                 <& /search/cross/progeny_search_section.mas &>
461 %} #End progeny_search_section
463 % if ($info_section_id eq 'cross_search_section'){
464                                 <& /search/cross/cross_search_section.mas &>
465 %} #End cross_search_section
467 % if ($info_section_id eq 'parent_search_section'){
468                                 <& /search/cross/parent_search.mas &>
469 %} #End parent_search_section
471 % if ($info_section_id eq 'all_cross_entries_section'){
472                                 <& /breeders_toolbox/cross/all_cross_entries.mas &>
473 %} #End all_cross_entries_section
475 % if ($info_section_id eq 'manage_nirs_main'){
476                                 <& /tools/nirs/manage_nirs_main.mas, nirs_files => $nirs_files, deleted_nirs_files => $deleted_nirs_files, all_nirs_files => $all_nirs_files, all_deleted_nirs_files => $all_deleted_nirs_files, locations => $locations, sampling_facilities=>$sampling_facilities &>
477 % } #End manage_nirs_main
479 % if ($info_section_id eq 'manage_sequence_metadata'){
480     <& /tools/sequence_metadata/manage_sequence_metadata_main.mas &>
481 % } #End manage_smd_main
483 % if ($info_section_id eq 'manage_drone_imagery_main'){
484                                 <& /breeders_toolbox/drone_imagery/raw_image_section.mas &>
485 % } #End manage_drone_imagery_main
487 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_section'){
488                                 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_section.mas, id_extension=>$id_extension &>
489 % } #End manage_drone_imagery_generate_plot_polygons_section
490 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section'){
491                                 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_raw_images_section.mas, id_extension=>$id_extension &>
492 % } #End manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section
493 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section_ground_control_points'){
494                                 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_raw_images_section_ground_control_points.mas &>
495 % } #End manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section_ground_control_points
496 % if ($info_section_id eq 'manage_drone_imagery_standard_process_generate_plot_polygons_section'){
497                                 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_section.mas &>
498 % } #End manage_drone_imagery_standard_process_generate_plot_polygons_section
499 % if ($info_section_id eq 'drone_run_project_details'){
500                                 <& /breeders_toolbox/drone_imagery/drone_run_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, trial_description=>$trial_description, identifier_prefix=>$identifier_prefix, drone_run_date=>$drone_run_date &>
501 % } #End trial_details
502 % if ($info_section_id eq 'analysis_details'){
503                                 <& /analyses/analysis_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, trial_description=>$trial_description, breeding_program_name=>$breeding_program_name, breeding_program_id=>$breeding_program_id, year=>$year, identifier_prefix=>$identifier_prefix, trial_stock_type => $trial_stock_type, analysis_metadata=>$analysis_metadata &>
504 % } #End analysis_details
505 % if ($info_section_id eq 'analysis_page_analysis_tools'){
506                                 <& /breeders_toolbox/trial/correlation_workflow.mas, trial_id => $trial_id, is_analysis => 1 &>
508                                 <& /breeders_toolbox/trial/time_series_accessions_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
510                                 <& /breeders_toolbox/trial/accession_rank_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
512                                 <& /breeders_toolbox/trial/genotype_comparison_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
513 % }
514 % if ($info_section_id eq 'model_details'){
515                                 <& /analyses/model_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, analysis_metadata=>$analysis_metadata &>
516 % } #End analysis_details
517 % if ($info_section_id eq 'analysis_model_details'){
518                                 <& /analyses/model_detail_page_section.mas, model_id => $model_id, model_name => $model_name, model_description => $model_description, model_properties => $model_properties, model_file_ids => $model_file_ids, model_type_name => $model_type_name, model_files => $model_files, identifier_prefix => $identifier_prefix &>
519 % } #End analysis_model_details
520 % if ($info_section_id eq 'model_analyses'){
521                                 <& /analyses/model_detail_page_analyses_section.mas, model_id => $model_id &>
522 % } #End model_analyses
523 % if ($info_section_id eq 'analytics_protocol_details'){
524                                 <& /analytics_protocols/analytics_protocols_details.mas, analytics_protocol_id=>$analytics_protocol_id, analytics_protocol_name=>$analytics_protocol_name, analytics_protocol_description=>$analytics_protocol_description, analytics_protocol_type_id=>$analytics_protocol_type_id, analytics_protocol_type_name=>$analytics_protocol_type_name, analytics_protocol_create_date=>$analytics_protocol_create_date, analytics_protocol_properties=>$analytics_protocol_properties, analytics_protocol_result_summary=>$analytics_protocol_result_summary &>
525 % } #End analytics_protocol_details
526 % if ($info_section_id eq 'analytics_protocol_result_files'){
527                                 <& /analytics_protocols/analytics_protocols_result_files.mas, analytics_protocol_id=>$analytics_protocol_id, analytics_protocol_name=>$analytics_protocol_name &>
528 % } #End analytics_protocol_result_files
529 % if ($info_section_id eq 'model_deletion_section'){
530                                 <&| /page/info_section.mas, title=>'Delete model', subtitle=>'<font color="red" role="">Deletion cannot be undone</font>', collapsed=>1, collapsible=>1 &>
531                                     <& /analyses/model_deletion.mas, model_id => $model_id  &>
532                                 </&>
533 % } #End model_deletion_section
534 % if ($info_section_id eq 'manage_file_share_dump'){
535                                 <& /breeders_toolbox/file_share/file_dump_share_files.mas &>
536 % } #End manage_file_share_dump
538 % if ($info_section_id eq 'program_location_section'){
539                                 <& /breeders_toolbox/program/program_locations.mas, program_id => $program_id &>
540 % } #End program_location_section
541 % if ($info_section_id eq 'program_project_section'){
542                                 <& /breeders_toolbox/program/program_project_section.mas, program_id => $program_id &>
543 % } #End program_project_section
544 % if ($info_section_id eq 'program_stock_section'){
545                                 <& /breeders_toolbox/program/program_stock_section.mas, program_id => $program_id &>
546 % } #End program_stock_section
547 % if ($info_section_id eq 'program_phenotype_section'){
548                                 <& /breeders_toolbox/program/traits.mas, program_id => $program_id, collapse_phenotypes_section => 0 &>
549 % } #End program_phenotype_section
550 % if ($info_section_id eq 'program_product_profile_section'){
551                                 <& /breeders_toolbox/program/product_profile.mas, program_id => $program_id, collapse_phenotypes_section => 0 &>
552 % } #End program_product_profile_section
554 % if (!$info_section_id){
555                                 <p>No section specified! Main content goes here!</p>
556 % }
558                             </div>
559                         </div>
560                     </&>
561                 </div>
562             </div>
563         </div>
564     </div>
565 </div>