view json2iframe.xml @ 6:466f03bef714 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit d9f27b297d9a919471c92b02ecf6cc9554457211
author gga
date Tue, 30 Oct 2018 04:30:22 -0400
parents a10003dc6c85
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>