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

change default mem requirements

parent df513d10
No related branches found
No related tags found
No related merge requests found
...@@ -26,13 +26,14 @@ task Format { ...@@ -26,13 +26,14 @@ task Format {
String outputPath = "seq_data.sdf" String outputPath = "seq_data.sdf"
Array[File]+ inputFiles Array[File]+ inputFiles
String dockerImage = "quay.io/biocontainers/rtg-tools:3.10.1--0" String dockerImage = "quay.io/biocontainers/rtg-tools:3.10.1--0"
String memory = "4G" String rtgMem = "8G"
String memory = "16G"
} }
command { command {
set -e set -e
mkdir -p $(dirname ~{outputPath}) mkdir -p $(dirname ~{outputPath})
rtg format -f ~{format} \ rtg RTG_MEM=~{rtgMem} format -f ~{format} \
-o ~{outputPath} \ -o ~{outputPath} \
~{sep=' ' inputFiles} ~{sep=' ' inputFiles}
} }
...@@ -74,14 +75,15 @@ task VcfEval { ...@@ -74,14 +75,15 @@ task VcfEval {
Boolean squashPloidy = false Boolean squashPloidy = false
String outputMode = "split" String outputMode = "split"
Int threads = 1 # tool default is number of cores in the system 😱 Int threads = 1 # tool default is number of cores in the system 😱
String memory = "4G" String rtgMem = "4G"
String memory = "8G"
String dockerImage = "quay.io/biocontainers/rtg-tools:3.10.1--0" String dockerImage = "quay.io/biocontainers/rtg-tools:3.10.1--0"
} }
command <<< command <<<
set -e set -e
mkdir -p "$(dirname ~{outputDir})" mkdir -p "$(dirname ~{outputDir})"
rtg vcfeval \ rtg RTG_MEM=~{rtgMem} vcfeval \
--baseline ~{baseline} \ --baseline ~{baseline} \
--calls ~{calls} \ --calls ~{calls} \
~{"--evaluation-regions " + evaluationRegions} \ ~{"--evaluation-regions " + evaluationRegions} \
......
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