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:
commit
de5b7717ff
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue