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