Added memory allocation to VCFeval

This commit is contained in:
Nicolas Vannieuwkerke 2022-05-13 10:03:20 +02:00
parent be0f022053
commit 6fa1c8089a

View file

@ -35,12 +35,13 @@ process RTGTOOLS_VCFEVAL {
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 avail_mem = task.memory.toGiga() + "G"
"""
$truth_index
$query_index
rtg vcfeval \\
rtg RTG_MEM=$avail_mem vcfeval \\
$args \\
--baseline=$truth_vcf \\
$bed_regions \\