Mercurial > repos > iuc > chewbbaca_allelecallevaluator
view AlleleCallEvaluator.xml @ 0:77a84fa4a02b draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 8722918e903ffa4229e0297555731f1172f736c6
author | iuc |
---|---|
date | Sat, 13 Apr 2024 16:08:53 +0000 |
parents | |
children | b4467818950a |
line wrap: on
line source
<tool id="chewbbaca_allelecallevaluator" name="chewBBACA AlleleCallEvaluator" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> <description>Build an interactive report for allele calling results evaluation</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements" /> <command detect_errors="exit_code"><![CDATA[ mkdir 'input' && mkdir -p 'schema' && #for $file in $input_file ln -sf '$file' 'input/${file.element_identifier}.tsv' && #end for unzip '$input_schema' -d 'schema' && chewBBACA.py AlleleCallEvaluator #if $annotations: -a '$annotations' #end if #if 'light' in $computation: --light #end if #if 'no-pa' in $computation: --no-pa #end if #if 'no-dm' in $computation: --no-dm #end if #if 'no-tree' in $computation: --no-tree #end if #if 'cg-alignment' in $computation: --cg-alignment #end if -i 'input' -g 'schema/schema_seed/' -o '${html_file.files_path}' && cp '${html_file.files_path}'/*\.html output.html ]]></command> <inputs> <param name="input_file" type="data_collection" collection_type="list" label="AlleleCall Results" format="tabular"/> <param name="input_schema" format="zip" type="data" label="Schema Files in zip format" help="The schema directory contains the loci FASTA files and a folder named 'short' that contains the FASTA files with the loci representative alleles."/> <section name="advanced" title="Advanced options"> <param argument="--annotations" type="data" format="tabular" label="Annotation file" help="File created by the UniprotFinder module" optional="true" /> <param name="computation" type="select" multiple="true" optional="true" display="checkboxes" label="Computation method"> <option value="light">Do not compute the presence-absence matrix, the distance matrix, and the Neighbor-Joining tree. --light</option> <option value="no-pa">Do not compute the presence-absence matrix. --no-pa</option> <option value="no-dm">Do not compute the distance matrix. --no-dm</option> <option value="no-tree">Do not compute the Neighbor-Joining tree. --no-tree</option> <option value="cg-alignment">Compute the MSA of the core genome loci, even if `--no-tree` is provided. --cg-alignment</option> </param> </section> </inputs> <outputs> <data format="html" name="html_file" from_work_dir="output.html" label="${tool.name} on ${on_string}: Webpage" /> </outputs> <tests> <test expect_exit_code="0"> <param name="input_file"> <collection type="list"> <element name="cds_coordinates" value="cds_coordinates.tsv" ftype="tabular"/> <element name="loci_summary_stats" value="loci_summary_stats.tsv" ftype="tabular"/> <element name="results_alleles" value="results_alleles.tsv" ftype="tabular"/> <element name="results_statistics" value="results_statistics.tsv" ftype="tabular"/> </collection> </param> <param name="input_schema" value="GCA_000007265.1_ASM726v1_schema_seed.zip"/> <output name="html_file" file="allelecallevaluator_report.html" ftype="html" compare="diff"> </output> </test> <test expect_exit_code="0"> <param name="input_file"> <collection type="list"> <element name="cds_coordinates" value="cds_coordinates.tsv" ftype="tabular"/> <element name="loci_summary_stats" value="loci_summary_stats.tsv" ftype="tabular"/> <element name="results_alleles" value="results_alleles.tsv" ftype="tabular"/> <element name="results_statistics" value="results_statistics.tsv" ftype="tabular"/> </collection> </param> <param name="input_schema" value="GCA_000007265.1_ASM726v1_schema_seed.zip"/> <param name="annotations" value="schema_seed_annotations.tsv"/> <output name="html_file" file="allelecallevaluator_report_annotate.html" ftype="html"> <assert_contents> <has_text_matching expression=""annotations""/> <has_text_matching expression=""Uniprot_Name""/> </assert_contents> </output> </test> </tests> <help> chewBBACA is a software suite for the creation and evaluation of core genome and whole genome MultiLocus Sequence Typing (cg/wgMLST) schemas and results. The AlleleCallEvaluator module allows users to generate an interactive HTML report to evaluate allele calling results generated by the AlleleCall module. The report provides summary statistics to evaluate results per sample and per locus (with the possibility to provide a TSV file with loci annotations to include on a table). The report includes components to display a heatmap representing the loci presence-absence matrix, a heatmap representing the distance matrix based on allelic differences and a Neighbor-Joining (NJ) tree based on the MSA of the core genome loci. .. class:: warningmark **Warning** The JS bundle is necessary to visualize the HTML report. Do not move or delete this file. </help> <expand macro="citations" /> </tool>