process {

    publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }

    withName: DSHBIO_FILTERGFF3 {
        ext.args = '--range MT192765.1:0-1000'
        ext.prefix = { "${meta.id}.filtered" }
    }

}
