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
4ff7fc14
Commit
4ff7fc14
authored
Mar 22, 2017
by
Peter van 't Hof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing library tags for variantcalling
(cherry picked from commit d7b8714)
parent
73d6d6d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/Shiva.scala
...ain/scala/nl/lumc/sasc/biopet/pipelines/shiva/Shiva.scala
+5
-3
No files found.
shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/Shiva.scala
View file @
4ff7fc14
...
...
@@ -51,7 +51,7 @@ class Shiva(val parent: Configurable) extends QScript with MultisampleMappingTra
)
/** Method to make the variantcalling namespace of shiva */
def
makeVariantcalling
(
multisample
:
Boolean
=
fals
e
)
:
ShivaVariantcalling
with
QScript
=
{
def
makeVariantcalling
(
multisample
:
Boolean
,
sample
:
Option
[
String
]
=
None
,
library
:
Option
[
String
]
=
Non
e
)
:
ShivaVariantcalling
with
QScript
=
{
if
(
multisample
)
new
ShivaVariantcalling
(
qscript
)
{
override
def
namePrefix
=
"multisample"
override
def
configNamespace
:
String
=
"shivavariantcalling"
...
...
@@ -59,6 +59,8 @@ class Shiva(val parent: Configurable) extends QScript with MultisampleMappingTra
}
else
new
ShivaVariantcalling
(
qscript
)
{
override
def
configNamespace
=
"shivavariantcalling"
sampleId
=
sample
libId
=
library
}
}
...
...
@@ -104,7 +106,7 @@ class Shiva(val parent: Configurable) extends QScript with MultisampleMappingTra
lazy
val
variantcalling
=
if
(
config
(
"library_variantcalling"
,
default
=
false
).
asBoolean
&&
(
bamFile
.
isDefined
||
preProcessBam
.
isDefined
))
{
Some
(
makeVariantcalling
(
multisample
=
false
))
Some
(
makeVariantcalling
(
multisample
=
false
,
sample
=
Some
(
sampleId
),
library
=
Some
(
libId
)
))
}
else
None
/** This will add jobs for this library */
...
...
@@ -132,7 +134,7 @@ class Shiva(val parent: Configurable) extends QScript with MultisampleMappingTra
}
lazy
val
variantcalling
=
if
(
config
(
"single_sample_variantcalling"
,
default
=
false
).
asBoolean
)
{
Some
(
makeVariantcalling
(
multisample
=
false
))
Some
(
makeVariantcalling
(
multisample
=
false
,
sample
=
Some
(
sampleId
)
))
}
else
None
override
def
keepMergedFiles
:
Boolean
=
config
(
"keep_merged_files"
,
default
=
!
useIndelRealigner
)
...
...
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