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

Added config option targetBed

parent 3a27231e
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,11 @@ class BamMetrics(val root: Configurable) extends QScript with BiopetQScript {
for (file <- configfiles) globalConfig.loadConfigFile(file)
if (outputDir == null) throw new IllegalStateException("Missing Output directory on BamMetrics module")
else if (!outputDir.endsWith("/")) outputDir += "/"
if (configContains("targetBed")) {
for (file <- config("targetBed").getList) {
bedFiles +:= new File(file.toString)
}
}
}
def biopetScript() {
......
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