Skip to content
GitLab
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
a6d7e825
Commit
a6d7e825
authored
Dec 18, 2015
by
Peter van 't Hof
Browse files
More fail safe
parent
8d9d194b
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/mapping/src/main/scala/nl/lumc/sasc/biopet/pipelines/mapping/Mapping.scala
View file @
a6d7e825
...
...
@@ -442,10 +442,10 @@ class Mapping(val root: Configurable) extends QScript with SummaryQScript with S
def
addBowtie2
(
R1
:
File
,
R2
:
Option
[
File
],
output
:
File
)
:
File
=
{
val
bowtie2
=
new
Bowtie2
(
this
)
bowtie2
.
rg_id
=
Some
(
readgroupId
)
bowtie2
.
rg
+:=
(
"LB:"
+
libId
.
get
)
bowtie2
.
rg
+:=
(
"LB:"
+
libId
.
get
OrElse
(
"x"
)
)
bowtie2
.
rg
+:=
(
"PL:"
+
platform
)
bowtie2
.
rg
+:=
(
"PU:"
+
platformUnit
)
bowtie2
.
rg
+:=
(
"SM:"
+
sampleId
.
get
)
bowtie2
.
rg
+:=
(
"SM:"
+
sampleId
.
get
OrElse
(
"x"
)
)
bowtie2
.
R1
=
R1
bowtie2
.
R2
=
R2
val
sortSam
=
new
SortSam
(
this
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment