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
9db6c09d
Commit
9db6c09d
authored
9 years ago
by
Wai Yi Leung
Browse files
Options
Downloads
Patches
Plain Diff
Fix major error, things in beforeCmd was intended to do in beforeGraph
parent
de250d3f
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
public/biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/pindel/PindelCaller.scala
+5
-5
5 additions, 5 deletions
.../nl/lumc/sasc/biopet/extensions/pindel/PindelCaller.scala
with
5 additions
and
5 deletions
public/biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/pindel/PindelCaller.scala
+
5
−
5
View file @
9db6c09d
...
...
@@ -104,19 +104,19 @@ class PindelCaller(val root: Configurable) extends BiopetCommandLineFunction wit
var
MIN_DD_MAP_DISTANCE
:
Option
[
Int
]
=
config
(
"MIN_DD_MAP_DISTANCE"
)
var
DD_REPORT_DUPLICATION_READS
:
Option
[
Int
]
=
config
(
"DD_REPORT_DUPLICATION_READS"
)
override
def
before
Cmd
()
:
Unit
=
{
override
def
before
Graph
:
Unit
=
{
// we should check whether the `pindel-config-file` is set or the `config-file` for the bam-list
// at least one of them should be set.
(
pindel_file
,
config_file
)
match
{
case
(
None
,
None
)
=>
Logging
.
addError
(
"No pindel config is given"
)
case
(
Some
(
a
),
Some
(
b
))
=>
Logging
.
addError
(
s
"Please specify either a pindel config or bam-config. Not both for Pindel: $a or $b"
)
case
(
Some
(
a
),
None
)
=>
{
Logging
.
logger
.
info
(
s
"Using
$pindel_file
as pindel config for Pindel"
)
input
=
a
Logging
.
logger
.
info
(
s
"Using
'${a}'
as pindel config for Pindel"
)
input
=
a
.
getAbsoluteFile
}
case
(
None
,
Some
(
b
))
=>
{
Logging
.
logger
.
info
(
s
"Using
$config_file
as bam config for Pindel"
)
input
=
b
Logging
.
logger
.
info
(
s
"Using
'${b}'
as bam config for Pindel"
)
input
=
b
.
getAbsoluteFile
}
}
}
...
...
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