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'
|
|
|
|
|
2020-02-27 16:21:03 +00:00
|
|
|
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.*") {
|
2020-02-27 16:22:03 +00:00
|
|
|
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
|
|
|
|
}
|