changeset 0:a1267fc353f4 draft

"planemo upload commit 14444c0cf01771bee10424a169ab24954530350d-dirty"
author aac
date Mon, 11 Jan 2021 14:46:35 +0000
parents
children b25bbb79cfbf
files README.md irp-gateway.xml
diffstat 2 files changed, 52 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README.md	Mon Jan 11 14:46:35 2021 +0000
@@ -0,0 +1,21 @@
+# iReceptor Plus Gateway Galaxy Datasource
+
+Galaxy datasource tool for connecting a Galaxy instance to the iReceptor Plus Gateway.
+
+## Installation
+
+1. Copy `irp-gateway.xml` to `galaxy-central/tools/data_source`
+2. Configure `galaxy-central/config/tool_conf.xml` to include the new tool by adding `<tool file="data_source/irp-gateway.xml" />` under the `<section id="getext" name="Get Data">` tag.
+
+   Example:
+```xml
+<?xml version='1.0' encoding='utf-8'?>
+    <toolbox monitor="true">
+        <section id="getext" name="Get Data">
+            [...]
+            <tool file="data_source/irp-gateway.xml" />
+            [...]
+```
+
+3. Restart or reload Galaxy's instance
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/irp-gateway.xml	Mon Jan 11 14:46:35 2021 +0000
@@ -0,0 +1,31 @@
+<?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 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="" />
+        <request_param galaxy_name="data_type" remote_name="outputType" missing="auto" >
+            <value_translation>
+                <value galaxy_value="tabular" remote_value="table" />
+            </value_translation>
+        </request_param>
+    </request_param_translation>
+    <outputs>
+        <data name="output" format="tabular" label="${tool.name}"/>
+    </outputs>
+    <options sanitize="False" refresh="True"/>
+</tool>