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
e193f1b6
Commit
e193f1b6
authored
Feb 17, 2015
by
Peter van 't Hof
Browse files
Fix chunking bug on vcfstats
parent
1cb942c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/tools/VcfStats.scala
View file @
e193f1b6
...
...
@@ -164,8 +164,8 @@ object VcfStats extends ToolCommand {
val
intervals
:
List
[
Interval
]
=
(
for
(
seq
<-
header
.
getSequenceDictionary
.
getSequences
;
chunks
=
seq
.
getSequenceLength
/
10000000
;
i
<-
1
until
chunks
chunks
=
(
seq
.
getSequenceLength
/
10000000
)
+
(
if
(
seq
.
getSequenceLength
%
10000000
==
0
)
0
else
1
)
;
i
<-
1
to
chunks
)
yield
{
val
size
=
seq
.
getSequenceLength
/
chunks
val
begin
=
size
*
(
i
-
1
)
+
1
...
...
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