changeset 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
files show_metadata.xml test-data/test1.metadata_report test-data/test1.tabular
diffstat 3 files changed, 40 insertions(+), 0 deletions(-) [+]
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>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test1.metadata_report	Fri Oct 16 05:26:45 2015 -0400
@@ -0,0 +1,7 @@
+dbkey: hg19
+data_lines: 4
+comment_lines: 3
+columns: 3
+column_types: str,str,str
+column_names: __ob____cb__
+delimiter: __tc__
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test1.tabular	Fri Oct 16 05:26:45 2015 -0400
@@ -0,0 +1,7 @@
+#header1
+#header2
+#header3
+c1	c2	c3
+a	2	4
+b	1	4
+c	4	3