add nextflow d30e48d
This commit is contained in:
9
nextflow/docs/snippets/tap.nf
Normal file
9
nextflow/docs/snippets/tap.nf
Normal file
@@ -0,0 +1,9 @@
|
||||
channel.of( 'a', 'b', 'c' )
|
||||
.tap { log1 }
|
||||
.map { v -> v * 2 }
|
||||
.tap { log2 }
|
||||
.map { v -> v.toUpperCase() }
|
||||
.view { result -> "Result: $result" }
|
||||
|
||||
log1.view { v -> "Log 1: $v" }
|
||||
log2.view { v -> "Log 2: $v" }
|
||||
Reference in New Issue
Block a user