Mercurial > repos > jpayne > table_ops
annotate table-union.xml @ 1:9c8237621723
planemo upload
author | jpayne |
---|---|
date | Mon, 08 Jan 2018 11:33:27 -0500 |
parents | f1f2497301d3 |
children | 77fc9c4a7ef0 |
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@0 | 4 </requirements> |
jpayne@0 | 5 <command detect_errors="exit_code"><![CDATA[ |
jpayne@0 | 6 $__tool_directory__/table-union.py |
jpayne@0 | 7 #for $table in $tables |
jpayne@0 | 8 $table |
jpayne@0 | 9 #end for |
jpayne@0 | 10 > $combined_table |
jpayne@0 | 11 ]]></command> |
jpayne@0 | 12 <inputs> |
jpayne@0 | 13 <param name="tables" type="data_collection" format="tsv" collection_type="list" /> |
jpayne@0 | 14 </inputs> |
jpayne@0 | 15 <outputs> |
jpayne@0 | 16 <data name="combined_table" format="tsv" label="Combined table" /> |
jpayne@0 | 17 </outputs> |
jpayne@0 | 18 |
jpayne@0 | 19 <tests> |
jpayne@0 | 20 <test> |
jpayne@0 | 21 <param name="tables"> |
jpayne@0 | 22 <collection type="list"> |
jpayne@0 | 23 <element name="1" value="dingbat.tsv" /> |
jpayne@0 | 24 <element name="2" value="loki.tsv" /> |
jpayne@0 | 25 </collection> |
jpayne@0 | 26 </param> |
jpayne@0 | 27 <output name="combined_table" value="combined.tsv" /> |
jpayne@0 | 28 </test> |
jpayne@0 | 29 </tests> |
jpayne@0 | 30 <help><![CDATA[ |
jpayne@0 | 31 Concatenate a collection of TSV files wile preserving and unionizing headers. |
jpayne@0 | 32 ]]></help> |
jpayne@0 | 33 |
jpayne@0 | 34 <citations> |
jpayne@0 | 35 </citations> |
jpayne@0 | 36 </tool> |