diff hcluster_sg_parser.xml @ 0:dbc49bd1a3e9 draft

planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/hcluster_sg_parser commit 75c6b4d9bd23cdd5f8e5626b1b01f2abba32c274-dirty
author earlhaminst
date Mon, 12 Dec 2016 07:12:23 -0500
parents
children 17aa68582a05
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hcluster_sg_parser.xml	Mon Dec 12 07:12:23 2016 -0500
@@ -0,0 +1,35 @@
+<tool id="hcluster_sg_parser" name="hcluster_sg_parser" version="0.1.1">
+    <description>Converts hcluster_sg 3-column output into lists of ids</description>
+    <command>
+<![CDATA[
+perl $__tool_directory__/hcluster_sg_parser.pl
+$inputFile
+]]>
+    </command>
+    <inputs>
+        <param name="inputFile" type="data" format="tabular" label="hcluster output file in 3-column format" help="3-columns format: cluster_id cluster-size cluster-members" />
+    </inputs>
+    <outputs>
+        <collection name="ids_lists" type="list" label="${tool.name} on ${on_string}">
+            <discover_datasets pattern="(?P&lt;designation&gt;.+)_output\.txt" ext="txt" />
+        </collection>
+    </outputs>
+    <tests>
+        <test>
+            <param name="inputFile" ftype="tabular" value="hcluster_sg.tabular" />
+            <output_collection name="ids_lists" type="list">
+                <element name="0" file="0_output.txt" ftype="txt" />
+                <element name="1" file="1_output.txt" ftype="txt" />
+                <element name="2" file="2_output.txt" ftype="txt" />
+                <element name="3" file="3_output.txt" ftype="txt" />
+            </output_collection>
+        </test>
+    </tests>
+    <help>
+<![CDATA[
+Simple wrapper for hcluster_sg output parser.
+]]>
+    </help>
+    <citations>
+    </citations>
+</tool>