1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-09-21 14:02:05 +00:00
nf-configs/conf/eddie.config

51 lines
1.2 KiB
Text
Raw Normal View History

2021-03-03 09:59:16 +00:00
//Profile config names for nf-core/configs
params {
config_profile_description = 'University of Edinburgh (eddie) cluster profile provided by nf-core/configs.'
config_profile_contact = 'Alison Meynert (@ameynert)'
config_profile_url = 'https://www.ed.ac.uk/information-services/research-support/research-computing/ecdf/high-performance-computing'
}
2021-03-15 15:42:30 +00:00
executor {
name = "sge"
queueSize = "100"
2021-03-04 14:46:23 +00:00
}
2021-03-03 09:59:16 +00:00
process {
2021-03-15 15:42:30 +00:00
clusterOptions = { task.memory ? "-l h_vmem=${task.memory.bytes/task.cpus}" : null }
scratch = true
penv = { task.cpus > 1 ? "sharedmem" : null }
2021-03-03 09:59:16 +00:00
2021-03-04 16:45:21 +00:00
// common SGE error statuses
2021-03-15 15:42:30 +00:00
errorStrategy = {task.exitStatus in [143,137,104,134,139,140] ? 'retry' : 'finish'}
2021-03-03 09:59:16 +00:00
maxErrors = '-1'
maxRetries = 3
2021-03-15 15:42:30 +00:00
beforeScript =
"""
2021-03-17 09:21:26 +00:00
. /etc/profile.d/modules.sh
2021-03-15 15:42:30 +00:00
module load 'roslin/singularity/3.5.3'
export SINGULARITY_TMPDIR="\$TMPDIR"
"""
2021-03-03 09:59:16 +00:00
}
2021-03-04 14:46:23 +00:00
2021-03-03 09:59:16 +00:00
params {
saveReference = true
2021-03-04 14:46:23 +00:00
// iGenomes reference base
igenomes_base = '/exports/igmm/eddie/BioinformaticsResources/igenomes'
2021-03-04 14:46:23 +00:00
max_memory = 384.GB
max_cpus = 32
max_time = 240.h
2021-03-03 09:59:16 +00:00
}
2021-03-15 15:42:30 +00:00
env {
MALLOC_ARENA_MAX=1
}
singularity {
envWhitelist = "SINGULARITY_TMPDIR,TMPDIR"
runOptions = '-p -B "$TMPDIR"'
enabled = true
autoMounts = true
}