2021-09-27 14:05:19 +00:00
|
|
|
// Profile config names for nf-core/configs
|
|
|
|
params {
|
|
|
|
config_profile_description = 'Hasta, a local cluster setup at Clinical Genomics, Stockholm.'
|
|
|
|
config_profile_contact = 'Clinical Genomics, Stockholm'
|
|
|
|
config_profile_url = 'https://github.com/Clinical-Genomics'
|
|
|
|
priority = null
|
|
|
|
clusterOptions = null
|
|
|
|
schema_ignore_params = "priority,clusterOptions"
|
|
|
|
}
|
|
|
|
|
|
|
|
singularity {
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
|
|
|
|
params {
|
|
|
|
max_memory = 180.GB
|
|
|
|
max_cpus = 36
|
2021-09-27 14:05:32 +00:00
|
|
|
max_time = 336.h
|
2021-09-27 14:05:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
process {
|
|
|
|
executor = 'slurm'
|
|
|
|
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" }
|
|
|
|
|
|
|
|
withName:'PICARD_MARKDUPLICATES' {
|
|
|
|
cpus = { check_max( 13 * task.attempt, 'cpus' ) }
|
|
|
|
memory = { check_max( 130.GB * task.attempt, 'memory' ) }
|
|
|
|
}
|
|
|
|
withName:'DEEPVARIANT' {
|
|
|
|
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
|
|
|
|
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
profiles {
|
|
|
|
dev_prio {
|
|
|
|
params {
|
|
|
|
priority = 'development'
|
|
|
|
clusterOptions = "--qos=low"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
prod_prio {
|
|
|
|
params {
|
|
|
|
priority = 'production'
|
|
|
|
clusterOptions = "--qos=low"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|