2022-09-13 16:02:44 +00:00
|
|
|
/*
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Sheffield Bioinformatics Core Configuration Profile - ShARC
|
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Base Institutional Configuration
|
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2022-09-19 15:30:30 +00:00
|
|
|
// nf-core specific parameters displayed in header summary of each run
|
|
|
|
|
2022-09-13 16:02:44 +00:00
|
|
|
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'
|
|
|
|
|
2022-09-19 15:30:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// hpc resource limits
|
|
|
|
|
|
|
|
params {
|
|
|
|
|
2022-09-13 16:02:44 +00:00
|
|
|
max_cpus = 16
|
2022-09-23 12:18:50 +00:00
|
|
|
max_memory = 256.GB
|
2022-09-13 16:02:44 +00:00
|
|
|
max_time = 96.h
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// hpc configuration specific to ShARC
|
|
|
|
|
|
|
|
process {
|
|
|
|
|
|
|
|
// scheduler
|
|
|
|
|
|
|
|
executor = 'sge'
|
|
|
|
penv = 'smp'
|
|
|
|
queue = { task.time <= 6.h ? 'shortint.q' : 'all.q' }
|
2022-10-03 23:25:16 +00:00
|
|
|
clusterOptions = { "-l rmem=${task.memory.toGiga()/task.cpus}G" }
|
2022-09-13 16:02:44 +00:00
|
|
|
|
2022-09-16 16:29:08 +00:00
|
|
|
}
|
|
|
|
|
2022-09-13 16:02:44 +00:00
|
|
|
|
2022-09-19 15:30:30 +00:00
|
|
|
// optional executor settings
|
|
|
|
|
|
|
|
executor {
|
|
|
|
|
|
|
|
queueSize = 10
|
2022-09-23 12:18:50 +00:00
|
|
|
submitRateLimit = '1 sec'
|
2022-09-19 15:30:30 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-09-16 16:29:08 +00:00
|
|
|
// container engine
|
|
|
|
|
|
|
|
singularity {
|
|
|
|
|
|
|
|
enabled = true
|
|
|
|
autoMounts = true
|
2022-09-13 16:02:44 +00:00
|
|
|
|
|
|
|
}
|