comparison freyja_plugin.xml @ 27:7591bce96601 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 327834d2ea9b16f0f0264fa4e9b675a2277f2fee
author iuc
date Tue, 18 Feb 2025 23:18:25 +0000
parents
children
comparison
equal deleted inserted replaced
26:d2aaac19f42f 27:7591bce96601
1 <macros>
2 <token name="@FREYJA_COMMAND@"><![CDATA[
3 #set $pattern = "summarized\t\["
4 #for $file in $repeat.software_cond.input
5 @ESCAPE_IDENTIFIER@
6 #set file_path = os.path.join($software_dir, str($identifier) + '.tsv')
7 ln -s '$file' '$file_path' &&
8 #end for
9 ]]></token>
10 <xml name="freyja_form">
11 <param name="input" type="data" format="tsv" multiple="true" label="Output of Freyja" help="It should contain 'summarized\t['"/>
12 </xml>
13 <xml name="freyja_test">
14 <test expect_num_outputs="3">
15 <repeat name="results">
16 <conditional name="software_cond">
17 <param name="software" value="freyja"/>
18 <param name="input" value="freyja.tsv"/>
19 </conditional>
20 </repeat>
21 <param name="title" value="Title of the report"/>
22 <param name="comment" value="Commment for the report"/>
23 <param name="flat" value="true"/>
24 <param name="export" value="true"/>
25 <output name="html_report">
26 <assert_contents>
27 <has_text text="Title of the report"/>
28 <has_text text="Commment for the report"/>
29 <has_text text="Freyja Summary"/>
30 <has_text text="Top lineage"/>
31 </assert_contents>
32 </output>
33 <output name="stats">
34 <assert_contents>
35 <has_text text="freyja-Top_lineage_freyja"/>
36 <has_text text="freyja-Top_lineage_freyja_percentage"/>
37 <has_text text="A"/>
38 <has_text text="57.89470000000878"/>
39 <has_n_lines n="2"/>
40 <has_n_columns n="3"/>
41 </assert_contents>
42 </output>
43 <output_collection name="plots" type="list" count="1"/>
44 </test>
45 </xml>
46 </macros>