Update modules/rtgtools/vcfeval/main.nf

Co-authored-by: Matthias De Smet <11850640+matthdsm@users.noreply.github.com>
This commit is contained in:
nvnieuwk 2022-05-10 13:26:14 +02:00 committed by GitHub
parent 7fc4cc5a38
commit d3927aae99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,8 +33,8 @@ process RTGTOOLS_VCFEVAL {
def prefix = task.ext.prefix ?: "${meta.id}"
def bed_regions = truth_regions ? "--bed-regions=$truth_regions" : ""
def eval_regions = evaluation_regions ? "--evaluation-regions=$evaluation_regions" : ""
def truth_index = truth_vcf_tbi ?: "rtg index $truth_vcf"
def query_index = query_vcf_tbi ?: "rtg index $query_vcf"
def truth_index = truth_vcf_tbi ? "" : "rtg index $truth_vcf"
def query_index = query_vcf_tbi ? "" : "rtg index $query_vcf"
"""
$truth_index