hi, I would like to know what is the current best ...
# modules
j
hi, I would like to know what is the current best recommended practice to compress outputs for modules. Preferentially, I would like to use
pigz
to parallize the process. Should I create mulled-container (with
pigz
), piping directly to avoid intermediate uncompressed files or implemented in a subworkflow:
tool -> compress
?
m
I’d suggest creating a multi tool container using wave and using a pipe. There’s a lot of examples in the modules repo that do just that. https://github.com/search?q=repo%3Anf-core%2Fmodules%20pigz&type=code
j
thanks! I'll have a look on the examples :))