view json2iframe.xml @ 5:207c1c281360 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit 85194fa009ead2c34720faab61a4143fc29d17c2
author gga
date Fri, 31 Aug 2018 09:33:49 -0400
parents a10003dc6c85
children 466f03bef714
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="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>