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' } withName: ENSEMBLVEP_VCF_BGZIP { container = 'nfcore/vep:106.1.WBcel235' ext.args = '--vcf --compress_output bgzip' } withName: ENSEMBLVEP_VCF_GZIP { container = 'nfcore/vep:106.1.WBcel235' ext.args = '--vcf --compress_output gzip' } }