Mercurial > repos > iuc > multiqc
annotate fastp_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="@FASTP_COMMAND@"><![CDATA[ |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
3 #set $pattern = "report_title" |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
4 #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
|
5 @ESCAPE_IDENTIFIER@ |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
6 #set file_path = os.path.join($software_dir, str($identifier) + 'fastp.json') |
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_path' && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
8 grep -q "$pattern" '$file_path' || die "'$pattern' or 'report_title' not found in the file" && |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
9 #end for |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
10 ]]></token> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
11 <xml name="fastp_form"> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
12 <param name="input" type="data" format="json" label="Output of fastp" help="It should be the json report from fastp containing 'report_title" multiple="true"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
13 </xml> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
14 <!-- 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
|
15 <xml name="fastp_test"> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
16 <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
|
17 <repeat name="results"> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
18 <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
|
19 <param name="software" value="fastp"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
20 <param name="input" value="fastp1.json.txt,fastp2.json.txt"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
21 </conditional> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
22 </repeat> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
23 <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
|
24 <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
|
25 <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
|
26 <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
|
27 <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
|
28 <assert_contents> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
29 <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
|
30 <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
|
31 <has_text text="All-in-one FASTQ preprocessor"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
32 </assert_contents> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
33 </output> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
34 <output name="stats"> |
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 <has_text text="fastp_mqc_generalstats_fastp_pct_duplication"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
37 <has_text text="R1_fq"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
38 <has_text text="fastp_mqc_generalstats_fastp_after_filtering_q30_rate"/> |
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="bwa-mem-fastq1_fq"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
40 <has_n_lines n="3"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
41 <has_n_columns n="8"/> |
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 </output> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
44 <output_collection name="plots" type="list" count="15"/> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
45 </test> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
46 </xml> |
f7e2f1eb3a16
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit dffbb5d421a5a5773bcb7f05933b12c45461bb58
iuc
parents:
diff
changeset
|
47 </macros> |