1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 00:26:03 +00:00

Add debug profile

which deactivates cleanup of workdir after successful run
This commit is contained in:
Thiseas C. Lamnidis 2021-01-26 15:08:21 +01:00 committed by GitHub
parent 5ba1b01c0c
commit 713a032a36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ params {
igenomes_base = "/projects1/public_data/igenomes/" igenomes_base = "/projects1/public_data/igenomes/"
} }
// Preform work directory cleanup after a successful run
cleanup = true cleanup = true
singularity { singularity {
@ -46,4 +47,8 @@ profiles {
queue = { task.memory > 756.GB || task.cpus > 64 ? 'supercruncher': task.time <= 2.h ? 'short' : task.time <= 48.h ? 'medium': 'long' } queue = { task.memory > 756.GB || task.cpus > 64 ? 'supercruncher': task.time <= 2.h ? 'short' : task.time <= 48.h ? 'medium': 'long' }
} }
} }
// Profile to deactivate automatic cleanup of work directory after a successful run. Overwrites cleanup option.
debug {
cleanup = false
}
} }