diff --git a/samtools.wdl b/samtools.wdl index e1b081733e1398081281559a8735e017007972cc..bee38d11777cefc8038989900f0ff1337c66bb59 100644 --- a/samtools.wdl +++ b/samtools.wdl @@ -470,7 +470,7 @@ task Sort { task Tabix { input { File inputFile - String outputFilePath = "indexed.vcf.gz" + String outputFilePath = basename(inputFile) String type = "vcf" Int timeMinutes = 1 + ceil(size(inputFile, "GiB") * 2)