diff --git a/conf/pipeline/sarek/uppmax.config b/conf/pipeline/sarek/uppmax.config index 3feb2df..df2f3a2 100644 --- a/conf/pipeline/sarek/uppmax.config +++ b/conf/pipeline/sarek/uppmax.config @@ -9,9 +9,13 @@ params { 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 }