mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 08:29:54 +00:00
adding icr_davros config files generic and sarek
This commit is contained in:
parent
116720e690
commit
a882b6cbaa
2 changed files with 39 additions and 0 deletions
31
conf/icr_davros.config
Normal file
31
conf/icr_davros.config
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
/*
|
||||||
|
* -------------------------------------------------
|
||||||
|
* Nextflow nf-core config file for ICR davros HPC
|
||||||
|
* -------------------------------------------------
|
||||||
|
* Defines LSF process executor and singularity
|
||||||
|
* settings.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
singularity {
|
||||||
|
enabled = true
|
||||||
|
runOptions = "--bind /mnt:/mnt --bind /data:/data"
|
||||||
|
}
|
||||||
|
executor {
|
||||||
|
# This is set because of an issue with too many
|
||||||
|
# singularity containers launching at once, they
|
||||||
|
# cause an singularity error with exit code 255.
|
||||||
|
submitRateLimit = "2 sec"
|
||||||
|
}
|
||||||
|
process {
|
||||||
|
executor = "LSF"
|
||||||
|
}
|
||||||
|
params {
|
||||||
|
# LSF cluster set up with memory tied to cores,
|
||||||
|
# it can't be requested. Locked at 12G per core.
|
||||||
|
cpus = 10
|
||||||
|
max_cpus = 20
|
||||||
|
max_memory = 12.GB
|
||||||
|
max_time = 168.h
|
||||||
|
igenomes_base = "/mnt/scratch/DDS/SDDS/BIOINFCO/SHARED/genomes/igenomes"
|
||||||
|
}
|
8
conf/pipeline/sarek/icr_davros.config
Normal file
8
conf/pipeline/sarek/icr_davros.config
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
process {
|
||||||
|
errorStrategy = {task.exitStatus in [104,134,137,139,141,143,255] ? 'retry' : 'finish'}
|
||||||
|
maxRetries = 5
|
||||||
|
withName:MapReads {
|
||||||
|
memory = {check_resource(12.GB)}
|
||||||
|
time = {check_resource(48.h * task.attempt)}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue