view json2iframe.xml @ 7:9305e1881519 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit b9143221aee2cd09e1334ee56ff9651550b1797a
author gga
date Fri, 15 Mar 2019 06:04:06 -0400
parents 466f03bef714
children b0714ffcf142
line wrap: on
line source

<?xml version="1.0"?>
<tool id="iframe" name="Annotate" version="3.1">
  <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="output">
              <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>