mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Update the signatures
This commit is contained in:
parent
a30df8a59b
commit
3da7aec183
3 changed files with 10 additions and 10 deletions
|
@ -15,8 +15,8 @@ process MULTIQC {
|
|||
container "quay.io/biocontainers/multiqc:1.9--pyh9f0ad1d_0"
|
||||
|
||||
input:
|
||||
// path multiqc_config
|
||||
// path multiqc_custom_config
|
||||
path multiqc_config
|
||||
path multiqc_custom_config
|
||||
path('fastqc/*')
|
||||
|
||||
output:
|
||||
|
@ -25,7 +25,7 @@ process MULTIQC {
|
|||
path "*_plots", optional: true, emit: plots
|
||||
|
||||
script:
|
||||
// def custom_config = params.multiqc_config ? "--config $multiqc_custom_config" : ''
|
||||
def custom_config = params.multiqc_config ? "--config $multiqc_custom_config" : ''
|
||||
"""
|
||||
multiqc -f $options.args $custom_config .
|
||||
"""
|
||||
|
|
0
tests/data/multiqc/multiqc_config.yaml
Normal file
0
tests/data/multiqc/multiqc_config.yaml
Normal file
|
@ -5,17 +5,17 @@ nextflow.enable.dsl = 2
|
|||
include { MULTIQC } from '../../../software/multiqc/main.nf' addParams(options: [publish_dir: 'test_multiqc'])
|
||||
include { test_paired_end } from '../fastqc/main.nf' addParams(options: [publish_dir: 'test_paired_end'])
|
||||
|
||||
ch_multiqc_config = file("$launchDir/tests/data/multiqc/multiqc_config.yaml", checkIfExists: true)
|
||||
ch_multiqc_custom_config = params.multiqc_config ? Channel.fromPath(params.multiqc_config) : Channel.empty()
|
||||
|
||||
workflow test_multiqc {
|
||||
test_paired_end()
|
||||
|
||||
|
||||
// test_paired_end.out.html.collect { it[1] }
|
||||
// .join(test_paired_end.out.zip)
|
||||
// .view()
|
||||
|
||||
input = [
|
||||
ch_multiqc_config,
|
||||
ch_multiqc_custom_config.collect().ifEmpty([]),
|
||||
test_paired_end.out.zip.collect { it[1] }.ifEmpty([])
|
||||
]
|
||||
|
||||
MULTIQC(input)
|
||||
MULTIQC(*input)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue