comparison make_EAR.xml @ 1:b61022e1b807 draft

planemo upload for repository https://github.com/ERGA-consortium/EARs/tree/main commit b7f4b9b05946009ced0c4faeadc7acca98a90131
author bgruening
date Tue, 09 Jul 2024 07:48:46 +0000
parents 8c99976de71e
children a34826ae0a73
comparison
equal deleted inserted replaced
0:8c99976de71e 1:b61022e1b807
1 <tool id="make_ear" name="ERGA Assembly Reporting Tool (EAR)" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT"> 1 <tool id="make_ear" name="ERGA Assembly Reporting Tool (EAR)" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" license="MIT">
2 <description>A tool to compile assembly reports and stastics from assembly pipeline</description> 2 <description>A tool to compile assembly reports and statistics from assembly pipeline</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <requirements> 6 <requirements>
7 <requirement type="package" version="4.1.0">reportlab</requirement> 7 <requirement type="package" version="4.1.0">reportlab</requirement>
76 hic_FullMap_link: '${curated_assembly_data.hap2_curated_data.hic_FullMap_link_hap2_curated}' 76 hic_FullMap_link: '${curated_assembly_data.hap2_curated_data.hic_FullMap_link_hap2_curated}'
77 blobplot_cont_png: '${curated_assembly_data.hap2_curated_data.blobplot_cont_hap2_curated}' 77 blobplot_cont_png: '${curated_assembly_data.hap2_curated_data.blobplot_cont_hap2_curated}'
78 78
79 #else 79 #else
80 # ASSEMBLY DATA 80 # ASSEMBLY DATA
81 ASSEMBLIES: 81 ASSEMBLIES:
82 Pre-curation: 82 Pre-curation:
83 pipeline: [Hifiasm_v0.19.4|HiC|l0, Purge_Dups_v1.2.6|, Bionano_vGalaxy_3.7.0, YaHS_v1.1] 83 pipeline: [Hifiasm_v0.19.4|HiC|l0, Purge_Dups_v1.2.6|, Bionano_vGalaxy_3.7.0, YaHS_v1.1]
84 '${pre_curation_assembly_data.haplotype_selection}': 84 '${pre_curation_assembly_data.haplotype_selection}':
85 gfastats--nstar-report_txt: '${pre_curation_assembly_data.gfstats_nstar_report_precuration}' 85 gfastats--nstar-report_txt: '${pre_curation_assembly_data.gfstats_nstar_report_precuration}'
86 busco_short_summary_txt: '${pre_curation_assembly_data.busco_short_summary_precuration}' 86 busco_short_summary_txt: '${pre_curation_assembly_data.busco_short_summary_precuration}'
87 merqury_qv: '${pre_curation_assembly_data.mercury_qv_precuration}' 87 merqury_qv: '${pre_curation_assembly_data.mercury_qv_precuration}'
88 merqury_completeness_stats: '${pre_curation_assembly_data.merqury_completeness_stats_precuration}' 88 merqury_completeness_stats: '${pre_curation_assembly_data.merqury_completeness_stats_precuration}'
89 89
90 Curated: 90 Curated:
91 pipeline: [GRIT_rapid_v2.0, HiGlass_v1.0] 91 pipeline: [GRIT_rapid_v2.0, HiGlass_v1.0]
92 '${pre_curation_assembly_data.haplotype_selection}': 92 '${pre_curation_assembly_data.haplotype_selection}':
93 gfastats--nstar-report_txt: '${curated_assembly_data.gfstats_nstar_report_curated}' 93 gfastats--nstar-report_txt: '${curated_assembly_data.gfstats_nstar_report_curated}'
94 busco_short_summary_txt: '${curated_assembly_data.busco_short_summary_curated}' 94 busco_short_summary_txt: '${curated_assembly_data.busco_short_summary_curated}'
95 merqury_qv: '${curated_assembly_data.mercury_qv_curated}' 95 merqury_qv: '${curated_assembly_data.mercury_qv_curated}'
96 merqury_completeness_stats: '${curated_assembly_data.merqury_completeness_stats_curated}' 96 merqury_completeness_stats: '${curated_assembly_data.merqury_completeness_stats_curated}'
97 merqury_hap_spectra_cn_png: '${curated_assembly_data.merqury_hap_spectra_cn_curated}' 97 merqury_hap_spectra_cn_png: '${curated_assembly_data.merqury_hap_spectra_cn_curated}'
98 merqury_spectra_cn_png: '${curated_assembly_data.merqury_spectra_cn_curated}' 98 merqury_spectra_cn_png: '${curated_assembly_data.merqury_spectra_cn_curated}'
99 merqury_spectra_asm_png: '${curated_assembly_data.merqury_spectra_asm_curated}' 99 merqury_spectra_asm_png: '${curated_assembly_data.merqury_spectra_asm_curated}'
100 hic_FullMap_png: '${curated_assembly_data.hic_FullMap_curated}' 100 hic_FullMap_png: '${curated_assembly_data.hic_FullMap_curated}'
101 hic_FullMap_link: '${curated_assembly_data.hic_FullMap_link_curated}' 101 hic_FullMap_link: '${curated_assembly_data.hic_FullMap_link_curated}'
102 blobplot_cont_png: '${curated_assembly_data.blobplot_cont_curated}' 102 blobplot_cont_png: '${curated_assembly_data.blobplot_cont_curated}'
103 #end if 103 #end if
104 104
105 # CURATION NOTES 105 # CURATION NOTES
106 NOTES: 106 NOTES:
107 Obs_Haploid_num: '${curation_notes.obs_haploid_num}' 107 Obs_Haploid_num: '${curation_notes.obs_haploid_num}'
122 <option value="XX">XX</option> 122 <option value="XX">XX</option>
123 <option value="XY">XY</option> 123 <option value="XY">XY</option>
124 <option value="X0">X0</option> 124 <option value="X0">X0</option>
125 <option value="ZZ">ZZ</option> 125 <option value="ZZ">ZZ</option>
126 <option value="ZW">ZW</option> 126 <option value="ZW">ZW</option>
127 <option value="NA">Not Available</option> 127 <option value="NA">NA</option>
128 </param> 128 </param>
129 <param name="submitter" type="text" value="" optional="False" label="Enter the Submitter name"/> 129 <param name="submitter" type="text" value="" optional="False" label="Enter the Submitter name"/>
130 <param name="affiliation" type="text" value="" optional="False" label="Enter the Affiliation"/> 130 <param name="affiliation" type="text" value="" optional="False" label="Enter the Affiliation"/>
131 <param name="tags" type="select" label="Select a valid tag"> 131 <param name="tags" type="select" label="Select a valid tag">
132 <option value="ERGA-BGE" selected="true">ERGA-BGE</option> 132 <option value="ERGA-BGE" selected="true">ERGA-BGE</option>
230 <outputs> 230 <outputs>
231 <data name="EAR_pdf" format="pdf" from_work_dir="EAR.pdf" label="${tool.name} on ${on_string}: Output PDF" ></data> 231 <data name="EAR_pdf" format="pdf" from_work_dir="EAR.pdf" label="${tool.name} on ${on_string}: Output PDF" ></data>
232 <data name="log" format="txt" from_work_dir="EAR.log" label="${tool.name} on ${on_string}: Log file"/> 232 <data name="log" format="txt" from_work_dir="EAR.log" label="${tool.name} on ${on_string}: Log file"/>
233 </outputs> 233 </outputs>
234 <tests> 234 <tests>
235 <!--- Test with 1 haplotypes information-->
236 <test expect_num_outputs="2">
237 <section name="sample_information">
238 <param name="tolid" value="xgPhyFlav1"/>
239 <param name="species_name" value="Phyllidia flava"/>
240 <param name="species_sex" value="XX"/>
241 <param name="submitter" value="John Doe"/>
242 <param name="affiliation" value="Galaxy EU"/>
243 <param name="tags" value="ERGA-BGE"/>
244 </section>
245 <section name="sequencing_data">
246 <repeat name="seq_data_info">
247 <param name="seq_data" value="HiFi: 40x"/>
248 </repeat>
249 <repeat name="seq_data_info">
250 <param name="seq_data" value="Bionano: 10x"/>
251 </repeat>
252 <repeat name="seq_data_info">
253 <param name="seq_data" value="OmniC: 90x"/>
254 </repeat>
255 </section>
256 <section name="genome_profiling_data">
257 <param name="genome_scope_summary" value="genomescope_results_summary.txt"/>
258 <param name="smudge_plot_summary" value="smudgeplot_verbose_summary.txt"/>
259 </section>
260 <section name="pre_curation_assembly_data">
261 <param name="haplotype_selection" value="hap1"/>
262 <param name="gfstats_nstar_report_precuration" value="ele_pre.asm1_gfastats.txt"/>
263 <param name="busco_short_summary_precuration" value="short_summary.specific.mammalia_odb10.pre.asm1.txt"/>
264 <param name="mercury_qv_precuration" value="ele_pre_merqOutput.qv"/>
265 <param name="merqury_completeness_stats_precuration" value="ele_pre_merqOutput.completeness.stats"/>
266 <conditional name="hap2_precuration_data">
267 <param name="hap2_exists_precuration" value="no"/>
268 </conditional>
269 </section>
270 <section name="curated_assembly_data">
271 <param name="gfstats_nstar_report_curated" value="ele.asm1_post_gfastats.txt"/>
272 <param name="busco_short_summary_curated" value="short_summary.specific.mammalia_odb10.post.asm1.txt"/>
273 <param name="mercury_qv_curated" value="ele_post_merqOutput.qv"/>
274 <param name="merqury_completeness_stats_curated" value="ele_post_merqOutput.completeness.stats"/>
275 <param name="merqury_hap_spectra_cn_curated" value="ele_post_merqOutput.ele_post.asm1.spectra-cn.ln.png"/>
276 <param name="merqury_spectra_cn_curated" value="ele_post_merqOutput.spectra-cn.ln.png"/>
277 <param name="merqury_spectra_asm_curated" value="ele_post_merqOutput.spectra-asm.ln.png"/>
278 <param name="hic_FullMap_curated" value="pretext_snake1.png"/>
279 <param name="hic_FullMap_link_curated" value="https://box.fu-berlin.de/apps/files/something"/>
280 <param name="blobplot_cont_curated" value="blob1.png"/>
281 <conditional name="hap2_curated_data">
282 <param name="hap2_exists_curated" value="no"/>
283 </conditional>
284 </section>
285 <section name="curation_notes">
286 <param name="obs_haploid_num" value="28"/>
287 <param name="obs_sex" value="XX"/>
288 <param name="interventions_per_gb" value="2"/>
289 <param name="contam_notes" value="No presence of contaminants. Mitochondrial genome was removed from the assembly"/>
290 <param name="other_notes" value="Large collapsed repeat in chr5, haplotypic inversion in chr12"/>
291 </section>
292 <output name="EAR_pdf" file="EAR.pdf" ftype="pdf" compare="sim_size"/>
293 <output name="log" file="EAR_log"/>
294 </test>
295 <!--- Test with 2 haplotypes information-->
235 <test expect_num_outputs="2"> 296 <test expect_num_outputs="2">
236 <section name="sample_information"> 297 <section name="sample_information">
237 <param name="tolid" value="xgPhyFlav1"/> 298 <param name="tolid" value="xgPhyFlav1"/>
238 <param name="species_name" value="Phyllidia flava"/> 299 <param name="species_name" value="Phyllidia flava"/>
239 <param name="species_sex" value="XX"/> 300 <param name="species_sex" value="XX"/>
300 <param name="obs_sex" value="XX"/> 361 <param name="obs_sex" value="XX"/>
301 <param name="interventions_per_gb" value="2"/> 362 <param name="interventions_per_gb" value="2"/>
302 <param name="contam_notes" value="No presence of contaminants. Mitochondrial genome was removed from the assembly"/> 363 <param name="contam_notes" value="No presence of contaminants. Mitochondrial genome was removed from the assembly"/>
303 <param name="other_notes" value="Large collapsed repeat in chr5, haplotypic inversion in chr12"/> 364 <param name="other_notes" value="Large collapsed repeat in chr5, haplotypic inversion in chr12"/>
304 </section> 365 </section>
305 <output name="EAR_pdf" file="EAR.pdf" ftype="pdf" compare="sim_size"/> 366 <output name="EAR_pdf" file="EAR_2.pdf" ftype="pdf" compare="sim_size"/>
306 <output name="log" file="EAR_log"/>
307 </test> 367 </test>
308 </tests> 368 </tests>
309 <help><![CDATA[ 369 <help><![CDATA[
310 370
311 .. class:: infomark 371 .. class:: infomark