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
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
36 $planting_date => undef
37 $harvest_date => undef
38 $trial_description => undef
44 $field_trial_is_planned_to_be_genotyped => undef
45 $field_trial_is_planned_to_cross => undef
46 $identifier_prefix => undef
47 $genotyping_facility => undef
48 $management_factor_date => undef
49 $management_factor_type => undef
50 $trial_stock_type => undef
51 $trial_stock_count => undef
53 $phenotypes_fully_uploaded => undef
54 $user_can_modify => undef
55 $latest_trial_activity => undef
57 #Specific to stock detail page
62 $editable_stock_props => undef
65 $locus_add_uri => undef
66 $new_locus_link => undef
70 $has_pedigree => undef
72 $related_image_ids => undef
74 $trait_ontology_db_name => undef
76 $cvterm_add_uri => undef
79 #Specific to genotyping protocol detail page
81 $protocol_name => undef
82 $protocol_description => undef
84 $header_information_lines => []
85 $reference_genome_name => undef
86 $species_name => undef
88 $sample_observation_unit_type_name => undef
91 #Specific to drone run detail page
92 $drone_run_date => undef
93 $id_extension => undef
95 #Specific to analysis detail page
96 $analysis_metadata => undef
97 $for_analysis_page => undef
101 $program_name => undef
103 #Specific to analysis model detail page
106 $model_description => undef
107 $model_properties => {}
108 $model_file_ids => {}
109 $model_type_name => undef
112 #Specific to manage nirs page
114 $deleted_nirs_files => undef
115 $all_nirs_files => undef
116 $all_deleted_nirs_files => undef
118 $sampling_facilities => ()
120 #Specific to analytics detail page
121 $analytics_protocol_id => undef
122 $analytics_protocol_name => undef
123 $analytics_protocol_description => undef
124 $analytics_protocol_type_id => undef
125 $analytics_protocol_type_name => undef
126 $analytics_protocol_create_date => undef
127 $analytics_protocol_properties => {}
128 $analytics_protocol_result_summary => {}
132 <& /util/import_javascript.mas,
133 classes => ["jquery", "jqueryui", "thickbox", "CXGN.Page.FormattingHelpers", "jquery.cookie", "CXGN.Stock", "d3.d3v4Min" ],
134 entries => ["sequenced_accessions"]
138 <div class="col-sm-12">
141 <div class="<% $col1_width_class %>">
142 <span style="font-size:3.5em;" class="<% $icon_class %>"></span>
144 <div class="<% $col2_width_class %>">
146 <&| /page/info_section.mas, id => $info_section_id, title => $info_section_title, collapsible=>$info_section_collapsible, collapsed => $info_section_collapsed, subtitle=> $info_section_subtitle &>
148 % if ($buttons_html){
149 <div class="panel panel-default">
150 <div class="panel-body">
156 <div class="panel panel-default">
157 <div class="panel-body">
159 % if ($info_section_id eq 'pheno_heatmap'){
160 <& /breeders_toolbox/trial/phenotype_heatmap.mas, trial_id => $trial_id, data_level => $data_level &>
161 % } #End pheno_heatmap
162 % if ($info_section_id eq 'trial_design_section'){
163 <& /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 &>
164 % } #End trial_design_section
165 % if ($info_section_id eq 'trial_detail_traits_assayed'){
167 % if ($has_expression_atlas) {
168 <& /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 &>
171 <& /breeders_toolbox/trial/phenotype_summary.mas, trial_id => $trial_id, trial_stock_type => $trial_stock_type &>
173 % } #End trial_detail_traits_assayed
174 % if ($info_section_id eq 'compute_derived_traits'){
175 <& /breeders_toolbox/trial/derived_trait.mas, trial_id => $trial_id &>
176 % } #End compute_derived_traits
177 % if ($info_section_id eq 'trial_upload_files'){
178 <& /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 &>
179 % } #End trial_upload_files
180 % if ($info_section_id eq 'trial_analysis_tools'){
183 <!-- analysis tools on saved measurements -->
184 <& /breeders_toolbox/trial/saved_measurement_analysis.mas,
185 trial_id => $trial_id
187 <!-- Phenotypic correlation analysis -->
188 <& /solgs/tools/correlation/correlation.mas,
189 corre_pop_id => $trial_id
192 <& /solgs/tools/anova/analysis.mas,
193 trial_id => $trial_id
196 <!-- Population structure analysis PCA -->
197 <& /solgs/tools/pca/analysis.mas,
198 trial_id => $trial_id
202 <& /solgs/tools/cluster/analysis.mas,
203 trial_id => $trial_id
206 <!-- kinship and inbreeding-->
207 <& /solgs/tools/kinship/analysis.mas,
208 trial_id => $trial_id
212 <& /tools/heritability/heritability.mas,
213 trial_id => $trial_id
216 <& /solgs/population/trait_acronyms.mas,
217 trial_id => $trial_id
220 % if ($c->req->base =~ /sweetpotatobase/) {
221 <& /tools/qualityControl/qualityControl.mas,
222 trial_id => $trial_id
226 % if ($hidap_enabled) {
227 <& /hidap/hidap_trial_link.mas, main_production_site_url=>$main_production_site_url, program => $breeding_program_name, folder => $folder_name, trial => $trial_name &>
229 % } #End trial_analysis_tools
230 % if ($info_section_id eq 'trial_weather_data'){
231 <& /breeders_toolbox/trial/weather.mas, location => $location_name &>
232 % } #End trial_weather_data
233 % if ($info_section_id eq 'trial_jbrowse_data'){
234 <& /breeders_toolbox/trial/jbrowse_instance.mas, trial_id => $trial_id &>
235 %} #End trial_jbrowse_data
236 % if ($info_section_id eq 'trial_linkage_section'){
237 <&| /page/info_section.mas, title => 'Field Trial to Field Trial Linkage', id => 'field_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
238 <& /breeders_toolbox/trial/field_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => $trial_type, trial_name=>$trial_name &>
240 <&| /page/info_section.mas, title => 'Field Trial to Genotyping Plate Linkage', id => 'genotyping_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
241 <& /breeders_toolbox/trial/genotyping_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'field_trial' &>
243 <&| /page/info_section.mas, title => 'Field Trial to Crossing Experiment Linkage', id => 'crossing_trial_from_field_trial_section', collapsible => 1, collapsed => 1 &>
244 <& /breeders_toolbox/trial/crossing_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'field_trial' &>
246 %} #End trial_linkage_section
247 % if ($info_section_id eq 'trial_deletion_section'){
248 <&| /page/info_section.mas, title=>'Delete trial data', subtitle=>'<font color="red" role="">Deletion cannot be undone</font>', collapsed=>1, collapsible=>1 &>
249 <& /breeders_toolbox/trial/trial_deletion.mas, trial_id => $trial_id &>
251 %} #End trial_deletion_section
252 % if ($info_section_id eq 'trial_data_agreement_section'){
253 <& /breeders_toolbox/data_agreement.mas, trial_id => $trial_id &>
254 % } #End trial_data_agreement_section
255 % if ($info_section_id eq 'trial_status_section'){
256 <& /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, 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 &>
257 % } #End trial_status_section
259 % if ($info_section_id eq 'stock_additional_info_section'){
260 <& /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 &>
261 % } #End stock_additional_info_section
262 % if ($info_section_id eq 'stock_trials_section'){
263 <& /stock/trials.mas, stock_id => $stock_id &>
264 % } #End stock_trials_section
265 % if ($info_section_id eq 'stock_traits_section'){
266 <& /stock/traits.mas, stock_id => $stock_id &>
267 % } #End stock_traits_section
268 % if ($info_section_id eq 'stock_genotypes_section'){
269 <& /stock/direct_genotypes.mas, stock_id => $stock_id, map_html => $map_html &>
270 % } #End stock_genotypes_section
271 % if ($info_section_id eq 'stock_pedigree_section'){
272 <&| /page/info_section.mas, title=>"Pedigree and Descendants" , collapsible=> 1, collapsed=>0 &>
273 <& /pedigree/stock_pedigree.mas, stock_id => $stock_id, has_pedigree => $has_pedigree &>
276 <& /pedigree/stock_pedigree_string.mas, stock_id => $stock_id &>
277 % } #End stock_pedigree_section
278 % if ($info_section_id eq 'stock_related_stock_section'){
279 <& /stock/related_stock.mas, stock_id => $stock_id, stock_uniquename => $stock_uniquename, stock_type => $type_name &>
280 % } #End stock_related_stock_section
281 % if ($info_section_id eq 'stock_images_section'){
282 <& /image/compare_images.mas, stock_id => $stock_id &>
284 <&| /page/info_section.mas, title=>"Images of This Stock(" . scalar(@$image_ids) . ")", collapsible=>1, collapsed=>0 &>
285 <& /image/print_images.mas , images=>$image_ids , dbh=>$dbh, additional_image_button_id=>'stock_images' &>
288 <&| /page/info_section.mas, title=>"Images of Related Stock(s) (" . scalar(@$related_image_ids) . ")", collapsible=>1, collapsed=>0 &>
289 <& /image/print_images.mas , images=>$related_image_ids , dbh=>$dbh, additional_image_button_id=>'related_stock_images' &>
291 % } #End stock_images_section
292 % if ($info_section_id eq 'stock_sequencing_status_section'){
293 <& /stock/sequencing_status.mas, stock_id => $stock_id &>
294 % } #End stock requencing status section
295 % if ($info_section_id eq 'stock_literature_annotation_section'){
296 <&| /page/info_section.mas, title=>"Literature annotation (".scalar( @$pubs ).")" , id=>"publications" , collapsible=>1, collapsed=>1 &>
299 % foreach my $publication ( @$pubs ) {
300 <& /chado/publication.mas, pub=>$publication &>
306 <&| /page/info_section.mas, id => 'stock_ontology', title=>"Ontology annotation (" . $stockref->{ontology_count} . ")" &>
307 <& /ontology/associate_ontology.mas,
308 trait_db_name => $trait_ontology_db_name,
309 object_id => $stock_id ,
310 object_name => "stock",
311 cvterm_add_uri=> $cvterm_add_uri,
312 ontology_url => "/stock/$stock_id/ontologies/",
313 reference_uri => "/stock/$stock_id/references/",
314 evidence_with_uri => "/stock/$stock_id/evidences/",
315 show_form => $is_owner &>
317 % } #End stock_literature_annotation_section
318 % if ($info_section_id eq 'stock_jbrowse_section'){
319 <p id="jbrowse_check">[loading...]</p>
320 % } #End stock_jbrowse_section
321 % if ($info_section_id eq 'stock_comments_section'){
322 <& /page/comments.mas, object_type=>'stock', object_id=>$stock_id, referer=>$referer &>
323 % } #End stock_comments_section
324 % if ($info_section_id eq 'stock_delete_section'){
325 <& /stock/delete.mas, stock_id=>$stock_id &>
326 % } #End stock_delete_section
329 % if ($info_section_id eq 'manage_tissue_samples_field_trials'){
330 <& /breeders_toolbox/tissue_samples/field_trials_with_tissue_samples.mas &>
331 % } #End manage_tissue_samples_field_trials
332 % if ($info_section_id eq 'manage_tissue_samples_genotyping_trials'){
333 <& /breeders_toolbox/tissue_samples/genotyping_trials.mas &>
334 % } #End manage_tissue_samples_genotyping_trials
335 % if ($info_section_id eq 'manage_tissue_samples_sampling_trials'){
336 <& /breeders_toolbox/tissue_samples/sampling_trials.mas &>
337 % } #End manage_tissue_samples_sampling_trials
338 % if ($info_section_id eq 'trial_details'){
339 <& /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, 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 &>
340 % } #End trial_details
341 % if ($info_section_id eq 'stocks_search_graphical_filtering'){
342 <& /search/stocks_graphicalfiltering.mas &>
343 % } #End stocks_search_graphical_filtering
344 % if ($info_section_id eq 'genotyping_data_project_details'){
345 <& /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 &>
346 % } #End genotyping_data_project_details
347 % if ($info_section_id eq 'genotyping_data_project_protocols'){
348 <& /breeders_toolbox/genotyping_data_project/protocols.mas, trial_id=>$trial_id &>
349 % } #End genotyping_data_project_protocols
350 % if ($info_section_id eq 'genotyping_data_project_data'){
351 <& /breeders_toolbox/genotyping_data_project/genotype_data.mas, trial_id=>$trial_id &>
352 % } #End genotyping_data_project_data
353 % if ($info_section_id eq 'identifier_generation_list'){
354 <& /breeders_toolbox/identifier_generation/list_identifier_generation.mas &>
355 % } #End identifier_generation_list
356 % if ($info_section_id eq 'management_factor_details'){
357 <& /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 &>
358 % } #End management_factor_details
359 % if ($info_section_id eq 'management_factor_design'){
360 <& /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 &>
361 % } #End management_factor_design
363 % if ($info_section_id eq 'genotyping_protocol_details'){
364 <& /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 &>
365 % } #End genotyping_protocol_details
366 % if ($info_section_id eq 'genotyping_protocol_markers'){
367 <& /breeders_toolbox/genotyping_protocol/markers.mas, protocol_id => $protocol_id &>
368 % } #End genotyping_protocol_markers
369 % if ($info_section_id eq 'genotyping_protocol_genotype_data'){
370 <& /breeders_toolbox/genotyping_protocol/genotype_data.mas, protocol_id => $protocol_id &>
371 % } #End genotyping_protocol_genotype_data
372 % if ($info_section_id eq 'genotyping_protocol_delete_genotype_data') {
373 <& /breeders_toolbox/genotyping_protocol/delete_genotype_data.mas, protocol_id => $protocol_id &>
375 % if ($info_section_id eq 'pcr_based_genotyping_markers'){
376 <& /breeders_toolbox/genotyping_protocol/pcr_markers.mas, protocol_id => $protocol_id &>
377 % } #End pcr_based_genotyping_markers
378 % if ($info_section_id eq 'pcr_genotyping_protocol_genotype_data'){
379 <& /breeders_toolbox/genotyping_protocol/pcr_genotype_data.mas, protocol_id => $protocol_id, marker_names => $marker_names &>
380 % } #End pcr_genotyping_protocol_genotype_data
384 % if ($info_section_id eq 'crossingtrial_details'){
385 <& /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, harvest_date=>$harvest_date, trial_description=>$trial_description, folder_name=>$folder_name, folder_id=>$folder_id, identifier_prefix=>$identifier_prefix &>
386 % } #End crossingtrial_details
388 % if ($info_section_id eq 'crosses_in_crossingtrial_section'){
389 <& /breeders_toolbox/cross/crosses_in_crossingtrial.mas, trial_id=>$trial_id &>
390 % } #End crosses_in_crossingtrial_section
392 % if ($info_section_id eq 'additional_info_crossingtrial_section'){
393 <& /breeders_toolbox/cross/cross_additional_info_crossingtrial.mas, trial_id=>$trial_id &>
394 % } #End additional_info_crossingtrial_section
396 % if ($info_section_id eq 'cross_properties_crossingtrial_section'){
397 <& /breeders_toolbox/cross/cross_properties_crossingtrial.mas, trial_id=>$trial_id &>
398 % } #End cross_properties_crossingtrial_section
400 % if ($info_section_id eq 'progenies_in_crossingtrial_section'){
401 <& /breeders_toolbox/cross/progenies_in_crossingtrial.mas, trial_id=>$trial_id &>
402 % } #End progenies_in_crossingtrial_section
404 % if ($info_section_id eq 'seedlots_from_crossingtrial_section'){
405 <& /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 &>
406 % } #End seedlots_from_crossingtrial_section
408 % if ($info_section_id eq 'crossing_trial_from_field_trial_section'){
409 <& /breeders_toolbox/trial/crossing_trial_from_field_trial_linkage.mas, trial_id => $trial_id, trial_type => 'crossing_trial' &>
410 % } #End crossing_trial_from_field_trial_section
412 % if ($info_section_id eq 'marker_set_summary_section'){
413 <& /breeders_toolbox/markers/marker_set_summary.mas &>
414 % } #End marker_set_summary_section
416 % if ($info_section_id eq 'crossing_experiment_deletion_section'){
417 <& /breeders_toolbox/cross/crossing_experiment_deletion.mas, trial_id => $trial_id &>
418 %} #End crossing_experiment_deletion_section
420 % if ($info_section_id eq 'intercross_section'){
421 <& /breeders_toolbox/cross/intercross_file_info.mas, trial_id => $trial_id &>
422 %} #End intercross_section
424 % if ($info_section_id eq 'progeny_search_section'){
425 <& /search/cross/progeny_search_section.mas &>
426 %} #End progeny_search_section
428 % if ($info_section_id eq 'cross_search_section'){
429 <& /search/cross/cross_search_section.mas &>
430 %} #End cross_search_section
432 % if ($info_section_id eq 'parent_search_section'){
433 <& /search/cross/parent_search.mas &>
434 %} #End parent_search_section
436 % if ($info_section_id eq 'manage_nirs_main'){
437 <& /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 &>
438 % } #End manage_nirs_main
440 % if ($info_section_id eq 'manage_sequence_metadata'){
441 <& /tools/sequence_metadata/manage_sequence_metadata_main.mas &>
442 % } #End manage_smd_main
444 % if ($info_section_id eq 'manage_drone_imagery_main'){
445 <& /breeders_toolbox/drone_imagery/raw_image_section.mas &>
446 % } #End manage_drone_imagery_main
448 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_section'){
449 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_section.mas, id_extension=>$id_extension &>
450 % } #End manage_drone_imagery_generate_plot_polygons_section
451 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section'){
452 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_raw_images_section.mas, id_extension=>$id_extension &>
453 % } #End manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section
454 % if ($info_section_id eq 'manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section_ground_control_points'){
455 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_raw_images_section_ground_control_points.mas &>
456 % } #End manage_drone_imagery_generate_plot_polygons_standard_process_raw_images_section_ground_control_points
457 % if ($info_section_id eq 'manage_drone_imagery_standard_process_generate_plot_polygons_section'){
458 <& /breeders_toolbox/drone_imagery/generate_plot_polygons_standard_process_section.mas &>
459 % } #End manage_drone_imagery_standard_process_generate_plot_polygons_section
460 % if ($info_section_id eq 'drone_run_project_details'){
461 <& /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 &>
462 % } #End trial_details
463 % if ($info_section_id eq 'analysis_details'){
464 <& /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 &>
465 % } #End analysis_details
466 % if ($info_section_id eq 'analysis_page_analysis_tools'){
467 <& /breeders_toolbox/trial/correlation_workflow.mas, trial_id => $trial_id, is_analysis => 1 &>
469 <& /breeders_toolbox/trial/time_series_accessions_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
471 <& /breeders_toolbox/trial/accession_rank_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
473 <& /breeders_toolbox/trial/genotype_comparison_workflow.mas, trial_id => $trial_id, data_level=>'analysis_instance' &>
475 % if ($info_section_id eq 'model_details'){
476 <& /analyses/model_details.mas, trial_id=>$trial_id, trial_name=>$trial_name, analysis_metadata=>$analysis_metadata &>
477 % } #End analysis_details
478 % if ($info_section_id eq 'analysis_model_details'){
479 <& /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 &>
480 % } #End analysis_model_details
481 % if ($info_section_id eq 'model_analyses'){
482 <& /analyses/model_detail_page_analyses_section.mas, model_id => $model_id &>
483 % } #End model_analyses
484 % if ($info_section_id eq 'analytics_protocol_details'){
485 <& /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 &>
486 % } #End analytics_protocol_details
487 % if ($info_section_id eq 'analytics_protocol_result_files'){
488 <& /analytics_protocols/analytics_protocols_result_files.mas, analytics_protocol_id=>$analytics_protocol_id, analytics_protocol_name=>$analytics_protocol_name &>
489 % } #End analytics_protocol_result_files
490 % if ($info_section_id eq 'model_deletion_section'){
491 <&| /page/info_section.mas, title=>'Delete model', subtitle=>'<font color="red" role="">Deletion cannot be undone</font>', collapsed=>1, collapsible=>1 &>
492 <& /analyses/model_deletion.mas, model_id => $model_id &>
494 % } #End model_deletion_section
495 % if ($info_section_id eq 'manage_file_share_dump'){
496 <& /breeders_toolbox/file_share/file_dump_share_files.mas &>
497 % } #End manage_file_share_dump
499 % if ($info_section_id eq 'program_location_section'){
500 <& /breeders_toolbox/program/program_locations.mas, program_id => $program_id &>
501 % } #End program_location_section
502 % if ($info_section_id eq 'program_project_section'){
503 <& /breeders_toolbox/program/program_project_section.mas, program_id => $program_id &>
504 % } #End program_project_section
505 % if ($info_section_id eq 'program_stock_section'){
506 <& /breeders_toolbox/program/program_stock_section.mas, program_id => $program_id &>
507 % } #End program_stock_section
508 % if ($info_section_id eq 'program_phenotype_section'){
509 <& /breeders_toolbox/program/traits.mas, program_id => $program_id, collapse_phenotypes_section => 0 &>
510 % } #End program_phenotype_section
511 % if ($info_section_id eq 'program_product_profile_section'){
512 <& /breeders_toolbox/program/product_profile.mas, program_id => $program_id, collapse_phenotypes_section => 0 &>
513 % } #End program_product_profile_section
515 % if (!$info_section_id){
516 <p>No section specified! Main content goes here!</p>