process { publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" } withName: DEEPTOOLS_COMPUTEMATRIX { ext.args = 'scale-regions -b 1000' } }