comparison data_manager/interproscan.xml @ 3:0df47f8552f6 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_interproscan commit 01e8e726d711c0685f46d3146e4fe0f2a1306036
author iuc
date Wed, 07 Dec 2022 13:41:38 +0000
parents 7776cb18fdf8
children
comparison
equal deleted inserted replaced
2:7776cb18fdf8 3:0df47f8552f6
1 <tool id="data_manager_interproscan" name="InterProScan data manager" version="0.0.2" tool_type="manage_data" profile="20.01"> 1 <tool id="data_manager_interproscan" name="InterProScan data manager" version="0.0.3" tool_type="manage_data" profile="20.01">
2 <requirements> 2 <requirements>
3 <requirement type="package" version="5.54-87.0">interproscan</requirement> 3 <requirement type="package" version="5.59-91.0">interproscan</requirement>
4 <requirement type="package" version="2.26.0">requests</requirement> 4 <requirement type="package" version="2.26.0">requests</requirement>
5 <!-- Forcing an old hmmer version for indexing due to https://github.com/ebi-pf-team/interproscan/issues/232 --> 5 <!-- Forcing an old hmmer version for indexing due to https://github.com/ebi-pf-team/interproscan/issues/232 -->
6 <requirement type="package" version="3.1b2">hmmer</requirement> 6 <requirement type="package" version="3.1b2">hmmer</requirement>
7 </requirements> 7 </requirements>
8 <command detect_errors="exit_code"><![CDATA[ 8 <command detect_errors="exit_code"><![CDATA[
13 '${output_file}' 13 '${output_file}'
14 ]]></command> 14 ]]></command>
15 <inputs> 15 <inputs>
16 <param name="partial_data" type="hidden" value="" help="Used for testing"/> 16 <param name="partial_data" type="hidden" value="" help="Used for testing"/>
17 <param name="version" type="text" value="" label="Version to download" help="Leave empty to download the latest version"> 17 <param name="version" type="text" value="" label="Version to download" help="Leave empty to download the latest version">
18 <validator type="regex" message="Version must be a valid InterProScan version (e.g. 5.52-86.0)">^([0-9]+\.[0-9]+-[0-9]+\.[0-9]+)?$</validator> 18 <validator type="regex" message="Version must be a valid InterProScan version (e.g. 5.59-91.0)">^([0-9]+\.[0-9]+-[0-9]+\.[0-9]+)?$</validator>
19 </param> 19 </param>
20 </inputs> 20 </inputs>
21 <outputs> 21 <outputs>
22 <data name="output_file" format="data_manager_json"/> 22 <data name="output_file" format="data_manager_json"/>
23 </outputs> 23 </outputs>
29 <has_text text="InterProScan 5."/> 29 <has_text text="InterProScan 5."/>
30 <has_text text='"interproscan_version": "5.'/> 30 <has_text text='"interproscan_version": "5.'/>
31 </assert_contents> 31 </assert_contents>
32 </output> 32 </output>
33 <assert_stdout> 33 <assert_stdout>
34 <has_text text="Pressed and indexed" /> 34 <has_text text="Finished." />
35 <has_text text="Completed indexing the hmm models" />
36 </assert_stdout> 35 </assert_stdout>
37 </test> 36 </test>
38 <test> 37 <test>
39 <param name="partial_data" value="--partial"/> 38 <param name="partial_data" value="--partial"/>
40 <param name="version" value="5.51-85.0"/> 39 <param name="version" value="5.58-91.0"/>
41 <output name="output_file"> 40 <output name="output_file">
42 <assert_contents> 41 <assert_contents>
43 <has_text text="InterProScan 5.51-85.0"/> 42 <has_text text="InterProScan 5.58-91.0"/>
44 <has_text text='"interproscan_version": "5.51-85.0'/> 43 <has_text text='"interproscan_version": "5.58-91.0'/>
45 </assert_contents> 44 </assert_contents>
46 </output> 45 </output>
47 <assert_stdout> 46 <assert_stdout>
48 <has_text text="Pressed and indexed" /> 47 <has_text text="Finished." />
49 <has_text text="Completed indexing the hmm models" />
50 </assert_stdout> 48 </assert_stdout>
49 </test>
50 <test expect_failure="true">
51 <param name="partial_data" value="--partial"/>
52 <param name="version" value="5.51-85.0"/>
53 <assert_stderr>
54 <has_text text="Sorry, this data manager can only download data for InterProScan >= 5.58-91.0. Use the 0.0.2 version for older versions of InterProScan." />
55 </assert_stderr>
51 </test> 56 </test>
52 <test expect_failure="true"> 57 <test expect_failure="true">
53 <param name="partial_data" value="--partial"/> 58 <param name="partial_data" value="--partial"/>
54 <param name="version" value="xxxx"/> 59 <param name="version" value="xxxx"/>
55 <assert_stderr> 60 <assert_stderr>