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-04 14:46:23 +00:00
|
|
|
conda {
|
|
|
|
createTimeout = '2h'
|
|
|
|
}
|
|
|
|
|
|
|
|
singularity {
|
|
|
|
enabled = true
|
|
|
|
}
|
2021-03-03 09:59:16 +00:00
|
|
|
|
|
|
|
process {
|
|
|
|
executor = 'sge'
|
|
|
|
|
2021-03-04 16:45:21 +00:00
|
|
|
// memory environment & options
|
2021-03-03 09:59:16 +00:00
|
|
|
clusterOptions = {"-l h_vmem=${task.memory.bytes/task.cpus}"}
|
|
|
|
penv = 'sharedmem'
|
|
|
|
|
2021-03-04 16:45:21 +00:00
|
|
|
// common SGE error statuses
|
2021-03-03 09:59:16 +00:00
|
|
|
errorStrategy = {task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish'}
|
|
|
|
maxErrors = '-1'
|
|
|
|
maxRetries = 3
|
|
|
|
|
2021-03-04 16:45:21 +00:00
|
|
|
// load module script for Anaconda and Singularity
|
2021-03-03 09:59:16 +00:00
|
|
|
beforeScript = { '. /etc/profile.d/modules.sh; sleep 2; ' }
|
|
|
|
module = 'anaconda/5.3.1'
|
2021-03-04 14:46:23 +00:00
|
|
|
module = 'singularity/3.5.3'
|
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
|
2021-03-03 09:59:16 +00:00
|
|
|
igenomes_base = '/exports/igmm/eddie/NextGenResources/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
|
|
|
}
|