1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2025-01-03 13:02:08 -05:00
nf-configs/conf/pipeline/sarek/uppmax.config

34 lines
825 B
Text
Raw Normal View History

2020-02-20 11:14:18 -05: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 02:33:53 -04:00
single_cpu_mem = 7000.MB
2020-02-27 10:52:51 -05:00
// Just useful until iGenomes is updated on UPPMAX
2020-09-25 02:33:53 -04:00
igenomes_ignore = true
2020-02-20 11:14:18 -05:00
genomes_base = params.genome == 'GRCh37' ? '/sw/data/uppnex/ToolBox/ReferenceAssemblies/hg38make/bundle/2.8/b37' : '/sw/data/uppnex/ToolBox/hg38bundle'
}
2020-04-09 05:35:37 -04:00
def hostname = "hostname".execute().text.trim()
2020-03-30 10:40:11 -04:00
if (hostname ==~ "r.*") {
2020-09-25 02:33:53 -04:00
params.single_cpu_mem = 6400.MB
2020-09-25 03:57:50 -04:00
2020-09-25 03:49:43 -04:00
process {
withName:BamQC {
cpus = {params.max_cpus}
memory = {params.max_memory}
}
}
}
2020-04-09 05:35:37 -04:00
2020-02-27 10:52:51 -05:00
if (hostname ==~ "i.*") {
2020-09-25 02:33:53 -04:00
params.single_cpu_mem = 15.GB
2020-02-27 10:52:51 -05:00
}
// Miarka-specific config
if (hostname ==~ "m.*") {
params.single_cpu_mem = 7.GB
}