Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
8e796c00
Commit
8e796c00
authored
Mar 29, 2017
by
Peter van 't Hof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move log file output work dir
parent
542c87f0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/clever/CleverCaller.scala
.../nl/lumc/sasc/biopet/extensions/clever/CleverCaller.scala
+6
-7
shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/svcallers/Clever.scala
...l/lumc/sasc/biopet/pipelines/shiva/svcallers/Clever.scala
+2
-2
No files found.
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/clever/CleverCaller.scala
View file @
8e796c00
...
...
@@ -38,17 +38,16 @@ class CleverCaller(val root: Configurable) extends BiopetCommandLineFunction wit
@Input
(
doc
=
"Reference"
)
var
reference
:
File
=
_
protected
def
cleverOutputDir
:
File
=
new
File
(
cleverWorkDir
,
"work"
)
var
cleverWorkDir
:
File
=
_
@Output
(
doc
=
"Clever VCF output"
)
lazy
val
outputvcf
:
File
=
{
new
File
(
clever
Output
Dir
,
"predictions.vcf"
)
new
File
(
clever
Work
Dir
,
"predictions.vcf"
)
}
@Output
(
doc
=
"Clever raw output"
)
lazy
val
outputraw
:
File
=
{
new
File
(
clever
Output
Dir
,
"predictions.raw.txt"
)
new
File
(
clever
Work
Dir
,
"predictions.raw.txt"
)
}
// var T: Option[Int] = config("T", default = defaultThreads)
...
...
@@ -60,13 +59,13 @@ class CleverCaller(val root: Configurable) extends BiopetCommandLineFunction wit
override
def
beforeGraph
()
{
super
.
beforeGraph
()
if
(
clever
Output
Dir
==
null
)
throw
new
Exception
(
"Clever :: Workdirectory is not defined"
)
if
(
clever
Work
Dir
==
null
)
throw
new
Exception
(
"Clever :: Workdirectory is not defined"
)
if
(
reference
==
null
)
reference
=
referenceFasta
()
}
def
cmdLine
=
required
(
executable
)
+
" --sorted "
+
" --use_xa "
+
required
(
"--sorted"
)
+
required
(
"--use_xa"
)
+
optional
(
"-T"
,
threads
)
+
conditional
(
f
,
"-f"
)
+
conditional
(
a
,
"-a"
)
+
...
...
@@ -74,7 +73,7 @@ class CleverCaller(val root: Configurable) extends BiopetCommandLineFunction wit
conditional
(
r
,
"-r"
)
+
required
(
input
)
+
required
(
reference
)
+
required
(
clever
Output
Dir
)
required
(
clever
Work
Dir
)
}
object
CleverCaller
{
...
...
shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/svcallers/Clever.scala
View file @
8e796c00
...
...
@@ -23,10 +23,10 @@ class Clever(val root: Configurable) extends SvCaller {
def
name
=
"clever"
def
biopetScript
()
{
//TODO: check double directories
for
((
sample
,
bamFile
)
<-
inputBams
)
{
val
cleverDir
=
new
File
(
outputDir
,
sample
)
val
clever
=
CleverCaller
(
this
,
bamFile
,
cleverDir
)
val
clever
=
CleverCaller
(
this
,
bamFile
,
new
File
(
cleverDir
,
"clever_output"
))
clever
.
jobOutputFile
=
new
File
(
cleverDir
,
".CleverCaller.out"
)
add
(
clever
)
val
cleverVCF
=
new
CleverFixVCF
(
this
)
...
...
Write
Preview
Markdown
is supported
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