view json2iframe.xml @ 3:951ef9b7bafc draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit 079b759c21c00200544a6d8d5521617dce8ca70d
author gga
date Wed, 20 Sep 2017 09:44:39 -0400
parents 99b348a1d355
children a10003dc6c85
line wrap: on
line source

<?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>