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

tiny fix for output directory in bammetrics (no longer outputs stuff in bed input dir)

parent 7a797196
No related branches found
No related tags found
No related merge requests found
......@@ -88,8 +88,8 @@ class BamMetrics(val root: Configurable) extends QScript with SummaryQScript wit
for (bedFile <- bedFiles) {
//TODO: Add target jobs to summary
val targetDir = bedFile.getParentFile
val targetFile = new File(outputDir, bedFile.getName.stripSuffix(".bed") + ".interval")
val targetDir = new File(outputDir, bedFile.getName.stripSuffix(".bed"))
val targetFile = new File(targetDir, bedFile.getName.stripSuffix(".bed") + ".interval")
val targetInterval = BedToInterval(this, bedFile, inputBam, targetFile)
add(targetInterval, true)
add(CalculateHsMetrics(this, inputBam, if (baitIntervalFile != null) baitIntervalFile
......
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