mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
Merge pull request #1650 from nvnieuwk/update-module-rtgtools/vcfeval
Added memory allocation to VCFeval
This commit is contained in:
commit
fc987d5fcd
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