nf-core_modules/tools/fastqc/main.nf
2019-12-05 22:11:12 +01:00

20 lines
436 B
Text

process fastqc {
tag "FastQC - $sample_id"
publishDir "${params.outdir}/fastqc", mode: 'copy',
saveAs: {filename -> filename.indexOf(".zip") > 0 ? "zips/$filename" : "$filename"}
container 'quay.io/biocontainers/fastqc:0.11.8--2'
input:
tuple sample_id, path(reads)
output:
path "*_fastqc.{zip,html}"
script:
"""
fastqc -q $reads
fastqc --version &> fastqc.version.txt
"""
}