process fastqc {
publishDir "fastqc/${name}", mode: 'move',
input:
set val(name), file(reads) from reads
output:
file "*_fastqc.{zip,html}" into fastqc_results
script:
if (!file) {
"""
fastqc -q $reads
"""
} else {
log.warn "File already exists: ${file}"
}
}--
You received this message because you are subscribed to the Google Groups "Nextflow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nextflow+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/nextflow.
For more options, visit https://groups.google.com/d/optout.