1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-14 05:33:09 +00:00
nf-configs/conf/pipeline/sarek/uppmax.config

29 lines
739 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'
2020-09-25 06:33:53 +00:00
single_cpu_mem = 7000.MB
2020-02-27 15:52:51 +00:00
// Just useful until iGenomes is updated on UPPMAX
2020-09-25 06:33:53 +00:00
igenomes_ignore = true
2020-02-20 16:14:18 +00:00
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-09-25 06:33:53 +00:00
params.single_cpu_mem = 6400.MB
2020-09-25 07:57:50 +00:00
2020-09-25 07:49:43 +00:00
process {
withName:BamQC {
cpus = {params.max_cpus}
memory = {params.max_memory}
}
}
}
2020-04-09 09:35:37 +00:00
2020-02-27 15:52:51 +00:00
if (hostname ==~ "i.*") {
2020-09-25 06:33:53 +00:00
params.single_cpu_mem = 15.GB
2020-02-27 15:52:51 +00:00
}