mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-14 05:33:09 +00:00
28 lines
739 B
Text
28 lines
739 B
Text
// 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'
|
|
|
|
single_cpu_mem = 7000.MB
|
|
// Just useful until iGenomes is updated on UPPMAX
|
|
igenomes_ignore = 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.single_cpu_mem = 6400.MB
|
|
|
|
process {
|
|
withName:BamQC {
|
|
cpus = {params.max_cpus}
|
|
memory = {params.max_memory}
|
|
}
|
|
}
|
|
}
|
|
|
|
if (hostname ==~ "i.*") {
|
|
params.single_cpu_mem = 15.GB
|
|
}
|