These are chat archives for nextflow-io/nextflow

28th
Nov 2015
biowang
@biowang
Nov 28 2015 01:30
test
two channel: a=Channel.from("file_a1","file_a2") and b=Channel.from("file_b1","file_b2")
question is:
how could I got four thread in one process code
biowang
@biowang
Nov 28 2015 01:37
process about file_a1/file_b1,file_a1/file_b2,file_a2/file_b1 and file_a2/file_b2
thank you very much for answer
is the operator first()?
Paolo Di Tommaso
@pditommaso
Nov 28 2015 08:35
@biowang Hi there, I think you need the spread operator.
For example:
a=Channel.from("file_a1","file_a2")
b=Channel.from("file_b1","file_b2")
a.spread(b).println()
It prints
[file_a1, file_b1]
[file_a1, file_b2]
[file_a2, file_b1]
[file_a2, file_b2]