1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-23 08:49:54 +00:00

feat(sysbio): Add cleanup

This commit is contained in:
Edmund Miller 2021-06-17 08:17:18 -05:00
parent 87c8e346e0
commit 41ae99d34a
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
2 changed files with 3 additions and 2 deletions

View file

@ -23,6 +23,9 @@ process {
queue = { task.memory >= 30.GB && task.cpu <= 16 ? 'normal': 'smallmem' } queue = { task.memory >= 30.GB && task.cpu <= 16 ? 'normal': 'smallmem' }
} }
// Preform work directory cleanup after a successful run
cleanup = true
params { params {
// TODO Need to initialize this // TODO Need to initialize this
// igenomes_base = '/scratch/applied-genomics/references/iGenomes/references/' // igenomes_base = '/scratch/applied-genomics/references/iGenomes/references/'

View file

@ -12,7 +12,5 @@ module purge
module load singularity module load singularity
``` ```
All of the intermediate files required to run the pipeline will be stored in the `work/` directory. It is recommended to delete this directory after the pipeline has finished successfully because it can get quite large, and all of the main output files will be saved in the `results/` directory anyway.
>NB: You will need an account to use the HPC cluster on Sysbio in order to run the pipeline. If in doubt contact OIT. >NB: You will need an account to use the HPC cluster on Sysbio in order to run the pipeline. If in doubt contact OIT.
>NB: Nextflow will need to submit the jobs via SLURM to the HPC cluster and as such the commands above will have to be executed on one of the login nodes. If in doubt contact OIT. >NB: Nextflow will need to submit the jobs via SLURM to the HPC cluster and as such the commands above will have to be executed on one of the login nodes. If in doubt contact OIT.