annotate data_manager/phabox_datamanager.xml @ 2:9645eb4a0ee2 draft default tip

planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 40d304560b0b732bcc2b6397a72964caf1a5a451
author ufz
date Wed, 18 Dec 2024 12:30:38 +0000
parents 334bd61d216d
children
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>
2
9645eb4a0ee2 planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit 40d304560b0b732bcc2b6397a72964caf1a5a451
ufz
parents: 1
diff changeset
6 <token name="@VERSION_SUFFIX@">2</token>
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
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 &&
1
334bd61d216d planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit c78bd5eafa3d9450305cc8b32ba9cf8c64c42ba7
ufz
parents: 0
diff changeset
16 mkdir -p '$out_file.extra_files_path' &&
334bd61d216d planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/data_managers/data_manager_phabox commit c78bd5eafa3d9450305cc8b32ba9cf8c64c42ba7
ufz
parents: 0
diff changeset
17 mv "phabox_db_v@DB_VERSION@" '$out_file.extra_files_path' &&
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
18 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
19 ]]></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
20 <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
21 <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
22 {
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 "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
24 "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
25 {
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 "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
27 "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
28 "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
29 "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
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 }
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 }]]>
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 </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
35 </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
36 <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
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 <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
39 </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
40 <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
41 <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
42 <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
43 <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
44 <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
45 <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
46 </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
47 </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
48 </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
49 </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
50 <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
51 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
52 ]]></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
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 <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
55 </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
56 </tool>