view table-union.xml @ 1:9c8237621723

planemo upload
author jpayne
date Mon, 08 Jan 2018 11:33:27 -0500
parents f1f2497301d3
children 77fc9c4a7ef0
line wrap: on
line source
<tool id="table-union" name="Merge tabular datasets" version="0.1.0">
    <description>by combining their rows and unionizing columns</description>
    <requirements>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        $__tool_directory__/table-union.py 
        #for $table in $tables
            $table
        #end for
        > $combined_table
    ]]></command>
    <inputs>
        <param name="tables" type="data_collection" format="tsv" collection_type="list" />
    </inputs>
    <outputs>
        <data name="combined_table" format="tsv" label="Combined table" />
    </outputs>

    <tests>
        <test>
            <param name="tables">
                <collection type="list">
                    <element name="1" value="dingbat.tsv" />
                    <element name="2" value="loki.tsv" />
                </collection>
            </param>
            <output name="combined_table" value="combined.tsv" />
        </test>
    </tests>
    <help><![CDATA[
        Concatenate a collection of TSV files wile preserving and unionizing headers.
    ]]></help>

    <citations>
    </citations>
</tool>