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

Fixed compile error

parent 6cbf2b4a
No related branches found
No related tags found
No related merge requests found
......@@ -402,7 +402,7 @@ class HaplotypeCaller(val root: Configurable) extends CommandLineGATK with Scatt
if (out != null && !org.broadinstitute.gatk.utils.io.IOUtils.isSpecialFile(out))
outputFiles :+= VcfUtils.getVcfIndexFile(out)
dbsnp.foreach(deps :+= VcfUtils.getVcfIndexFile(_))
deps ++= comp.filter(orig => orig != null && (!orig.getName.endsWith(".list"))).map(orig => orig + ".idx")
deps ++= comp.filter(orig => orig != null && (!orig.getName.endsWith(".list"))).map(orig => new File(orig + ".idx"))
if (bamOutput != null && !org.broadinstitute.gatk.utils.io.IOUtils.isSpecialFile(bamOutput))
if (!disable_bam_indexing)
outputFiles :+= new File(bamOutput.getPath.stripSuffix(".bam") + ".bai")
......
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