1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-29 10:59:55 +00:00
nf-configs/conf/pipeline/sarek/uppmax.config
2020-04-09 11:35:37 +02:00

21 lines
621 B
Text

// sarek/uppmax specific profile config
params {
config_profile_contact = 'Maxime Garcia (@MaxUlysse)'
config_profile_description = 'nf-core/sarek uppmax profile provided by nf-core/configs'
singleCPUmem = 7000.MB
// Just useful until iGenomes is updated on UPPMAX
igenomeIgnore = true
genomes_base = params.genome == 'GRCh37' ? '/sw/data/uppnex/ToolBox/ReferenceAssemblies/hg38make/bundle/2.8/b37' : '/sw/data/uppnex/ToolBox/hg38bundle'
}
def hostname = "hostname".execute().text.trim()
if (hostname ==~ "r.*") {
params.singleCPUmem = 6400.MB
}
if (hostname ==~ "i.*") {
params.singleCPUmem = 15.GB
}