Commit af8a8b8d authored by akaljuvee's avatar akaljuvee
Browse files

one log line

parent 154f1717
...@@ -93,14 +93,19 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript => ...@@ -93,14 +93,19 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript =>
} }
logger.info("Running pre commands") logger.info("Running pre commands")
for (function <- functions) function match { var count = 0
case f: BiopetCommandLineFunction => for (function <- functions) {
f.preProcessExecutable() function match {
f.beforeGraph() case f: BiopetCommandLineFunction =>
f.internalBeforeGraph() f.preProcessExecutable()
f.commandLine f.beforeGraph()
case f: WriteSummary => f.init() f.internalBeforeGraph()
case _ => 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) 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