File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -785,12 +785,12 @@ task filter_bam_to_taxa {
785785 Boolean exclude_taxa = false
786786 String out_filename_suffix = "filtered"
787787
788- Int machine_mem_gb = 26
788+ Int machine_mem_gb = 26 + 10 * ceil ( size ( classified_reads_txt_gz , "GB" ))
789789 String docker = "quay.io/broadinstitute/viral-classify:2.2.5"
790790 }
791791
792792 String out_basename = basename (classified_bam , ".bam" ) + "." + out_filename_suffix
793- Int disk_size = 375
793+ Int disk_size = 375 + 2 * ceil ( size ( classified_bam , "GB" ))
794794
795795 command <<<
796796 set -ex -o pipefail
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ task rmdup_ubam {
247247 String docker = "quay.io/broadinstitute/viral-core:2.4.1"
248248 }
249249
250- Int disk_size = 375
250+ Int disk_size = 375 + 2 * ceil ( size ( reads_unmapped_bam , "GB" ))
251251
252252 parameter_meta {
253253 reads_unmapped_bam : { description : "unaligned reads in BAM format" , patterns : ["*.bam" ] }
You can’t perform that action at this time.
0 commit comments