Skip to content
Snippets Groups Projects
Unverified Commit f172f456 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

nf_modules: fastqc add DSL2

parent a12e9229
No related branches found
No related tags found
No related merge requests found
version = "0.11.5"
container_url = "lbmc/fastqc:${version}"
process fastqc_fastq_pairedend {
container = "${container_url}"
label "big_mem_mono_cpus"
tag "$pair_id"
publishDir "results/fastq/fastqc/", mode: 'copy'
input:
tuple val(pair_id), path(reads)
output:
path "*.{zip,html}", emit: report
script:
"""
fastqc --quiet --threads ${task.cpus} --format fastq --outdir ./ \
${reads[0]} ${reads[1]}
"""
}
process fastqc_fastq_singleend {
container = "${container_url}"
label "big_mem_mono_cpus"
tag "$file_id"
publishDir "results/fastq/fastqc/", mode: 'copy'
input:
tuple val(file_id), path(reads)
output:
path "*.{zip,html}", emit: report
script:
"""
fastqc --quiet --threads ${task.cpus} --format fastq --outdir ./ ${reads}
"""
}
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