Mercurial > repos > jpayne > table_ops
annotate table-union.xml @ 3:77fc9c4a7ef0
planemo upload
author | jpayne |
---|---|
date | Mon, 29 Jan 2018 13:58:43 -0500 |
parents | 9c8237621723 |
children | 4a5c79572664 |
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@3 | 4 <requirement type="package">package_python_3_5</requirement> |
jpayne@0 | 5 </requirements> |
jpayne@0 | 6 <command detect_errors="exit_code"><![CDATA[ |
jpayne@0 | 7 $__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> |