Skip to content
Snippets Groups Projects
Commit c6a78d0d authored by Sander Bollen's avatar Sander Bollen
Browse files

see #231

parent 9c5c1703
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ class Toucan(val root: Configurable) extends QScript with BiopetQScript with Sum
val vep = new VariantEffectPredictor(this)
vep.input = inputVCF
vep.output = new File(outputDir, inputVCF.getName.stripSuffix(".gz").stripSuffix(".vcf") + ".vep.vcf")
vep.failed = true
vep.isIntermediate = true
add(vep)
......@@ -80,7 +81,7 @@ class Toucan(val root: Configurable) extends QScript with BiopetQScript with Sum
vcfWithVcf.input = outputFile
vcfWithVcf.secondaryVcf = exacFile
vcfWithVcf.output = swapExt(outputDir, outputFile, ".vcf.gz", ".exac.vcf.gz")
vcfWithVcf.fields ::= ("MAF", "MAF_exac", None)
vcfWithVcf.fields ::= ("AF", "AF_exac", None)
add(vcfWithVcf)
outputFile = vcfWithVcf.output
case _ =>
......
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