Thibault Poinsignon
03/18/2026, 3:34 PMcooler/cload module.
Previously, the module accepted:
tuple val(meta), path(pairs), path(index), val(cool_bin)
path chromsizes
Now it expects:
tuple val(meta), path(pairs), path(index)
tuple val(meta2), path(chromsizes)
val(cool_bin)
How can I pass a cool_bin channel with several resolutions values?Rike Hanssen
03/18/2026, 3:42 PMMatthieu Muffato
03/18/2026, 3:55 PMcool_bin.
I presume you already combine / cross etc the pairs and the resolutions. Then, instead of passing that entirely as the first input, you need to split it
cload_inputs = ch.multiMap {
pairs: [meta, pairs, index, _cool_bin] -> [meta, pairs, index]
res: [_meta, _pairs, _index, cool_bin] -> cool_bin
}
COOLER_CLOAD(cload_inputs.pairs, chromsizes, cload_inputs.res)Thibault Poinsignon
03/20/2026, 10:43 AMMatthieu Muffato
03/20/2026, 10:47 AMparams.resolution directly, without having to blend it into the channel.