GATK/Getpileupsummaries: If no intervals use variants instead (#1787)

If no intervals use variants instead
This commit is contained in:
FriederikeHanssen 2022-06-16 15:00:01 +02:00 committed by GitHub
parent ecece498f1
commit 1ac223ad43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ process GATK4_GETPILEUPSUMMARIES {
script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def interval_command = intervals ? "--intervals $intervals" : ""
def interval_command = intervals ? "--intervals $intervals" : "--intervals $variants"
def reference_command = fasta ? "--reference $fasta" : ''
def avail_mem = 3