Newer
Older
File bedFile
String outputVcf
Int chromosomeColumn = 1
Int startColumn = 2
Int endColumn = 3
Int geneColumn = 4
String? preCommand
}
String toolCommand = if defined(installDir)
then installDir + "/VarDict"
~{true="" false="-z" defined(normalBam)} \
-c ~{chromosomeColumn} \
-S ~{startColumn} \
-E ~{endColumn} \
-g ~{geneColumn} \
~{bedFile} | \
~{installDir + "/"}~{true="testsomatic.R" false="teststrandbias.R" defined(normalBam)} | \
~{installDir + "/"}~{true="var2vcf_paired.pl"
false="var2vcf_valid.pl" defined(normalBam)} \
-N "~{tumorSampleName}~{"|" + normalSampleName}" \
~{true="" false="-E" defined(normalBam)} | \
bgzip -c > ~{outputVcf}
IndexedVcfFile vcfFile = object {
file: outputVcf,
index: outputVcf + ".tbi"
}
runtime {
memory: ceil(memory * memoryMultiplier)
}