diff --git a/biopet.wdl b/biopet.wdl index a7cd28b0c15925258981b3743c8f6856d8c8165a..2c28fe33edd6251df68ab4bae2830fae76b3ffb8 100644 --- a/biopet.wdl +++ b/biopet.wdl @@ -256,13 +256,13 @@ task SampleConfigCromwellArrays { } String toolCommand = if defined(toolJar) - then "java -Xmx" + memory + "G -jar " +toolJar + then "java -Xmx" + memory + "G -jar " + toolJar else "biopet-sampleconfig -Xmx" + memory + "G" command { set -e -o pipefail ~{preCommand} - mkdir -p . ~{"$(dirname " + outputPath + ")"} + mkdir -p $(dirname ~{outputPath}) ~{toolCommand} CromwellArrays \ -i ~{sep="-i " inputFiles} \ ~{"-o " + outputPath}