Commit 50766f75 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

KMerSegmenter: Positions of Vend and Jstart

Positions are now correct from the beginning, since we do not allow an overlap
in CountKmerAffectAnalyser. So we don't need to modify them slightly.
parent e86ef880
......@@ -258,9 +258,6 @@ void KmerSegmenter::checkUnsegmentationCause(int strand, int delta_min, int delt
{
because = UNSEG_TOO_FEW_J ;
}
Vend += s-1;
Jstart++;
}
else if (strand == -1)
{
......@@ -278,8 +275,8 @@ void KmerSegmenter::checkUnsegmentationCause(int strand, int delta_min, int delt
because = UNSEG_TOO_FEW_J ;
}
Vend = sequence.size() - (Vend+1) ;
Jstart = sequence.size() - (Jstart + s-1) ;
Vend = sequence.size() - Vend - 1;
Jstart = sequence.size() - Jstart - 1;
}
if (! because)
......
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