diff enasearch_retrieve_data.xml @ 0:cbc24be56f7b draft

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/enasearch/ commit 6eda25f5cccc0cf9be09c38a8b48d37aff56ed87
author iuc
date Tue, 29 Aug 2017 04:13:09 -0400
parents
children 0719cfc3ebcb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/enasearch_retrieve_data.xml	Tue Aug 29 04:13:09 2017 -0400
@@ -0,0 +1,72 @@
+<tool id="enasearch_retrieve_data" name="Retrieve ENA data" version="@WRAPPER_VERSION@.0">
+    <description>(other than taxon and project)</description>
+    <macros>
+        <import>macros.xml</import>
+        <import>search_macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <expand macro="version"/>
+    <command detect_errors="aggressive"><![CDATA[
+enasearch
+    retrieve_data
+    @IDS@
+    @DISPLAY@
+    $expanded
+    $header
+    --file '$output'
+    --download 'txt'
+    ]]></command>
+    <inputs>
+        <param argument="--ids" type="text" multiple="true" label="Ids for records to return" help="Other than Taxon and Project. It can also be range of ids (e.g. ERA000010-ERA000020)"/>
+        <expand macro="display_opt"/>
+        <expand macro="expanded"/>
+        <expand macro="header"/>
+    </inputs>
+    <outputs>
+        <data name="output" format="tabular" label="${tool.name} on ${ids}">
+            <expand macro="change_format"/>
+        </data>
+    </outputs>
+    <tests>
+        <test>
+            <param name="ids" value="ERA000010-ERA000020"/>
+            <conditional name="display_opt">
+                <param name="display" value="xml"/>
+            </conditional>
+            <output name="output" ftype="xml" md5="d42dec30c41578705ba9b167dc0c30b1"/>
+        </test>
+        <test>
+            <param name="ids" value="A00145"/>
+            <conditional name="display_opt">
+                <param name="display" value="fasta"/>
+                <param name="range_start" value="3"/>
+                <param name="range_stop" value="63"/>
+            </conditional>
+            <output name="output" ftype="fasta" md5="758cb77161dcf6f8cf841cb141e9277e"/>
+        </test>
+        <test>
+            <param name="ids" value="AL513382"/>
+            <conditional name="display_opt">
+                <param name="display" value="text"/>
+                <param name="offset" value="0"/>
+                <param name="length" value="100"/>
+            </conditional>
+            <param name="expanded" value="true"/>
+            <output name="output" md5="e77ed0fb6f75093251b6ddc98f9db835"/>
+        </test>
+        <test>
+            <param name="ids" value="PRJEB2772,AL513382"/>
+            <conditional name="display_opt">
+                <param name="display" value="html"/>
+            </conditional>
+            <param name="header" value="true"/>
+            <output name="output" md5="7b23a8c12893728272f4993073e341f6"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+**What it does**
+
+This tool retrieve ENA data (other than taxon and project)
+    ]]></help>
+    <expand macro="citations"/>
+</tool>