add nextflow d30e48d
This commit is contained in:
9
nextflow/docs/snippets/multimap.nf
Normal file
9
nextflow/docs/snippets/multimap.nf
Normal file
@@ -0,0 +1,9 @@
|
||||
channel.of( 1, 2, 3, 4 )
|
||||
.multiMap { v ->
|
||||
inc: v + 1
|
||||
squared: v * v
|
||||
}
|
||||
.set { result }
|
||||
|
||||
result.inc.view { v -> "inc $v" }
|
||||
result.squared.view { v -> "squared $v" }
|
||||
Reference in New Issue
Block a user