nf-core_modules/tools/fastqc/main.nf

21 lines
436 B
Text
Raw Normal View History

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