Skip to content
GitLab
Menu
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
7e542a61
Commit
7e542a61
authored
Dec 18, 2015
by
Peter van 't Hof
Browse files
Change back to get
parent
a6d7e825
Changes
2
Show whitespace changes
Inline
Side-by-side
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/SampleLibraryTag.scala
View file @
7e542a61
...
...
@@ -24,6 +24,9 @@ import org.broadinstitute.gatk.utils.commandline.Argument
* @author Peter van 't Hof
*/
trait
SampleLibraryTag
extends
Configurable
{
//FIXME: not possible to have required sample / lib
@Argument
(
doc
=
"Sample ID"
,
shortName
=
"sample"
,
required
=
false
)
var
sampleId
:
Option
[
String
]
=
root
match
{
case
tag
:
SampleLibraryTag
=>
tag
.
sampleId
...
...
public/mapping/src/main/scala/nl/lumc/sasc/biopet/pipelines/mapping/Mapping.scala
View file @
7e542a61
...
...
@@ -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
OrElse
(
"x"
)
)
bowtie2
.
rg
+:=
(
"LB:"
+
libId
.
get
)
bowtie2
.
rg
+:=
(
"PL:"
+
platform
)
bowtie2
.
rg
+:=
(
"PU:"
+
platformUnit
)
bowtie2
.
rg
+:=
(
"SM:"
+
sampleId
.
get
OrElse
(
"x"
)
)
bowtie2
.
rg
+:=
(
"SM:"
+
sampleId
.
get
)
bowtie2
.
R1
=
R1
bowtie2
.
R2
=
R2
val
sortSam
=
new
SortSam
(
this
)
...
...
Write
Preview
Supports
Markdown
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