Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

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) { ...@@ -285,8 +285,8 @@ void KmerSegmenter::computeSegmentation(int strand, Germline* germline) {
// The sequence is not segmented. // The sequence is not segmented.
// We labeled it AMBIGUOUS if there were both enough affect_5 and enough affect_3 // 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) if ((max.nb_before_left + max.nb_before_right >= AMBIGUOUS_THRESHOLD)
&& (max.nb_before_right + max.nb_after_right >= AMBIGUOUS_THRESHOLD)) && (max.nb_after_left + max.nb_after_right >= AMBIGUOUS_THRESHOLD))
because = UNSEG_AMBIGUOUS; because = UNSEG_AMBIGUOUS;
} else { } 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