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

change memory params

parent 67a9dbfc
No related branches found
No related tags found
1 merge request!23Add memory runtime for validate fastq
...@@ -313,7 +313,7 @@ task ValidateFastq { ...@@ -313,7 +313,7 @@ task ValidateFastq {
Float? memory Float? memory
Float? memoryMultiplier Float? memoryMultiplier
Int mem = ceil(select_first([memory, 4.0])) Int mem = ceil(select_first([memory, 2.0]))
String toolCommand = if defined(toolJar) String toolCommand = if defined(toolJar)
then "java -Xmx" + mem + "G -jar " + toolJar then "java -Xmx" + mem + "G -jar " + toolJar
...@@ -330,7 +330,7 @@ task ValidateFastq { ...@@ -330,7 +330,7 @@ task ValidateFastq {
File stderr = stderr() File stderr = stderr()
} }
runtime { runtime {
memory: ceil(mem * select_first([memoryMultiplier, 2.0])) memory: ceil(mem * select_first([memoryMultiplier, 1.5]))
} }
} }
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