view irp-gateway.xml @ 2:e98071230f9f draft

"Made output format a zip"
author aac
date Tue, 12 Jan 2021 17:10:50 +0000
parents b25bbb79cfbf
children 8f34c9dfa7ea
line wrap: on
line source

<?xml version="1.0"?>
<!--
    If the value of 'URL_method' is 'get', the request will consist of the value of 'URL' coming back in
    the initial response.  If value of 'URL_method' is 'post', any additional params coming back in the
    initial response ( in addition to 'URL' ) will be encoded and appended to URL and a post will be performed.
-->
<tool name="iReceptor Plus Gateway" id="irp-integration" tool_type="data_source" version="1.0.0">
    <description>Access the iReceptor Plus Gateway to browse AIRR-seq data.</description>
    <command><![CDATA[
        python '$__root_dir__/tools/data_source/data_source.py' '$output' $__app__.config.output_size_limit
    ]]></command>
    <inputs action="https://gateway.ireceptor.org/downloads" check_values="false" method="post">
        <display>Redirected to $GALAXY_URL</display>
        <param name="GALAXY_URL" type="baseurl" value="/tool_runner" />
        <param name="tool_id" type="hidden" value="irp-integration" />
        <param name="sendToGalaxy" type="hidden" value="1" />
    </inputs>
    <request_param_translation>
        <request_param galaxy_name="URL_method" remote_name="URL_method" missing="post" />
        <request_param galaxy_name="URL" remote_name="URL" missing="" />
        <!-- There is currently no explicit data_type other than a .zip file. Could be upgraded in the future -->
        <!-- <request_param galaxy_name="data_type" remote_name="outputType" missing="zip" /> -->
    </request_param_translation>
    <outputs>
        <data name="output" format="zip" label="${tool.name}"/>
    </outputs>
    <options sanitize="False" refresh="True"/>
</tool>