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

add memory to vardict

parent e8af9d1e
No related branches found
No related tags found
1 merge request!45Changes for somatic variantcalling
......@@ -22,12 +22,14 @@ task VarDict {
Int geneColumn = 4
String? preCommand
Int memory = 4
Float memoryMultiplier = 2.0
}
String toolCommand = if defined(installDir)
then installDir + "/VarDict"
else if useJavaVersion
then "vardict-java" #probably needs memory stuff
then "vardict-java -Xmx${memory}"
else "vardict"
command {
......@@ -54,4 +56,8 @@ task VarDict {
output {
File vcfFile = outputVcf
}
runtime {
memory: ceil(memory * memoryMultiplier)
}
}
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