comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:2538366eb8fb
1 <tool id="ctb_online_data_fetch" name="Online data" version="0.4">
2 <description>fetching</description>
3 <requirements>
4 <requirement type="package" version="3">python</requirement>
5 </requirements>
6 <command>
7 <![CDATA[
8 python '$__tool_directory__/get_online_data.py'
9 --url '$url_paste'
10 --out '$output'
11 --whitelist '$whitelist'
12 ]]>
13 </command>
14 <inputs>
15 <param name="url_paste" type="text" area="true" size="5x55" label="URLs" help="List of URLs (one per line)."/>
16 <param name="whitelist" type="text" area="true" size="10x20"
17 label="Whitelist of filename extensions"
18 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."/>
19 </inputs>
20 <outputs>
21 <data format="txt" name="output" />
22 </outputs>
23 <tests>
24 <test>
25 <param name="url_paste" value="https://github.com/simonbray/test-files/blob/master/get_online_data/1AKI.pdb.gz?raw=true" />
26 <param name="whitelist" value=".pdb"/>
27 <output name="output" file="gztest.txt" />
28 </test>
29 <test>
30 <param name="url_paste" value="https://github.com/simonbray/test-files/blob/master/get_online_data/sdfs.zip?raw=true" />
31 <output name="output" file="ziptest.txt" />
32 </test>
33 </tests>
34 <help>
35 <![CDATA[
36
37 .. class:: infomark
38
39 **What this tool does**
40
41 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.
42
43 -----
44
45 .. class:: infomark
46
47 **Input**
48
49 Supported filetypes are:
50 - gz/gzip
51 - ZIP (with recursive extracting of specific filetypes)
52
53
54 ]]>
55 </help>
56 <citations>
57 </citations>
58 </tool>