annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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>
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
6 <token name="@VERSION_SUFFIX@">0</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
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 &&
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
21 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
22 ]]></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
23 <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
24 <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
25 {
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 "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
27 "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
28 {
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 "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
30 "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
31 "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
32 }
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 ]
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 </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
37 </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
38 <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
39 <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
40 <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
41 <!-- <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
42 </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
43 </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
44 <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
45 <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
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 <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
48 <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
49 <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
50 <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
51 <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
52 <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
53 <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
54 </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
55 </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
56 </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
57 </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
58 <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
59 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
60 ]]></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
61 <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
62 <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
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 </tool>