1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-24 09:09:56 +00:00

Merge pull request #147 from nf-core/MaxUlysse-patch-1

Update uppmax.config
This commit is contained in:
Maxime Garcia 2020-04-09 12:08:41 +02:00 committed by GitHub
commit de5b7717ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,13 @@ params {
igenomeIgnore = true igenomeIgnore = true
genomes_base = params.genome == 'GRCh37' ? '/sw/data/uppnex/ToolBox/ReferenceAssemblies/hg38make/bundle/2.8/b37' : '/sw/data/uppnex/ToolBox/hg38bundle' 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.*") { if (hostname ==~ "r.*") {
params.singleCPUmem = 6400.MB params.singleCPUmem = 6400.MB
} }
if (hostname ==~ "i.*") { if (hostname ==~ "i.*") {
params.singleCPUmem = 15.GB params.singleCPUmem = 15.GB
} }