nf-core_modules/tools/fastqc/main.nf
Phil Ewels 97fbd32644 Added samtools sort + index
Added container to FastQC
2019-12-05 15:36:35 +01:00

20 lines
435 B
Text

process fastqc {
tag "$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:
set val(sample_id), file(reads)
output:
file "*_fastqc.{zip,html}"
script:
"""
fastqc -q $reads
fastqc --version &> fastqc.version.txt
"""
}