Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
888d0c69
Commit
888d0c69
authored
Mar 16, 2015
by
Mathieu Giraud
Browse files
core/segment.cpp, MAX12: use sortLeftRight() to sort the two most frequent KmerAffects
parent
10b0e66e
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/segment.cpp
View file @
888d0c69
...
...
@@ -243,7 +243,7 @@ KmerSegmenter::KmerSegmenter(Sequence seq, Germline *germline)
forbidden
.
insert
(
KmerAffect
::
getUnknown
());
CountKmerAffectAnalyser
ckaa
(
*
(
germline
->
index
),
sequence
);
pair
<
KmerAffect
,
KmerAffect
>
max12
=
ckaa
.
max12
(
forbidden
);
pair
<
KmerAffect
,
KmerAffect
>
max12
=
ckaa
.
sortLeftRight
(
ckaa
.
max12
(
forbidden
)
)
;
strand
=
nb_strand
[
0
]
>
nb_strand
[
1
]
?
-
1
:
1
;
computeSegmentation
(
strand
,
max12
.
first
,
max12
.
second
);
...
...
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