Files
ma/nextflow/tests/chunk.nf
2026-04-29 23:01:54 +02:00

21 lines
264 B
Plaintext

#!/usr/bin/env nextflow
params.input = null
params.chunkSize = 1
process foo {
debug true
input:
stdin()
script:
"cat -"
}
workflow {
channel.fromPath(params.input)
| splitFasta(by: params.chunkSize as Integer)
| foo
}