while we wait for four five two
here is a very special plugin, just for you
To use nf-cleanup, simply include it in your Nextflow config:
plugins {
id 'nf-cleanup'
}Finally, run your Nextflow pipeline. You do not need to modify your pipeline script in order to use the nf-cleanup plugin. The plugin will automatically delete temporary files as soon as they are no longer needed.
The plugin requires Nextflow version 23.10.0 or later.
Refer to the nf-hello README for more information about building and publishing Nextflow plugins.