view humann2_join_tables.xml @ 2:00d06692c37e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2 commit 11ee7ac206d41894c0b6a11f2439aaea490824f0
author iuc
date Thu, 09 Nov 2017 13:41:23 -0500
parents 9ada8e95bdd0
children 12103efd0e34
line wrap: on
line source

<tool id="humann2_join_tables" name="Join" version="@WRAPPER_VERSION@.0">
    <description>HUMAnN2 generated tables</description>
    <macros>
        <import>humann2_macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <expand macro="version"/>
    <command detect_errors="exit_code"><![CDATA[
mkdir tmp_dir
&&
#for $table in $input_table
    cp '$table' 'tmp_dir' &&
#end for
humann2_join_tables
    -i 'tmp_dir'
    -o '$joined_table'
    ]]></command>
    <inputs>
        <param name="input_table" type="data" format="tsv,tabular" multiple="true" label="Gene/pathway table"/>
    </inputs>
    <outputs>
        <data format="tsv" name="joined_table" label="${tool.name} on ${on_string}: Joined table" />
    </outputs>
    <tests>
        <test>
            <param name="input_table" value="demo_pathabundance.tsv,demo_pathcoverage.tsv"/>
            <output name="joined_table">
                <assert_contents>
                    <has_text text="PWY490-3: nitrate reduction VI (assimilatory)|unclassified" />
                    <has_text text="PWY-1269: CMP-3-deoxy-D-manno-octulosonate biosynthesis I" />
                    <has_text text="VALSYN-PWY: L-valine biosynthesis" />
                    <has_text text="UNINTEGRATED|g__Bacteroides.s__Bacteroides_vulgatus" />
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[
@HELP_HEADER@

Join HUMAnN2 tables is a tool to join gene or pathway tables of multiple samples into a single table.
    ]]></help>
    <expand macro="citations"/>
</tool>