1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-25 17:29:55 +00:00
nf-configs/conf/pipeline/sarek/uppmax.config

22 lines
621 B
Text
Raw Normal View History

2020-02-20 16:14:18 +00:00
// 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
2020-02-27 15:52:51 +00:00
// Just useful until iGenomes is updated on UPPMAX
2020-02-20 16:14:18 +00:00
igenomeIgnore = true
genomes_base = params.genome == 'GRCh37' ? '/sw/data/uppnex/ToolBox/ReferenceAssemblies/hg38make/bundle/2.8/b37' : '/sw/data/uppnex/ToolBox/hg38bundle'
}
2020-04-09 09:35:37 +00:00
def hostname = "hostname".execute().text.trim()
2020-03-30 14:40:11 +00:00
if (hostname ==~ "r.*") {
params.singleCPUmem = 6400.MB
}
2020-04-09 09:35:37 +00:00
2020-02-27 15:52:51 +00:00
if (hostname ==~ "i.*") {
params.singleCPUmem = 15.GB
}