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

59 lines
911 B
Text

// Sheffield Bioinformatics Core Configuration Profile - ShARC
// Base Institutional Configuration
// nf-core specific parameters displayed in header summary of each run
params {
config_profile_description = 'Sheffield Bioinformatics Core - ShARC'
config_profile_contact = 'Lewis Quayle (l.quayle@sheffield.ac.uk)'
config_profile_url = 'https://docs.hpc.shef.ac.uk/en/latest/sharc/index.html'
}
// hpc resource limits
params {
max_cpus = 16
max_memory = 256.GB
max_time = 96.h
}
// hpc configuration specific to ShARC
process {
// scheduler
executor = 'sge'
penv = 'smp'
queue = { task.time <= 6.h ? 'shortint.q' : 'all.q' }
clusterOptions = { "-l rmem=${ (task.memory.toGiga() / task.cpus) }G" }
}
// optional executor settings
executor {
queueSize = 10
submitRateLimit = '1 sec'
}
// container engine
singularity {
enabled = true
autoMounts = true
}