@@ -42,6 +42,7 @@ workflow Optimus {
4242
4343 # CellBender
4444 Boolean run_cellbender = false
45+ Int cellbender_memory_GB = 32
4546
4647 # Chemistry options include: 2 or 3
4748 Int tenx_chemistry_version
@@ -73,12 +74,11 @@ workflow Optimus {
7374 # this pipeline does not set any preemptible varibles and only relies on the task-level preemptible settings
7475 # you could override the tasklevel preemptible settings by passing it as one of the workflows inputs
7576 # for example: `"Optimus.StarAlign.preemptible": 3` will let the StarAlign task, which by default disables the
76- # usage of preemptible machines, attempt to request for preemptible instance up to 3 times.
77-
77+ # usage of preemptible machines, attempt to request for preemptible instance up to 3 times.
7878 }
7979
8080 # Version of this pipeline
81- String pipeline_version = "8.0.4 "
81+ String pipeline_version = "8.0.5 "
8282
8383 # this is used to scatter matched [r1_fastq, r2_fastq, i1_fastq] arrays
8484 Array [Int ] indices = range (length (r1_fastq ))
@@ -233,6 +233,7 @@ workflow Optimus {
233233 warp_tools_docker_path = docker_prefix + warp_tools_docker
234234 }
235235 }
236+
236237 if (count_exons && counting_mode =="sn_rna" ) {
237238 call H5adUtils .SingleNucleusOptimusH5adOutput as OptimusH5adGenerationWithExons {
238239 input :
@@ -270,7 +271,7 @@ workflow Optimus {
270271 hardware_cpu_count = 4 ,
271272 hardware_disk_size_GB = 50 ,
272273 hardware_gpu_type = "nvidia-tesla-t4" ,
273- hardware_memory_GB = 32 ,
274+ hardware_memory_GB = cellbender_memory_GB ,
274275 hardware_preemptible_tries = 2 ,
275276 hardware_zones = "us-central1-a us-central1-c" ,
276277 nvidia_driver_version = "470.82.01"
@@ -285,7 +286,7 @@ workflow Optimus {
285286 hardware_cpu_count = 4 ,
286287 hardware_disk_size_GB = 50 ,
287288 hardware_gpu_type = "nvidia-tesla-t4" ,
288- hardware_memory_GB = 32 ,
289+ hardware_memory_GB = cellbender_memory_GB ,
289290 hardware_preemptible_tries = 2 ,
290291 hardware_zones = "us-central1-a us-central1-c" ,
291292 nvidia_driver_version = "470.82.01"
@@ -296,7 +297,6 @@ workflow Optimus {
296297 File final_h5ad_output = select_first ([OptimusH5adGenerationWithExons .h5ad_output , OptimusH5adGeneration .h5ad_output ])
297298 File final_library_metrics = select_first ([OptimusH5adGenerationWithExons .library_metrics , OptimusH5adGeneration .library_metrics ])
298299
299-
300300 output {
301301 # version of this pipeline
302302 String pipeline_version_out = pipeline_version
0 commit comments