Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
cd175ab7
Commit
cd175ab7
authored
10 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Added config report
parent
71a74799
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
+10
-2
10 additions, 2 deletions
...c/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
with
10 additions
and
2 deletions
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
+
10
−
2
View file @
cd175ab7
package
nl.lumc.sasc.biopet.core
//import org.broadinstitute.sting.queue.QScript
import
java.io.File
import
java.io.PrintWriter
import
nl.lumc.sasc.biopet.core.config._
import
org.broadinstitute.sting.commandline._
import
org.broadinstitute.sting.queue.QSettings
import
org.broadinstitute.sting.queue.function.QFunction
trait
BiopetQScript
extends
Configurable
{
...
...
@@ -15,13 +16,20 @@ trait BiopetQScript extends Configurable {
var
outputFiles
:
Map
[
String
,
File
]
=
Map
()
var
qSettings
:
QSettings
def
init
def
biopetScript
final
def
script
()
{
init
biopetScript
// TODO: Config report
val
configReport
=
globalConfig
.
getReport
val
configReportFile
=
new
File
(
outputDir
+
qSettings
.
runName
+
".configreport.txt"
)
val
writer
=
new
PrintWriter
(
configReportFile
)
writer
.
write
(
configReport
)
writer
.
close
()
for
(
line
<-
configReport
.
split
(
"\n"
))
logger
.
debug
(
line
)
}
def
add
(
functions
:
QFunction*
)
// Gets implemeted at org.broadinstitute.sting.queue.QScript
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment