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

fix vcfstats

parent 3d914428
No related branches found
No related tags found
1 merge request!49add output to VcfStats
...@@ -425,7 +425,7 @@ task VcfStats { ...@@ -425,7 +425,7 @@ task VcfStats {
File refFasta File refFasta
File refFastaIndex File refFastaIndex
File refDict File refDict
String outDir String outputDir
File? intervals File? intervals
Array[String]+? infoTags Array[String]+? infoTags
Array[String]+? genotypeTags Array[String]+? genotypeTags
...@@ -455,11 +455,12 @@ task VcfStats { ...@@ -455,11 +455,12 @@ task VcfStats {
command { command {
set -e -o pipefail set -e -o pipefail
mkdir -p ~{outputDir}
~{preCommand} ~{preCommand}
~{toolCommand} \ ~{toolCommand} \
-I ~{vcfFile} \ -I ~{vcfFile} \
-R ~{refFasta} \ -R ~{refFasta} \
-o ~{outDir} \ -o ~{outputDir} \
-t ~{localThreads} \ -t ~{localThreads} \
~{"--intervals " + intervals} \ ~{"--intervals " + intervals} \
~{true="--infoTag" false="" defined(infoTags)} ~{sep=" --infoTag " infoTags} \ ~{true="--infoTag" false="" defined(infoTags)} ~{sep=" --infoTag " infoTags} \
...@@ -480,6 +481,10 @@ task VcfStats { ...@@ -480,6 +481,10 @@ task VcfStats {
sep=" --sparkConfigValue" sparkConfigValues} sep=" --sparkConfigValue" sparkConfigValues}
} }
output {
String resultsDir = outputDir
}
runtime { runtime {
cpu: localThreads cpu: localThreads
memory: ceil(memory * memoryMultiplier) 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