view cat_add_names.xml @ 4:aaeb63501369 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/cat commit ec15da3a30507841856303de991cbe80c65128fd-dirty
author jjohnson
date Wed, 27 Nov 2019 10:27:23 -0500
parents ad7507073c3f
children 226949352e31
line wrap: on
line source

<tool id="cat_add_names" name="CAT add_names" 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 add_names -i '$input'
    @CAT_TAXONOMY@
    @ADD_NAMES_OPTIONS@
    -o output_names.txt
    && @TXT2TSV@ -i output_names.txt -o $output
    ]]></command>
    <inputs>
        <param name="input" type="data" format="tabular,txt" label="classification.txt or ORF2LCA.txt"/>
        <expand macro="cat_db" />
        <expand macro="add_names_options" />
    </inputs>
    <outputs>
        <data name="output" format="tabular"/>
    </outputs>
    <tests>
        <test>
            <param name="input" ftype="tabular" value="test_contig.contig2classification.txt"/>
            <expand macro="test_catdb"/>
            <output name="output">
                <assert_contents>
                    <has_text text="Firmicutes" />
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[
**CAT/BAT add_names** 
Add names for the NCBI taxomy IDs.

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