process { publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" } withName: ENSEMBLVEP { container = 'nfcore/vep:106.1.WBcel235' } withName: ENSEMBLVEP_JSON { container = 'nfcore/vep:106.1.WBcel235' ext.args = '--json' } withName: ENSEMBLVEP_TAB { container = 'nfcore/vep:106.1.WBcel235' ext.args = '--tab' } withName: ENSEMBLVEP_VCF { container = 'nfcore/vep:106.1.WBcel235' ext.args = '--vcf' } }