Repository 'show_metadata'
hg clone https://toolshed.g2.bx.psu.edu/repos/yhoogstrate/show_metadata

Changeset 0:9d9223704c63 (2015-10-16)
Commit message:
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/show_metadata_galaxy_wrapper commit af2ada375a150ebcdc8667390c78396149c807d7
added:
show_metadata.xml
test-data/test1.metadata_report
test-data/test1.tabular
b
diff -r 000000000000 -r 9d9223704c63 show_metadata.xml
--- /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>
b
diff -r 000000000000 -r 9d9223704c63 test-data/test1.metadata_report
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test1.metadata_report Fri Oct 16 05:26:45 2015 -0400
b
@@ -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__
b
diff -r 000000000000 -r 9d9223704c63 test-data/test1.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test1.tabular Fri Oct 16 05:26:45 2015 -0400
b
@@ -0,0 +1,7 @@
+#header1
+#header2
+#header3
+c1 c2 c3
+a 2 4
+b 1 4
+c 4 3