Commit af8a8b8d authored by akaljuvee's avatar akaljuvee
Browse files

one log line

parent 154f1717
...@@ -93,7 +93,9 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript => ...@@ -93,7 +93,9 @@ 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
for (function <- functions) {
function match {
case f: BiopetCommandLineFunction => case f: BiopetCommandLineFunction =>
f.preProcessExecutable() f.preProcessExecutable()
f.beforeGraph() f.beforeGraph()
...@@ -102,6 +104,9 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript => ...@@ -102,6 +104,9 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript =>
case f: WriteSummary => f.init() case f: WriteSummary => f.init()
case _ => 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)
......
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