mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
20 lines
436 B
Text
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
|
|
"""
|
|
}
|