nf-core_modules/software/fastqc/main.nf

24 lines
544 B
Text
Raw Normal View History

nextflow.preview.dsl = 2
2020-07-11 11:42:13 +00:00
process FASTQC {
input:
tuple val(name), path(reads)
val (fastqc_args)
2020-07-14 09:49:08 +00:00
val (outputdir)
2020-07-11 11:42:13 +00:00
output:
tuple val(name), path ("*fastqc*"), emit: all
path "*.zip", emit: report // e.g. for MultiQC later
2020-07-14 09:49:08 +00:00
container 'quay.io/biocontainers/fastqc:0.11.8--2'
2020-07-11 11:42:13 +00:00
publishDir "$outputdir",
mode: "copy", overwrite: true
2020-07-11 11:42:13 +00:00
script:
"""
fastqc $fastqc_args -q -t 2 $reads
fastqc --version &> fastqc.version.txt
2020-07-11 11:42:13 +00:00
"""
}