diff --git a/subworkflows/nf-core/bcl_demultiplex/main.nf b/subworkflows/nf-core/bcl_demultiplex/main.nf index dee671ca..e8b19c7d 100644 --- a/subworkflows/nf-core/bcl_demultiplex/main.nf +++ b/subworkflows/nf-core/bcl_demultiplex/main.nf @@ -78,7 +78,7 @@ workflow BCL_DEMULTIPLEX { // Collect invalid FASTQ files invalid_fastqs_ch .map { path -> return path.toString() } - .collectFile(name: 'invalid_fastqs.txt', newLine: true) + .collectFile(name: 'invalid_fastqs.txt', newLine: true, dir: params.outdir) .set { ch_invalid_fastqs_file } /*