Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
6569f666
Commit
6569f666
authored
Feb 03, 2017
by
Peter van 't Hof
Committed by
GitHub
Feb 03, 2017
Browse files
Merge branch 'develop' into fix-BIOPET-558
parents
b61ac974
aea6651a
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
View file @
6569f666
...
...
@@ -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 out of ${functions.length} total"
)
}
val
logDir
=
new
File
(
outputDir
,
".log"
+
File
.
separator
+
qSettings
.
runName
.
toLowerCase
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment