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

adjust memory

parent c75fd8a5
No related branches found
No related tags found
1 merge request!8Run time settings and additional adjustments
......@@ -82,7 +82,7 @@ task SampleConfig {
}
runtime {
memory: ceil(select_first([memory, 3.0]) * select_first([memoryMultiplier, 1.5]))
memory: ceil(select_first([memory, 3.0]) * select_first([memoryMultiplier, 2.0]))
}
}
......@@ -146,6 +146,6 @@ task BaseCounter {
}
runtime {
memory: ceil(select_first([memory, 12.0]) * select_first([memoryMultiplier, 1.5]))
memory: ceil(select_first([memory, 12.0]) * select_first([memoryMultiplier, 2.0]))
}
}
......@@ -89,7 +89,7 @@ task extractAdapters {
}
runtime {
memory: ceil(select_first([memory, 4.0]) * select_first([memoryMultiplier, 1.5]))
memory: ceil(select_first([memory, 4.0]) * select_first([memoryMultiplier, 2.0]))
}
}
......
......@@ -12,10 +12,13 @@ task BaseRecalibrator {
File ref_fasta
File ref_fasta_index
Float? memory
Float? memoryMultiplier
command {
set -e -o pipefail
${preCommand}
java -Xms4G -jar ${gatk_jar} \
java -Xms${true=memory false="4" defined(memory)}G -jar ${gatk_jar} \
BaseRecalibrator \
-R ${ref_fasta} \
-I ${input_bam} \
......@@ -30,7 +33,7 @@ task BaseRecalibrator {
}
runtime {
memory: 6
memory: ceil(select_first([memory, 4.0]) * select_first([memoryMultiplier, 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