mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-13 13:23:09 +00:00
18 lines
392 B
Text
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
|
|
"""
|
|
}
|