diff show_metadata.xml @ 0:9d9223704c63 draft default tip

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/show_metadata_galaxy_wrapper commit af2ada375a150ebcdc8667390c78396149c807d7
author yhoogstrate
date Fri, 16 Oct 2015 05:26:45 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/show_metadata.xml	Fri Oct 16 05:26:45 2015 -0400
@@ -0,0 +1,26 @@
+<tool id="show_metadata" name="Show Metadata" version="1.0.0">
+    <description>Debugging utility: show all metadata of a history item</description>
+    <command><![CDATA[
+        #for $metadata_element, $metadata_value in $input.metadata.items()
+            echo "$metadata_element: $metadata_value" >> $output ; 
+        #end for
+    ]]></command>
+    <inputs>
+        <param name="input" type="data" label="File to scan for all metadata" />
+    </inputs>
+    <outputs>
+        <data format="txt" name="output" label="${tool.name} on ${input.name}" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="input" value="test1.tabular" ftype="tabular" dbkey="hg19" />
+            <output name="output" file="test1.metadata_report"/>
+        </test>
+    </tests>
+    
+    <help><![CDATA[
+        ** What it does? **
+        
+        Shows all the metadata elements of a history item.
+    ]]></help>
+</tool>