view JoinProfiles.xml @ 2:f16c5cfeab7d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chewbbaca commit 501c1cb91f4b91ec93e6df6e555323bbe8e2b703
author iuc
date Fri, 07 Jun 2024 14:28:02 +0000
parents a370301694bc
children
line wrap: on
line source

<tool id="chewbbaca_joinprofiles" name="chewBBACA JoinProfiles" version="@CHEW_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>Join allele calling results from different runs</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="exit_code"><![CDATA[
        chewBBACA.py JoinProfiles
            -p ${str($input1).replace(',', ' ')}
            -o 'JoinedProfile.tsv'
            $common
    ]]></command>
    <inputs>
        <param name="input1" type="data" format="tsv" multiple="true" label="AlleleCall results" />
        <param argument="--common" type="boolean" truevalue="--common" falsevalue="" checked="false" label="Common" optional="true" help="Create file with profiles for the set of common loci" />
    </inputs>
    <outputs>
        <data format="tabular" name="JoinedProfile" from_work_dir="JoinedProfile.tsv" label="${tool.name} on ${on_string}: Joined profiles"/>
    </outputs>
    <tests>
        <test>
            <param name="input1" value="results_alleles.tsv,results_alleles2.tsv"/>
            <output name="JoinedProfile" file="JoinedProfile.tsv" compare="diff"/>
        </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 process creates a TSV file with the allelic profiles of all samples in the input files.

.. class:: infomark

**Important**

It is necessary to pass the --common argument if the input files do not have the same set of loci (this option creates a new file only with the set of loci shared between all input files).
    </help>
    <expand macro="citations" />
</tool>