Skip to content

Commit

Permalink
Var recalmem (#35)
Browse files Browse the repository at this point in the history
* increased mem for SNPsVariantRecalibrator for papiv2

* increased mem for SNPsVariantRecalibrator for papiv2

* increased memory to run on papiv2

*  joint calling workflow fails on 130 genomes because SNP VariantRecalibrator runs out of memory. added optional override

* removed hardset cpu

* specified size type

* added minimum for memory
  • Loading branch information
bshifaw authored May 7, 2019
1 parent 8618748 commit 2407524
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions joint-discovery-gatk4-fc.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,9 @@ task SNPsVariantRecalibrator {
String gatk_path
String docker
Int? machine_mem_gb
Int auto_mem = ceil(2*size(sites_only_variant_filtered_vcf, "GB" ))
Int machine_mem = select_first([machine_mem_gb, if auto_mem < 7 then 7 else auto_mem])
Int disk_size
Int preemptible_tries
Expand All @@ -702,8 +705,7 @@ task SNPsVariantRecalibrator {
}
runtime {
docker: docker
memory: "7.5 GB"
cpu: "2"
memory: machine_mem + " GB"
disks: "local-disk " + disk_size + " HDD"
preemptible: preemptible_tries
}
Expand Down
6 changes: 4 additions & 2 deletions joint-discovery-gatk4.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,9 @@ task SNPsVariantRecalibrator {

String gatk_path
String docker
Int? machine_mem_gb
Int auto_mem = ceil(2*size(sites_only_variant_filtered_vcf, "GB" ))
Int machine_mem = select_first([machine_mem_gb, if auto_mem < 7 then 7 else auto_mem])
Int disk_size
Int preemptible_tries

Expand All @@ -681,8 +684,7 @@ task SNPsVariantRecalibrator {
}
runtime {
docker: docker
memory: "7.5 GB"
cpu: "2"
memory: machine_mem + " GB"
disks: "local-disk " + disk_size + " HDD"
preemptible: preemptible_tries
}
Expand Down

0 comments on commit 2407524

Please sign in to comment.