annotate table-union.xml @ 10:3f74684fb2a8

planemo upload
author jpayne
date Wed, 31 Jan 2018 09:19:32 -0500
parents fa9bd5c8fae0
children 15230438f7f5
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@7 4 <requirement type="package" version="3.4">python3</requirement>
jpayne@0 5 </requirements>
jpayne@0 6 <command detect_errors="exit_code"><![CDATA[
jpayne@10 7 python3 $__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>