// 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" } } }