seqeralabs / nf-tower

Nextflow Tower system
https://tower.nf
Mozilla Public License 2.0
144 stars 51 forks source link

Feature request: Make it easier to clean work directories #279

Open ewels opened 3 years ago

ewels commented 3 years ago

It's well known that Nextflow work directories can get huge and need to be deleted as soon as they're no longer needed.

I find this to be a bit trickier when using Tower as I am slightly removed from the execution of the workflow - especially when using AWS it's kind a of a hassle to have to go off and log into s3, dig around to find the work directories and delete them after each run.

At some point we will get around to setting up automatic lifecycle policies on work directories in s3 etc. But what would be even nicer would be if Nextflow could help with the management of intermediate files. Less work for the end user and it would then be transferrable across different compute systems.

Ideas:

Phil

pditommaso commented 3 years ago

Oops was missing this. Yes, this is useful, the crucial point is that this should be done by Tower or finally solved on Nextflow side (https://github.com/nextflow-io/nextflow/issues/452) which would be better tho much more complicated.

ewels commented 3 years ago

Can be both I guess? Short term a simple button would be nice 🙄😅

pditommaso commented 3 years ago

I was waiting for this! 😆