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
36ca2c38
Commit
36ca2c38
authored
Jan 04, 2017
by
Peter van 't Hof
Browse files
Converted to correct keys pairs
parent
8612c05f
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-tools/src/main/scala/nl/lumc/sasc/biopet/tools/flagstat/FlagstatCollector.scala
View file @
36ca2c38
...
...
@@ -203,11 +203,8 @@ class FlagstatCollector {
def
toSummaryMap
=
{
val
sortedKeys
=
names
.
keys
.
toArray
.
sorted
Map
(
"keys"
->
sortedKeys
.
map
(
names
(
_
)),
"total"
->
totalCounts
,
"cross_counts"
->
crossCounts
)
sortedKeys
.
map
(
x
=>
names
(
x
)
->
totalCounts
(
x
)).
toMap
++
Map
(
"cross_counts"
->
crossCounts
)
}
def
+=
(
other
:
FlagstatCollector
)
:
FlagstatCollector
=
{
...
...
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