Commit b3bcd31c authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

core/segment.cpp: UNSEG_AMBIGUOUS for non-segmented sequences that have many V and J (fix)

This fixes a8d2c873. The idea was good, but not the code.
parent dfdc129e
......@@ -285,8 +285,8 @@ void KmerSegmenter::computeSegmentation(int strand, Germline* germline) {
// The sequence is not segmented.
// We labeled it AMBIGUOUS if there were both enough affect_5 and enough affect_3
if ((max.nb_before_left + max.nb_after_left >= AMBIGUOUS_THRESHOLD)
&& (max.nb_before_right + max.nb_after_right >= AMBIGUOUS_THRESHOLD))
if ((max.nb_before_left + max.nb_before_right >= AMBIGUOUS_THRESHOLD)
&& (max.nb_after_left + max.nb_after_right >= AMBIGUOUS_THRESHOLD))
} else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment