annotate table-union.xml @ 12:15230438f7f5

planemo upload
author jpayne
date Mon, 12 Feb 2018 10:22:47 -0500
parents 3f74684fb2a8
children 1af2524f48b7
rev   line source
jpayne@0 1 <tool id="table-union" name="Merge tabular datasets" version="0.1.0">
jpayne@1 2 <description>by combining their rows and unionizing columns</description>
jpayne@0 3 <requirements>
jpayne@12 4 <!-- <requirement type="package" version="3.4">python</requirement> -->
jpayne@0 5 </requirements>
jpayne@0 6 <command detect_errors="exit_code"><![CDATA[
jpayne@12 7 python $__tool_directory__/table-union.py
jpayne@0 8 #for $table in $tables
jpayne@0 9 $table
jpayne@0 10 #end for
jpayne@0 11 > $combined_table
jpayne@0 12 ]]></command>
jpayne@0 13 <inputs>
jpayne@0 14 <param name="tables" type="data_collection" format="tsv" collection_type="list" />
jpayne@0 15 </inputs>
jpayne@0 16 <outputs>
jpayne@0 17 <data name="combined_table" format="tsv" label="Combined table" />
jpayne@0 18 </outputs>
jpayne@0 19
jpayne@0 20 <tests>
jpayne@0 21 <test>
jpayne@0 22 <param name="tables">
jpayne@0 23 <collection type="list">
jpayne@0 24 <element name="1" value="dingbat.tsv" />
jpayne@0 25 <element name="2" value="loki.tsv" />
jpayne@0 26 </collection>
jpayne@0 27 </param>
jpayne@0 28 <output name="combined_table" value="combined.tsv" />
jpayne@0 29 </test>
jpayne@0 30 </tests>
jpayne@0 31 <help><![CDATA[
jpayne@0 32 Concatenate a collection of TSV files wile preserving and unionizing headers.
jpayne@0 33 ]]></help>
jpayne@0 34
jpayne@0 35 <citations>
jpayne@0 36 </citations>
jpayne@0 37 </tool>