add nextflow d30e48d
This commit is contained in:
20
nextflow/tests/chunk.nf
Normal file
20
nextflow/tests/chunk.nf
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user