diff trinotateviz.xml @ 0:c03cf513baf3 draft default tip

planemo upload commit af9b813e424144b8bd7d9b9ce6e3a3c93bc9f549-dirty
author eduardo
date Mon, 01 May 2017 14:56:39 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trinotateviz.xml	Mon May 01 14:56:39 2017 -0400
@@ -0,0 +1,38 @@
+<tool id="trinotateviz" name="trinotate Viz" version="1.0">
+    <description>Grid visualization for Trinotate SQLite DB</description>
+    <requirements>
+    </requirements>
+    <stdio>
+        <exit_code range="1:" />
+    </stdio>
+    <command><![CDATA[
+        sed "s@input_db@${__app__.security.encode_id($db.id)}@" $__tool_directory__/static/trinotateviz.html > $output;
+        mkdir ${output.files_path};
+        cp $__tool_directory__/static/js/app.js ${output.files_path};
+        cp $__tool_directory__/static/css/main.css ${output.files_path}
+    ]]></command>
+    <inputs>
+        <param name="db" type="data" format="sqlite" />
+    </inputs>
+    <outputs>
+        <data name="output" format="html" />
+    </outputs>
+
+    <tests>
+      <test>
+          <param name="db"  value="Trinotate_no_uniprot.sqlite" />
+    <output name="output" file="trinotateviz.html" lines_diff="2" />
+  </test>
+    </tests>
+    <help><![CDATA[
+        Displays a searchable grid for Trinotate SQLilte DB
+    ]]></help>
+    <citations>
+          <citation type="bibtex">
+  @misc{renameTODO,
+    author = {LastTODO, FirstTODO},
+    year = {TODO},
+    title = {TODO},
+    url = {https://trinotate.github.io/},}</citation>
+</citations>
+</tool>