nf-core_modules/tools/fastqc/main.nf
2019-12-05 15:18:09 +01:00

18 lines
392 B
Text

process fastqc {
tag "$sample_id"
publishDir "${params.outdir}/fastqc", mode: 'copy',
saveAs: {filename -> filename.indexOf(".zip") > 0 ? "zips/$filename" : "$filename"}
input:
set val(sample_id), file(reads)
output:
file "*_fastqc.{zip,html}"
script:
"""
fastqc -q $reads
fastqc --version &> fastqc.version.txt
"""
}