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
b42a4cef
Commit
b42a4cef
authored
Apr 18, 2016
by
Sander Bollen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tagging info
parent
4caab1f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
public/toucan/src/main/scala/nl/lumc/sasc/biopet/pipelines/toucan/Toucan.scala
...n/scala/nl/lumc/sasc/biopet/pipelines/toucan/Toucan.scala
+7
-0
No files found.
public/toucan/src/main/scala/nl/lumc/sasc/biopet/pipelines/toucan/Toucan.scala
View file @
b42a4cef
...
...
@@ -40,6 +40,13 @@ class Toucan(val root: Configurable) extends QScript with BiopetQScript with Sum
@Input
(
doc
=
"Input GVCF file"
,
shortName
=
"gvcf"
,
required
=
false
)
var
inputGvcf
:
Option
[
File
]
=
None
val
sampleInfo
:
Map
[
String
,
Map
[
String
,
Any
]]
=
root
match
{
case
m
:
MultiSampleQScript
=>
m
.
samples
.
map
{
case
(
sampleId
,
sample
)
=>
sampleId
->
sample
.
sampleTags
}
case
null
=>
VcfUtils
.
getSampleIds
(
inputVCF
).
map
(
x
=>
x
->
Map
[
String
,
Any
]()).
toMap
case
s
:
SampleLibraryTag
=>
s
.
sampleId
.
map
(
x
=>
x
->
Map
[
String
,
Any
]()).
toMap
case
_
=>
throw
new
IllegalArgumentException
(
""
)
}
var
sampleIds
:
List
[
String
]
=
Nil
def
init
()
:
Unit
=
{
inputFiles
:+=
new
InputFile
(
inputVCF
)
...
...
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