icgc-argo / workflow-roadmap

Roadmap and management for genomic data processing
GNU Affero General Public License v3.0
1 stars 0 forks source link

Add auto-retry feature into Sanger variant calling step whenever it is `out of memory` issue #139

Open lindaxiang opened 3 years ago

lindaxiang commented 3 years ago

According to the investigation of OOM(https://github.com/icgc-argo/workflow-roadmap/issues/136), we will implement the re-try mechanism for Sanger wgs variant calling step as what Alex suggested.

tool in scope:

workflow in scope

Note: We will leave sanger wxs calling as it is for now as we did not have OOM issue for wxs data at this time. We can implement similar retry mechanism if it happens to wxs as well.

lindaxiang commented 3 years ago

Related to the investigation here: #136

process sangerWgsVariantCaller { cpus {task.attempt > 1 ? params.cpus - (parms.cpu_backoff * task.attempt) : params.cpus}

errorStrategy { task.exitStatus in 137..140 ? 'retry' : 'terminate' } maxRetries params.max_retries }

puneet-oicr commented 1 year ago

Low priority