diff --git a/modules/nf-core/sentieon/gvcftyper/main.nf b/modules/nf-core/sentieon/gvcftyper/main.nf index 98f56143de9d..a8b0f0baf36f 100644 --- a/modules/nf-core/sentieon/gvcftyper/main.nf +++ b/modules/nf-core/sentieon/gvcftyper/main.nf @@ -24,6 +24,7 @@ process SENTIEON_GVCFTYPER { task.ext.when == null || task.ext.when script: + def args = task.ext.args ?: '' def prefix = task.ext.prefix ?: "${meta.id}_genotyped" def gvcfs_input = '-v ' + gvcfs.join(' -v ') def dbsnp_cmd = dbsnp ? "--dbsnp ${dbsnp}" : "" @@ -38,6 +39,7 @@ process SENTIEON_GVCFTYPER { -r ${fasta} \\ ${interval_command} \\ --algo GVCFtyper \\ + ${args} \\ ${gvcfs_input} \\ ${dbsnp_cmd} \\ ${prefix}.vcf.gz