comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:6521d8d6dbdf
1 <tool id="phabox_build_database" name="PhaBOX" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>database builder</description>
3 <macros>
4 <token name="@TOOL_VERSION@">2.1.5</token>
5 <token name="@DB_VERSION@">2</token>
6 <token name="@VERSION_SUFFIX@">0</token>
7 <token name="@PROFILE@">22.01</token>
8 </macros>
9 <requirements>
10 <requirement type="package" version="6.0">unzip</requirement>
11 <requirement type="package" version="1.21.4">wget</requirement>
12 </requirements>
13 <command detect_errors="exit_code"><![CDATA[
14 wget https://github.com/KennthShang/PhaBOX/releases/download/v2/phabox_db_v@DB_VERSION@.zip &&
15 unzip phabox_db_v@DB_VERSION@.zip &&
16 cp '$dmjson' '$out_file'
17 ]]></command>
18 <configfiles>
19 <configfile name="dmjson"><![CDATA[
20 {
21 "data_tables":{
22 "phabox":[
23 {
24 "path":"phabox_db_v@DB_VERSION@",
25 "name":"Version @DB_VERSION@",
26 "version":"@DB_VERSION@",
27 "value":"@DB_VERSION@"
28 }
29 ]
30 }
31 }]]>
32 </configfile>
33 </configfiles>
34 <inputs/>
35 <outputs>
36 <data name="out_file" format="data_manager_json" />
37 </outputs>
38 <tests>
39 <test expect_num_outputs="1">
40 <output name="out_file">
41 <assert_contents>
42 <has_text text='"value":"@DB_VERSION@"'/>
43 <has_text text='"name":"Version 2'/>
44 </assert_contents>
45 </output>
46 </test>
47 </tests>
48 <help><![CDATA[
49 Download and extract PhaBOX reference data. The current tool version is used for versioning. For the user only the major version is shown
50 ]]></help>
51 <citations>
52 <citation type="doi">10.1093/bioadv/vbad101</citation>
53 </citations>
54 </tool>