Skip to content
Snippets Groups Projects
Verified Commit 1fbc5ef8 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

MultiQC: update test to match fastqc.nf

parent c82cceba
No related branches found
No related tags found
No related merge requests found
...@@ -5,15 +5,16 @@ log.info "fastq files : ${params.fastq}" ...@@ -5,15 +5,16 @@ log.info "fastq files : ${params.fastq}"
Channel Channel
.fromPath( params.fastq ) .fromPath( params.fastq )
.ifEmpty { error "Cannot find any fastq files matching: ${params.fastq}" } .ifEmpty { error "Cannot find any fastq files matching: ${params.fastq}" }
.map { it -> [(it.baseName =~ /([^\.]*)/)[0][1], it]}
.set { fastq_files } .set { fastq_files }
process fastqc_fastq { process fastqc_fastq {
tag "$reads.baseName" tag "$file_id"
publishDir "results/fastq/fastqc/", mode: 'copy' publishDir "results/fastq/fastqc/", mode: 'copy'
cpus = 1 cpus = 1
input: input:
file reads from fastq_files set file_id, file(reads) from fastq_files
output: output:
file "*.{zip,html}" into fastqc_report file "*.{zip,html}" into fastqc_report
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment