view cat_contigs.xml @ 0:ad7507073c3f draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit f80f020c77d04c2e13b89aaea3d784314b940931-dirty
author jjohnson
date Sun, 24 Nov 2019 21:56:00 -0500
parents
children 18ece3d5bcde
line wrap: on
line source

<tool id="cat_contigs" name="CAT contigs" version="@VERSION@.0">
    <description>annotate with taxonomic classification</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="version_command" />
    <command detect_errors="exit_code"><![CDATA[
    CAT contigs -c '$contigs_fasta'
    @CAT_DB@
    @USE_INTERMEDIATES@
    @CUSTOM_SETTINGS@
    && @TXT2TSV@ *.ORF2LCA.txt *.contig2classification.txt
    @ADD_NAMES@
    @SUMMARISE@
    ]]></command>
    <inputs>
        <param name="contigs_fasta" type="data" format="fasta" label="Contigs fasta"/>
        <expand macro="cat_db" />
        <expand macro="use_intermediates" />
        <expand macro="custom_settings" />
        <expand macro="add_names" />
        <expand macro="summarise" />
        <expand macro="select_cat_outputs" />
    </inputs>
    <outputs>
        <expand macro="outputs" />
    </outputs>
    <tests>
        <test>
            <param name="contigs_fasta" ftype="fasta" value="contigs.fasta"/>
            <expand macro="test_catdb"/>
            <param name="select_outputs" value="contig2classification"/>
            <output name="contig2classification">
                <assert_contents>
                    <has_text text="contig_38063" />
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[
**CAT contigs**
Classifiy metagenomics contigs.

@COMMON_HELP@
    ]]></help>
    <expand macro="citations" />
</tool>