nextflow
nextflow copied to clipboard
Process prolog and epilog
The goal of this enhancement is to add two new process directives, namely: prolog
and epilog
that would make it possible to add to process task a common script prefix and suffix.
These are different from beforeScript and afterScript directives that are designed mainly for custom task configuration and, above all, are execute in the task wrapper context, that can be a separated environment from the task execution one (in particular when using containers).
Instead prolog
content should be prepended to the user script just after the shebang declaration and epilog
should appended to the user task script.