diff gemini_db_info.xml @ 0:720cbfb4190d draft

Imported from capsule None
author iuc
date Mon, 25 Aug 2014 17:15:54 -0400
parents
children 93bb0cfacefb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gemini_db_info.xml	Mon Aug 25 17:15:54 2014 -0400
@@ -0,0 +1,36 @@
+<tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0">
+    <description>List the gemini database tables and columns</description>
+    <expand macro="requirements" />
+    <expand macro="version_command" />
+    <macros>
+        <import>gemini_macros.xml</import>
+        <token name="@BINARY@">db_info</token>
+    </macros>
+    <command>
+<![CDATA[
+        gemini @BINARY@
+            "${ infile }" | tr -s ' ' '\t'
+            > "${ outfile }"
+]]>
+    </command>
+    <expand macro="stdio" />
+    <inputs>
+        <param name="infile" type="data" format="sqlite" label="GEMINI database" />
+    </inputs>
+    <outputs>
+        <data name="outfile" format="tabular" label="${tool.name} on ${on_string}" />
+    </outputs>
+    <tests>
+        <test>
+        </test>
+    </tests>
+    <help>
+**What it does**
+
+Because of the sheer number of annotations that are stored in gemini, there are admittedly too many columns to remember by rote. 
+If you can’t recall the name of particular column, just use the db_info tool. It will report all of the tables and all of the columns / types in each table.
+
+@CITATION@
+    </help>
+    <expand macro="citations"/>
+</tool>