annotate featurecounts_plugin.xml @ 24:f7e2f1eb3a16 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
author iuc
date Mon, 02 Sep 2024 14:22:54 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
1 <macros>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
2 <token name="@FEATURECOUNTS_COMMAND@"><![CDATA[
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
3 #for $file in $repeat.software_cond.input
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
4 @ESCAPE_IDENTIFIER@
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
5 #set file_prefix = os.path.join($software_dir, str($identifier))
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
6 if grep -qw Status '$file'; then
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
7 ln -s '$file' '${file_prefix}.summary';
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
8 else
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
9 echo -e 'Status\t${identifier}' > '${file_prefix}.summary';
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
10 cat '$file' >> '${file_prefix}.summary';
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
11 fi &&
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
12 #end for
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
13 ]]></token>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
14 <xml name="featurecounts_form">
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
15 <param name="input" type="data" format="txt,tabular,tsv,csv" multiple="true" label="Output of FeatureCounts"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
16 </xml>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
17 <!-- add here your test files and tests, the more stringent the better -->
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
18 <xml name="featurecounts_test">
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
19 <test expect_num_outputs="3">
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
20 <repeat name="results">
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
21 <conditional name="software_cond">
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
22 <param name="software" value="featureCounts"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
23 <param name="input" value="featureCounts.txt"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
24 </conditional>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
25 </repeat>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
26 <param name="title" value="Title of the report"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
27 <param name="comment" value="Commment for the report"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
28 <param name="flat" value="true"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
29 <param name="export" value="true"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
30 <output name="html_report">
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
31 <assert_contents>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
32 <has_text text="Title of the report"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
33 <has_text text="Commment for the report"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
34 <has_text text="featureCounts_assignment_plot"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
35 </assert_contents>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
36 </output>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
37 <output name="stats">
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
38 <assert_contents>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
39 <has_text text="featureCounts_mqc_generalstats_featurecounts_Assigned"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
40 <has_text text="accepted_hits"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
41 <has_text text="TopHat"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
42 <has_text text="featureCounts_mqc_generalstats_featurecounts_percent_assigned"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
43 <has_n_lines n="7"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
44 <has_n_columns n="3"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
45 </assert_contents>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
46 </output>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
47 <output_collection name="plots" type="list" count="1"/>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
48 </test>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
49 </xml>
f7e2f1eb3a16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff changeset
50 </macros>