Mercurial > repos > ufz > genomad_build_database
comparison data_manager/genomad_datamanager.xml @ 0:c4ec3d81eeee draft
planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_genomad commit 483ade5362574a59ddc87e3788334bcbff253805
author | ufz |
---|---|
date | Tue, 18 Jun 2024 14:28:27 +0000 |
parents | |
children | 03623fc64d5c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c4ec3d81eeee |
---|---|
1 <?xml version="1.0"?> | |
2 <tool id="genomad_build_database" name="geNomad" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
3 <description>database builder</description> | |
4 <macros> | |
5 <token name="@TOOL_VERSION@">1.8.0</token> | |
6 <token name="@VERSION_SUFFIX@">0</token> | |
7 <token name="@PROFILE@">22.01</token> | |
8 </macros> | |
9 <requirements> | |
10 <requirement type="package" version="1.21.4">wget</requirement> | |
11 </requirements> | |
12 <command detect_errors="exit_code"><![CDATA[ | |
13 set -eo pipefail; | |
14 wget -O - | |
15 ## #if $version == "test" | |
16 ## https://zenodo.org/records/11945948/files/genomad_microdb.tar.gz?download=1 | |
17 ## #else | |
18 https://zenodo.org/records/10594875/files/genomad_db_v${version}.tar.gz?download=1 | |
19 ## #end if | |
20 | tar -xzv && | |
21 cp '$dmjson' '$out_file' | |
22 ]]></command> | |
23 <configfiles> | |
24 <configfile name="dmjson"><![CDATA[ | |
25 { | |
26 "data_tables":{ | |
27 "genomad":[ | |
28 { | |
29 "path":"genomad_db", | |
30 "name":"Version $version", | |
31 "value":"$version" | |
32 } | |
33 ] | |
34 } | |
35 }]]> | |
36 </configfile> | |
37 </configfiles> | |
38 <inputs> | |
39 <param name="version" type="select" multiple="false" label="Database Version" help="Download the chosen version from https://zenodo.org/records/10594875"> | |
40 <option value="1.7">1.7</option> | |
41 <!-- <option value="test">test</option> --> | |
42 </param> | |
43 </inputs> | |
44 <outputs> | |
45 <data name="out_file" format="data_manager_json" /> | |
46 </outputs> | |
47 <tests> | |
48 <test expect_num_outputs="1"> | |
49 <param name="version" value="1.7" /> | |
50 <output name="out_file"> | |
51 <assert_contents> | |
52 <has_text text='"value":"1.7"'/> | |
53 <has_text text='"name":"Version 1.7"'/> | |
54 </assert_contents> | |
55 </output> | |
56 </test> | |
57 </tests> | |
58 <help><![CDATA[ | |
59 Download and extract geNomad database from https://zenodo.org/records/10594875 | |
60 ]]></help> | |
61 <citations> | |
62 <citation type="doi">10.1186/gb-2014-15-3-r46</citation> | |
63 </citations> | |
64 </tool> |