mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 08:29:54 +00:00
55 lines
1.2 KiB
Text
55 lines
1.2 KiB
Text
// Profile config names for nf-core/configs
|
|
params {
|
|
config_profile_description = 'Swedish UPPMAX cluster profile provided by nf-core/configs.'
|
|
config_profile_contact = 'Phil Ewels (@ewels)'
|
|
config_profile_url = 'https://www.uppmax.uu.se/'
|
|
project = null
|
|
clusterOptions = null
|
|
schema_ignore_params = "genomes,input_paths,cluster-options,clusterOptions,project"
|
|
}
|
|
|
|
singularity {
|
|
enabled = true
|
|
}
|
|
|
|
process {
|
|
executor = 'slurm'
|
|
clusterOptions = { "-A $params.project ${params.clusterOptions ?: ''}" }
|
|
}
|
|
|
|
params {
|
|
save_reference = true
|
|
|
|
max_memory = 125.GB
|
|
max_cpus = 16
|
|
max_time = 240.h
|
|
// illumina iGenomes reference file paths on UPPMAX
|
|
igenomes_base = '/sw/data/uppnex/igenomes/'
|
|
}
|
|
|
|
def hostname = "hostname".execute().text.trim()
|
|
|
|
if (hostname ==~ "b.*" || hostname ==~ "s.*") {
|
|
params.max_memory = 109.GB
|
|
}
|
|
|
|
if (hostname ==~ "i.*") {
|
|
params.max_memory = 250.GB
|
|
}
|
|
|
|
if (hostname ==~ "r.*") {
|
|
params.max_cpus = 20
|
|
}
|
|
|
|
profiles {
|
|
devel {
|
|
params {
|
|
config_profile_description = 'Testing & development profile for UPPMAX, provided by nf-core/configs.'
|
|
// Max resources to be requested by a devel job
|
|
max_memory = 120.GB
|
|
max_time = 1.h
|
|
}
|
|
executor.queueSize = 1
|
|
process.queue = 'devel'
|
|
}
|
|
}
|