diff get_online_data.xml @ 0:2538366eb8fb draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/data_source/get_online_data commit aed18d7d09e332efe57d00b33c2b8249abefaedb
author bgruening
date Wed, 22 May 2019 07:43:41 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/get_online_data.xml	Wed May 22 07:43:41 2019 -0400
@@ -0,0 +1,58 @@
+<tool id="ctb_online_data_fetch" name="Online data" version="0.4">
+    <description>fetching</description>
+    <requirements>
+        <requirement type="package" version="3">python</requirement>
+    </requirements>
+    <command>
+<![CDATA[
+      python '$__tool_directory__/get_online_data.py'
+        --url '$url_paste'
+        --out '$output'
+        --whitelist '$whitelist'
+]]>
+    </command>
+    <inputs>
+        <param name="url_paste" type="text" area="true" size="5x55" label="URLs" help="List of URLs (one per line)."/>
+        <param name="whitelist" type="text" area="true" size="10x20"
+            label="Whitelist of filename extensions"
+            help="Specify a list of file extensions which should be extracted (default: sdf, mol, smi, inchi). Each extension should be placed on a new line."/>
+    </inputs>
+    <outputs>
+        <data format="txt" name="output" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="url_paste" value="https://github.com/simonbray/test-files/blob/master/get_online_data/1AKI.pdb.gz?raw=true" />
+            <param name="whitelist" value=".pdb"/>
+            <output name="output" file="gztest.txt" />
+        </test>
+        <test>
+            <param name="url_paste" value="https://github.com/simonbray/test-files/blob/master/get_online_data/sdfs.zip?raw=true" />
+            <output name="output" file="ziptest.txt" />
+        </test>
+    </tests>
+    <help>
+<![CDATA[
+
+.. class:: infomark
+
+**What this tool does**
+
+Fetch data via FTP or HTTP and store them in your history. Supply one or more URLs; all files with the chosen file extensions will be extracted. Caution: all files are concatenated together.
+
+-----
+
+.. class:: infomark
+
+**Input**
+
+Supported filetypes are:
+	- gz/gzip
+	- ZIP (with recursive extracting of specific filetypes)
+
+
+]]>
+    </help>
+    <citations>
+    </citations>
+</tool>