Commit 7c9fda5b authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixing BIOPET-488

parent 21fa48ed
...@@ -43,6 +43,7 @@ class BamStats(val root: Configurable) extends ToolCommandFunction with Referenc ...@@ -43,6 +43,7 @@ class BamStats(val root: Configurable) extends ToolCommandFunction with Referenc
override def beforeGraph() { override def beforeGraph() {
super.beforeGraph() super.beforeGraph()
deps :+= bamFile.getAbsolutePath.replaceAll(".bam$", ".bai")
jobOutputFile = new File(outputDir, ".bamstats.out") jobOutputFile = new File(outputDir, ".bamstats.out")
if (reference == null) reference = referenceFasta() if (reference == null) reference = referenceFasta()
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment