mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 04:52:09 -05:00
Iterate again on MultiQC
This commit is contained in:
parent
84c0bda00e
commit
a30df8a59b
2 changed files with 15 additions and 9 deletions
|
@ -15,8 +15,9 @@ process MULTIQC {
|
||||||
container "quay.io/biocontainers/multiqc:1.9--pyh9f0ad1d_0"
|
container "quay.io/biocontainers/multiqc:1.9--pyh9f0ad1d_0"
|
||||||
|
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(reads)
|
// path multiqc_config
|
||||||
|
// path multiqc_custom_config
|
||||||
|
path('fastqc/*')
|
||||||
|
|
||||||
output:
|
output:
|
||||||
path "*multiqc_report.html", emit: report
|
path "*multiqc_report.html", emit: report
|
||||||
|
@ -24,7 +25,8 @@ process MULTIQC {
|
||||||
path "*_plots", optional: true, emit: plots
|
path "*_plots", optional: true, emit: plots
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
// def custom_config = params.multiqc_config ? "--config $multiqc_custom_config" : ''
|
||||||
"""
|
"""
|
||||||
multiqc -f $options.args .
|
multiqc -f $options.args $custom_config .
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,9 +8,13 @@ include { test_paired_end } from '../fastqc/main.nf' addParams( options: [ publ
|
||||||
workflow test_multiqc {
|
workflow test_multiqc {
|
||||||
test_paired_end()
|
test_paired_end()
|
||||||
|
|
||||||
|
|
||||||
|
// test_paired_end.out.html.collect { it[1] }
|
||||||
|
// .join(test_paired_end.out.zip)
|
||||||
|
// .view()
|
||||||
|
|
||||||
input = [
|
input = [
|
||||||
[id: 'test'],
|
test_paired_end.out.zip.collect { it[1] }.ifEmpty([])
|
||||||
test_paired_end.out.html.join(test_paired_end.out.zip, by: 0).flatten().filter(java.nio.file.Path).toList()
|
|
||||||
]
|
]
|
||||||
|
|
||||||
MULTIQC(input)
|
MULTIQC(input)
|
||||||
|
|
Loading…
Reference in a new issue