Skip to content
Snippets Groups Projects
Commit c48f3bb7 authored by Cats's avatar Cats
Browse files

increase memory for sambamba markdup

parent a7a504e4
No related branches found
No related tags found
No related merge requests found
......@@ -81,8 +81,8 @@ task Markdup {
# 2 threads reduces wall clock time by more than 40%.
Int threads = 2
# According to the manual sambamba markdup uses the sortbufferSize + 2 times the ioBuffer size.
# Added 4096 mb as a margin of safety. Real life use with this setting uses 2.7 GiB.
Int memoryMb = 4096 + sortBufferSize + 2 * ioBufferSize
# Added 8192 mb as a margin of safety. Real life use with this setting uses 2.7 GiB.
Int memoryMb = 8192 + sortBufferSize + 2 * ioBufferSize
# Time minute calculation does not work well for higher number of threads.
Int timeMinutes = 1 + ceil(size(inputBams, "G") * 25) / threads
String dockerImage = "quay.io/biocontainers/sambamba:0.7.1--h148d290_2"
......
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