comparison data_manager/eukcc.xml @ 0:7f11e0da0e4f draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/data_managers/data_manager_eukcc commit ea26eabce05391af21e0919ac5309d23396960e3
author ufz
date Fri, 25 Jul 2025 10:54:08 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7f11e0da0e4f
1 <tool id="data_manager_eukcc" name="EukCC data manager" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" tool_type="manage_data" profile="20.01">
2 <macros>
3 <token name="@TOOL_VERSION@">2.1.3</token>
4 <token name="@VERSION_SUFFIX@">0</token>
5 </macros>
6 <requirements>
7 <requirement type="package" version="@TOOL_VERSION@">eukcc</requirement>
8 </requirements>
9 <version_command>eukcc --version | cut -d" " -f3</version_command>
10 <command detect_errors="exit_code"><![CDATA[
11 mkdir '$output_file.extra_files_path' &&
12 wget http://ftp.ebi.ac.uk/pub/databases/metagenomics/eukcc/eukcc2_db_ver_${version}.tar.gz &&
13 tar -xvf eukcc2_db_ver_${version}.tar.gz &&
14 rm eukcc2_db_ver_${version}.tar.gz &&
15 mv eukcc2_db_ver_${version}/* '$output_file.extra_files_path'/ &&
16 cp '$dmjson' '$output_file'
17 ]]></command>
18 <configfiles>
19 <configfile name="dmjson"><![CDATA[
20 {
21 "data_tables":{
22 "eukcc":[
23 {
24 "value":"$version",
25 "name":"EukCC DB ${version}",
26 "version":"${version}",
27 "path":"$output_file.extra_files_path"
28 }
29 ]
30 }
31 }]]></configfile>
32 </configfiles>
33 <inputs>
34 <param name="version" type="select" label="DB version">
35 <option value="1.2">1.2</option>
36 </param>
37 </inputs>
38 <outputs>
39 <data name="output_file" format="data_manager_json"/>
40 </outputs>
41 <tests>
42 <!-- data to large for test in CI
43 <test>
44 <param name="version" value="1.2"/>
45 <output name="output_file">
46 <assert_contents>
47 <has_text text="EukCC DB"/>
48 <has_text text="1.2"/>
49 <has_text text="eukcc"/>
50 </assert_contents>
51 </output>
52 </test> -->
53 </tests>
54 <help><![CDATA[
55 This data managers fetches EukCC reference data from http://ftp.ebi.ac.uk/pub/databases/metagenomics/eukcc/
56 ]]></help>
57 <citations>
58 <citation type="doi">10.1186/s13059-020-02155-4</citation>
59 </citations>
60 </tool>