diff table-union.xml @ 0:f1f2497301d3

planemo upload
author jpayne
date Mon, 08 Jan 2018 11:19:54 -0500
parents
children 9c8237621723
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/table-union.xml	Mon Jan 08 11:19:54 2018 -0500
@@ -0,0 +1,35 @@
+<tool id="table-union" name="Merge tabular datasets" version="0.1.0">
+    <requirements>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        $__tool_directory__/table-union.py 
+        #for $table in $tables
+            $table
+        #end for
+        > $combined_table
+    ]]></command>
+    <inputs>
+        <param name="tables" type="data_collection" format="tsv" collection_type="list" />
+    </inputs>
+    <outputs>
+        <data name="combined_table" format="tsv" label="Combined table" />
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="tables">
+                <collection type="list">
+                    <element name="1" value="dingbat.tsv" />
+                    <element name="2" value="loki.tsv" />
+                </collection>
+            </param>
+            <output name="combined_table" value="combined.tsv" />
+        </test>
+    </tests>
+    <help><![CDATA[
+        Concatenate a collection of TSV files wile preserving and unionizing headers.
+    ]]></help>
+
+    <citations>
+    </citations>
+</tool>
\ No newline at end of file