annotate data_manager/phabox_datamanager.xml @ 0:6521d8d6dbdf draft

planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
author ufz
date Tue, 12 Nov 2024 09:30:25 +0000
parents
children 334bd61d216d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
1 <tool id="phabox_build_database" name="PhaBOX" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
2 <description>database builder</description>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
3 <macros>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
4 <token name="@TOOL_VERSION@">2.1.5</token>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
5 <token name="@DB_VERSION@">2</token>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
6 <token name="@VERSION_SUFFIX@">0</token>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
7 <token name="@PROFILE@">22.01</token>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
8 </macros>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
9 <requirements>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
10 <requirement type="package" version="6.0">unzip</requirement>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
11 <requirement type="package" version="1.21.4">wget</requirement>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
12 </requirements>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
13 <command detect_errors="exit_code"><![CDATA[
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
14 wget https://github.com/KennthShang/PhaBOX/releases/download/v2/phabox_db_v@DB_VERSION@.zip &&
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
15 unzip phabox_db_v@DB_VERSION@.zip &&
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
16 cp '$dmjson' '$out_file'
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
17 ]]></command>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
18 <configfiles>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
19 <configfile name="dmjson"><![CDATA[
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
20 {
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
21 "data_tables":{
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
22 "phabox":[
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
23 {
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
24 "path":"phabox_db_v@DB_VERSION@",
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
25 "name":"Version @DB_VERSION@",
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
26 "version":"@DB_VERSION@",
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
27 "value":"@DB_VERSION@"
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
28 }
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
29 ]
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
30 }
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
31 }]]>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
32 </configfile>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
33 </configfiles>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
34 <inputs/>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
35 <outputs>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
36 <data name="out_file" format="data_manager_json" />
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
37 </outputs>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
38 <tests>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
39 <test expect_num_outputs="1">
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
40 <output name="out_file">
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
41 <assert_contents>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
42 <has_text text='"value":"@DB_VERSION@"'/>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
43 <has_text text='"name":"Version 2'/>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
44 </assert_contents>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
45 </output>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
46 </test>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
47 </tests>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
48 <help><![CDATA[
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
49 Download and extract PhaBOX reference data. The current tool version is used for versioning. For the user only the major version is shown
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
50 ]]></help>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
51 <citations>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
52 <citation type="doi">10.1093/bioadv/vbad101</citation>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
53 </citations>
6521d8d6dbdf planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
ufz
parents:
diff changeset
54 </tool>