view humann2_reduce_table.xml @ 6:92fba38bac3e draft default tip

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit b'f45f31529390153bdaf93a3c94a65f6888ed484b\n'-dirty
author bebatut
date Fri, 03 Mar 2017 06:56:50 -0500
parents abe72aa5a8b9
children
line wrap: on
line source

<tool id="humann2_reduce_table" name="Reduce" version="@WRAPPER_VERSION@.0">
    <description>a HUMAnN2 generated table</description>

    <macros>
        <import>humann2_macros.xml</import>
    </macros>

    <expand macro="requirements"/>
    <expand macro="stdio"/>

    <version_command>
<![CDATA[
    humann2_reduce_table --version
]]>
    </version_command>

    <command><![CDATA[
        humann2_reduce_table
            --input '$input'
            -o '$output_table'
            --function '$function'
            --sort-by '$sort' 
    ]]></command>

    <inputs>
        <param argument="--input" type="data" format="tsv" label="Gene/pathway table"/>
        <param argument="--function" type="select" label="Function to apply">
            <option value="max" selected="true">Max</option>
            <option value="sum">Sum</option>
            <option value="mean">Mean</option>
            <option value="min">Min</option>
        </param>
        <param name="sort" type="select" label="How to sort the output" argument="--sort-by">
            <option value="name" selected="true">Name</option>
            <option value="value">value</option>
            <option value="level">level</option>
        </param>
    </inputs>

    <outputs>
        <data format="tsv" name="output_table" label="${tool.name} on ${on_string}: Reduced table" />
    </outputs>

    <tests>
        <test>
            <param name="input" value="demo_genefamilies.tsv"/>
            <param name="function" value="max"/>
            <param name="sort" value="name"/>
            <output name="output_table" file="max_reduced_gene_family_abundance.tsv"/>
        </test>
    </tests>

    <help><![CDATA[
**What it does**

HUMAnN is a pipeline for efficiently and accuretly profiling the presence/absence and abundance of microbial pathways in a community from metagenomic or metatranscriptomic sequencing data. `Read more about the tool <http://huttenhower.sph.harvard.edu/humann2/manual>`_.

Reduce HUMAnN2 table is a tool to reduce the table given a function (max, sum, mean or min).

HUMAnN is a pipeline for efficiently and accuretly profiling the presence/absence and abundance of microbial pathways in a community from metagenomic or metatranscriptomic sequencing data. `Read more about the tool <http://huttenhower.sph.harvard.edu/humann2/manual>`_.

    ]]></help>

    <expand macro="citations"/>
</tool>