From 82b6edd4e28f5e8420434d8ed2f2e623cf765104 Mon Sep 17 00:00:00 2001 From: "Stephanie M. Gogarten" Date: Tue, 31 Dec 2024 13:18:44 -0800 Subject: [PATCH] increase disk space for concatenation step --- extract_vcf_ids.wdl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extract_vcf_ids.wdl b/extract_vcf_ids.wdl index a64d72b..0b79193 100644 --- a/extract_vcf_ids.wdl +++ b/extract_vcf_ids.wdl @@ -35,7 +35,7 @@ task bcftools_query { Boolean pass_only } - Int disk_gb = ceil(size(vcf_file, "GB")*2) + 10 + Int disk_gb = ceil(size(vcf_file, "GB")*1.5) + 5 command <<< set -e -o pipefail @@ -63,6 +63,8 @@ task concat_files { Array[File] files } + Int disk_gb = ceil(size(files, "GB")*2.5) + 5 + command <<< cat ~{sep=' ' files} > concat.txt >>> @@ -73,5 +75,6 @@ task concat_files { runtime { docker: "staphb/bcftools:1.16" + disks: "local-disk ${disk_gb} SSD" } }