nextflow icon indicating copy to clipboard operation
nextflow copied to clipboard

Process prolog and epilog

Open pditommaso opened this issue 6 years ago • 21 comments

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.

pditommaso avatar Nov 30 '17 17:11 pditommaso