Commit af8a8b8d authored by akaljuvee's avatar akaljuvee

one log line

parent 154f1717
......@@ -93,14 +93,19 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript =>
}
logger.info("Running pre commands")
for (function <- functions) function match {
case f: BiopetCommandLineFunction =>
f.preProcessExecutable()
f.beforeGraph()
f.internalBeforeGraph()
f.commandLine
case f: WriteSummary => f.init()
case _ =>
var count = 0
for (function <- functions) {
function match {
case f: BiopetCommandLineFunction =>
f.preProcessExecutable()
f.beforeGraph()
f.internalBeforeGraph()
f.commandLine
case f: WriteSummary => f.init()
case _ =>
}
count += 1
if (count % 500 == 0) logger.info(s"Preprocessing done for ${count} jobs")
}
val logDir = new File(outputDir, ".log" + File.separator + qSettings.runName.toLowerCase)
......
Markdown is supported
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