Skip to content

Commit

Permalink
increase disk space for concatenation step
Browse files Browse the repository at this point in the history
  • Loading branch information
smgogarten committed Dec 31, 2024
1 parent cc859ac commit 82b6edd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extract_vcf_ids.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
>>>
Expand All @@ -73,5 +75,6 @@ task concat_files {

runtime {
docker: "staphb/bcftools:1.16"
disks: "local-disk ${disk_gb} SSD"
}
}

0 comments on commit 82b6edd

Please sign in to comment.