comparison virAnnot_rps2tsv.xml @ 0:bbaa89f070f4 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/virAnnot commit 3a3b40c15ae5e82334f016e88b1f3c5bbbb3b2cd
author iuc
date Mon, 04 Mar 2024 19:56:16 +0000
parents
children 84d20d9c292d
comparison
equal deleted inserted replaced
-1:000000000000 0:bbaa89f070f4
1 <tool id="virAnnot_rps2tsv" name="virAnnot Rps2tsv" version="1.0.0+galaxy0" profile="21.05">
2 <description>Convert xml rpstblast results to tab file with taxonomic informations</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <command detect_errors="aggressive"><![CDATA[
8 python '$__tool_directory__/rps2tsv.py'
9 -x '$rps_xml'
10 -e '$max_evalue'
11 -o '$output'
12 ]]></command>
13 <inputs>
14 <param type="data" name="rps_xml" format="xml" label="RPSTBlast results file" />
15 <param type="select" name="max_evalue" label="Maximum evalue">
16 <option value="0">0</option>
17 <option value="0.1">0.1</option>
18 <option value="0.01">0.01</option>
19 <option value="0.001" selected="true">0.001</option>
20 <option value="0.0001">0.0001</option>
21 </param>
22 </inputs>
23 <outputs>
24 <data name="output" format="tabular" from_work_dir="rps_result.tab" />
25 </outputs>
26 <tests>
27 <test>
28 <param name="rps_xml" value="rps_test.xml"/>
29 <param name="max_evalue" value="0.0001"/>
30 <output name="output" file="rps_test.tab">
31 <assert_contents>
32 <has_n_columns n="10" />
33 <has_n_lines n="105" />
34 </assert_contents>
35 </output>
36 </test>
37 <test>
38 <param name="rps_xml" value="rps_test.xml"/>
39 <param name="max_evalue" value="0.0001"/>
40 <output name="output" file="rps_test.tab">
41 <assert_contents>
42 <has_text text="pfam01333, Apocytochr_F_C, Apocytochrome F" />
43 </assert_contents>
44 </output>
45 </test>
46 </tests>
47 <help><![CDATA[
48
49 This module takes as input rps XML file from rps motives annotation.
50 The standard maximum evalue is 0.0001 [default value].
51 The expected result is a tabular file. See example:
52 #query_id query_length cdd_id hit_id evalue startQ endQ frame description superkingdom
53 ds2020-267_120 339 pfam01333 gnl|CDD|366578 0.000848733 197 325 -3 pfam01333, Apocytochr_F_C, Apocytochrome F, C-terminal. This is a sub-family of cytochrome C. See pfam00034. Eukaryota(227);Bacteria(73);
54
55 ]]></help>
56 <expand macro="citations" />
57 </tool>