Skip to content
Snippets Groups Projects
Commit 613e1195 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixed graph issue

parent cf5683e9
No related branches found
No related tags found
No related merge requests found
......@@ -111,12 +111,16 @@ class GenotypeGVCFs(val root: Configurable) extends CommandLineGATK with Scatter
@Gather(enabled = false)
private var outputIndex: File = _
override def freezeFieldValues() {
super.freezeFieldValues()
@Output
@Gather(enabled = false)
private var dbsnpIndex: File = _
override def beforeGraph() {
super.beforeGraph()
deps ++= variant.filter(orig => orig != null && (!orig.getName.endsWith(".list"))).map(orig => VcfUtils.getVcfIndexFile(orig))
if (out != null && !org.broadinstitute.gatk.utils.io.IOUtils.isSpecialFile(out))
outputIndex = VcfUtils.getVcfIndexFile(out)
dbsnp.foreach(VcfUtils.getVcfIndexFile(_))
dbsnp.foreach(x => dbsnpIndex = VcfUtils.getVcfIndexFile(x))
}
override def cmdLine = super.cmdLine +
......
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