mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-21 18:58:16 +00:00
Added memory allocation to VCFeval
This commit is contained in:
parent
be0f022053
commit
6fa1c8089a
1 changed files with 2 additions and 1 deletions
|
@ -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 \\
|
||||
|
|
Loading…
Reference in a new issue