diff json2iframe.xml @ 0:99b348a1d355 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit f745b23c84a615bf434d717c8c0e553a012f0268
author gga
date Mon, 11 Sep 2017 05:47:45 -0400
parents
children a10003dc6c85
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/json2iframe.xml	Mon Sep 11 05:47:45 2017 -0400
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<tool id="iframe" name="Annotate" version="3.0">
+  <description>opens an IFrame to Apollo</description>
+  <macros>
+    <import>macros.xml</import>
+  </macros>
+  <expand macro="requirements"/>
+  <command detect_errors="aggressive"><![CDATA[
+python $__tool_directory__/json2iframe.py
+@URL@
+'$json_file'
+@EXT_URL@
+> $output]]></command>
+  <inputs>
+    <param name="json_file" type="data" format="json" label="Apollo Organism Listing" />
+  </inputs>
+  <outputs>
+    <data format="html" name="output"/>
+  </outputs>
+  <tests>
+      <test>
+          <param name="json_file" value="fake.json"/>
+          <output name="html">
+              <assert_contents>
+                  <has_text text="Embedded Apollo Access" />
+              </assert_contents>
+          </output>
+      </test>
+  </tests>
+  <help><![CDATA[
+**What it does**
+
+Given a json file that's output by the Galaxy<->Apollo bridge, this
+generates a nice little IFrame that you can use to access Apollo
+
+@REFERENCES@
+      ]]></help>
+  <expand macro="citations"/>
+</tool>