We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b71a808 commit b048045Copy full SHA for b048045
1 file changed
wdl/tasks/Utility/BAMutils.wdl
@@ -1415,8 +1415,10 @@ task BamToRelevantPileup {
1415
Int cores = 12
1416
Int memory = 4 + cores
1417
Int local_ssd_sz = if size(bam, "GiB") > 150 then 750 else 375
1418
- Int pd_sz = 20 + 2 * ceil(size(bam, "GiB"))
1419
- Int disk_size = if "LOCAL" == disk_type then local_ssd_sz else pd_sz
+ Int pd_sz = 20 + 4 * ceil(size(bam, "GiB"))
+ Int min_pd_sz = 300
1420
+ Int picked_pd_sz = if pd_sz < min_pd_sz then min_pd_sz else pd_sz
1421
+ Int disk_size = if "LOCAL" == disk_type then local_ssd_sz else picked_pd_sz
1422
1423
runtime {
1424
cpu: "~{cores}"
0 commit comments