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

fix vardict memory?

parent 8b0d6891
No related branches found
No related tags found
1 merge request!45Changes for somatic variantcalling
......@@ -22,18 +22,19 @@ task VarDict {
Int geneColumn = 4
String? preCommand
Int memory = 4
Int memory = 8
Float memoryMultiplier = 2.0
}
String toolCommand = if defined(installDir)
then installDir + "/VarDict"
else if useJavaVersion
then "vardict-java -Xmx${memory}"
then "vardict-java"
else "vardict"
command {
set -e -o pipefail
export JAVA_OPTS="-Xmx~{memory}G"
~{preCommand}
~{toolCommand} \
-G ~{refFasta} \
......
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