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

correct additional threads

parent e3a3add7
No related branches found
No related tags found
No related merge requests found
......@@ -369,9 +369,9 @@ task Sort {
String outputPath = basename(inputBam, "\.bam") + ".sorted.bam"
Boolean sortByName = false
Int compressionLevel = 1
Int threads = 0
Int threads = 1
Int memoryPerThreadGb = 4
Int memoryGb = 1 + (threads + 1) * memoryPerThreadGb
Int memoryGb = 1 + threads * memoryPerThreadGb
String dockerImage = "quay.io/biocontainers/samtools:1.10--h9402c20_2"
Int timeMinutes = 1 + ceil(size(inputBam, "G") * 3)
}
......@@ -400,7 +400,7 @@ task Sort {
}
runtime {
cpu: 1 + threads
cpu: 1
memory: "~{memoryGb}G"
docker: dockerImage
time_minutes: timeMinutes
......
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