process { publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" } withName: MUSCLE { ext.args = '-fasta -verbose -phys -phyi -maxiters 2' } withName: MUSCLE_TREE { ext.args = '-maketree' } }