These are chat archives for nextflow-io/nextflow

27th
Nov 2017
Luca Cozzuto
@lucacozzuto
Nov 27 2017 09:11
Hi @pditommaso is there a way to exclude a single process from using the container?
Paolo Di Tommaso
@pditommaso
Nov 27 2017 09:12
it should be possibile by specifying container false in the script
Luca Cozzuto
@lucacozzuto
Nov 27 2017 09:13
but only for a process?
in the process definition?
or in the configuration file
Paolo Di Tommaso
@pditommaso
Nov 27 2017 09:13
or process.$yourContainerName.container = false in the config
Luca Cozzuto
@lucacozzuto
Nov 27 2017 09:24
thanks!
Paolo Di Tommaso
@pditommaso
Nov 27 2017 09:25
:+1:
Tim Diels
@timdiels
Nov 27 2017 17:05

Is there a combinefor channels of lists which merges the result? E.g.

Channel.from([[a: 1, b: 2], [a: 3, b: 4]])
  .magic(
    Channel.from([[c: 5, d: 6], [c: 7,d: 8]]
  )
  .view()

which yields

[a: 1, b: 2, c: 5, d: 6]
[a: 1, b: 2, c: 7, d: 8]
[a: 3, b: 4, c: 5, d: 6]
[a: 3, b: 4, c: 7, d: 8]
Actually I think spread would do that but it's deprecated
Tim Diels
@timdiels
Nov 27 2017 17:10
ah, .combine(...).map { it.sum() }, duh
Paolo Di Tommaso
@pditommaso
Nov 27 2017 17:10
how they are supposed to be joined ?
Tim Diels
@timdiels
Nov 27 2017 17:19
cross join, no key
I.e. cartesian
Paolo Di Tommaso
@pditommaso
Nov 27 2017 17:20
so it's combine but I'm not understanding the map
Tim Diels
@timdiels
Nov 27 2017 18:03
If I don't map, view would output [[a: 1, b: 2], [c: 5, d: 6]] as first line, for example
Paolo Di Tommaso
@pditommaso
Nov 27 2017 18:04
ok