Mercurial > repos > jpayne > table_ops
annotate table-union.xml @ 13:746091a78780
planemo upload
author | jpayne |
---|---|
date | Fri, 09 Mar 2018 11:14:02 -0500 |
parents | 15230438f7f5 |
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> |