Mercurial > repos > iuc > multiqc
annotate qualimap_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 |
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="@QUALIMAP_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 #if re.search("genome_results", str($file.element_identifier)) |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
5 sample="\$(grep 'bam file = ' $file | sed 's/bam file = //g' | sed 's: ::g')" && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
6 dir_name="$software_dir/\${sample}" && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
7 mkdir -p \${dir_name} && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
8 filepath_1="\${dir_name}/genome_results.txt" && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
9 ln -sf '$file' \${filepath_1} && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
10 #elif re.search("coverage_histogram", str($file.element_identifier)) |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
11 nested_dir_name="\${dir_name}/raw_data_qualimapReport/" && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
12 mkdir -p \${nested_dir_name} && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
13 filepath_2="\${nested_dir_name}/coverage_histogram.txt" && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
14 ln -sf '$file' \${filepath_2} && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
15 #elif re.search("gc-content_distribution", str($file.element_identifier)) |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
16 nested_dir_name="\${dir_name}/raw_data_qualimapReport/" && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
17 mkdir -p \${nested_dir_name} && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
18 filepath_3="\${nested_dir_name}/mapped_reads_gc-content_distribution.txt" && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
19 ln -sf '$file' \${filepath_3} && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
20 #else |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
21 #pass |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
22 #end if |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
23 #end for |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
24 ]]></token> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
25 <xml name="qualimap_form"> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
26 <param name="input" type="data" format="txt,tabular,tsv" multiple="true" label="Output of Qualimap BamQC" help="First result input should be genome_coverage (default from tool output). Run the Flatten Collection tool to keep all output in one report"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
27 </xml> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
28 <!-- 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
|
29 <xml name="qualimap_test"> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
30 <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
|
31 <repeat name="results"> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
32 <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
|
33 <param name="software" value="qualimap"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
34 <param name="input" value="genome_results.txt"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
35 </conditional> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
36 </repeat> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
37 <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
|
38 <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
|
39 <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
|
40 <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
|
41 <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
|
42 <assert_contents> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
43 <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
|
44 <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
|
45 <has_text text="qualimap"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
46 </assert_contents> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
47 </output> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
48 <output name="stats"> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
49 <assert_contents> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
50 <has_text text="BamQC_mqc_generalstats_qualimap_bamqc_mean_coverage"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
51 <has_text text="BamQC_mqc_generalstats_qualimap_bamqc_mapped_reads"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
52 <has_text text="BamQC_mqc_generalstats_qualimap_bamqc_total_reads"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
53 <has_text text="x_bam"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
54 <has_text text="0.98"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
55 <has_n_lines n="2"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
56 <has_n_columns n="6"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
57 </assert_contents> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
58 </output> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
59 <output_collection name="plots" type="list" count="0"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
60 </test> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
61 </xml> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
62 </macros> |