Description:# nf-logsaver plugin
## Summary
When initiated this plugin does the following:
- creates a new logsaver directory to save log files in. This will be in your specified `outdir` or, if none is specified in a folder called `results`. The name of the new folder will be `logsaver_command_files`.
- for each step in your pipeline the `.command.err`, `.command.sh` and `.command.out` files will be moved from the `work` dir to the logsave dir and renamed with the name of that step plus the shrt version of the job specific hash.
The intention of this is to help with debugging a particular step that went wrong, particularly if the `work` dir is deleted by default without needing to explicitly mark each of these log files as an expected output of the pipeline. It will benefit the Nextflow community by making it easier to find/save the log files you have generated.
## Get Started
1. Run a pipeline with the plugin: `nextflow run hello -plugins nf-logsaver@0.1.0`
If you wish to build locally:
1. Build and install the plugin to your local Nextflow installation: `make install`
2. Run a pipeline with the plugin: `nextflow run hello -plugins nf-logsaver@0.1.0`
## License
MIT