Skip to content

Commit

Permalink
Fixing BAM size calc for WDL version
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahR-Y committed Oct 29, 2024
1 parent bdca811 commit b5ecb0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ task MergeBamAlignmentTask {
String? sort_order = "coordinate"

Int? diskgb_buffer
Float disk_size = 50 + size(mapped_bam, "GB")*3 + size(unmapped_bam, "GB")*3 + select_first([diskgb_buffer, 0])
Float disk_size = 50 + size(mapped_bam[0], "GB")*length(mapped_bam)*3 + size(unmapped_bam, "GB")*3 + select_first([diskgb_buffer, 0])
Int compression_level
Int? preemptible_tries = 1
String? gatk_docker = "us.gcr.io/broad-gatk/gatk:4.5.0.0"
Expand Down

0 comments on commit b5ecb0c

Please sign in to comment.