Skip to content
Snippets Groups Projects
Commit ddae5764 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

Increase time estimates for sort tasks

parent 363e90e5
No related branches found
No related tags found
No related merge requests found
......@@ -669,7 +669,7 @@ task SortSam {
# 4.000000001 which gets rounded to 5.
# GATK Best practices uses 75000 here: https://github.com/gatk-workflows/broad-prod-wgs-germline-snps-indels/blob/d2934ed656ade44801f9cfe1c0e78d4f80684b7b/PairedEndSingleSampleWf-fc-hg38.wdl#L778
Int XmxGb = ceil(maxRecordsInRam / 125001.0)
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 2)
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 3)
# A mulled container is needed to have both picard and bwa in one container.
# This container contains: picard (2.18.7), bwa (0.7.17-r1188)
String dockerImage = "quay.io/biocontainers/picard:2.23.1--h37ae868_0"
......
......@@ -30,7 +30,7 @@ task Sort {
Int memoryPerThreadGb = 4
Int memoryGb = 1 + threads * memoryPerThreadGb
String dockerImage = "quay.io/biocontainers/sambamba:0.7.1--h148d290_2"
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 2)
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 3)
}
# Select first needed as outputPath is optional input. (bug in cromwell)
......
......@@ -373,7 +373,7 @@ task Sort {
Int memoryPerThreadGb = 4
Int memoryGb = 1 + (threads + 1) * memoryPerThreadGb
String dockerImage = "quay.io/biocontainers/samtools:1.10--h9402c20_2"
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 2)
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 3)
}
# Select first needed as outputPath is optional input. (bug in cromwell)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment