Commit d187edd5 authored by Mathieu Giraud's avatar Mathieu Giraud

core/segment.cpp, core/windowExtractor.cpp: move germline->stats.insert

All the germline stats are now updated in core/windowExtractor.cpp.
parent ee802e25
......@@ -259,7 +259,6 @@ KmerMultiSegmenter::KmerMultiSegmenter(Sequence seq, MultiGermline *multigermlin
if (kseg.isSegmented())
{
// Yes, it is segmented
germline->stats.insert(seq.sequence.length());
return ;
}
......
......@@ -28,6 +28,9 @@ WindowsStorage *WindowExtractor::extract(OnlineFasta *reads, MultiGermline *mult
stats[seg.getSegmentationStatus()].insert(read_length);
if (seg.isSegmented()) {
seg.segmented_germline->stats.insert(read_length);
junction junc = seg.getJunction(w);
if (junc.size()) {
......
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