1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-10 20:13:09 +00:00
nf-configs/conf/hasta.config
2021-09-27 16:25:02 +02:00

49 lines
1.2 KiB
Text

// 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
max_time = 336.h
}
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"
}
}
}