add nextflow d30e48d
This commit is contained in:
6
nextflow/docs/snippets/reduce.nf
Normal file
6
nextflow/docs/snippets/reduce.nf
Normal file
@@ -0,0 +1,6 @@
|
||||
channel.of( 1, 2, 3, 4, 5 )
|
||||
.reduce { a, b ->
|
||||
println "a: $a b: $b"
|
||||
a + b
|
||||
}
|
||||
.view { result -> "result = $result" }
|
||||
Reference in New Issue
Block a user