Commit 917b35d1 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

core/germline.{h,cpp}: rename 'stats' to 'stats_reads'

parent 485c6f9b
...@@ -20,7 +20,7 @@ void Germline::init(string _code, char _shortcut, ...@@ -20,7 +20,7 @@ void Germline::init(string _code, char _shortcut,
delta_min = _delta_min ; delta_min = _delta_min ;
delta_max = _delta_max ; delta_max = _delta_max ;
stats.setLabel(code); stats_reads.setLabel(code);
stats_clones.setLabel(code + "-clones"); stats_clones.setLabel(code + "-clones");
} }
...@@ -261,7 +261,7 @@ void MultiGermline::out_stats(ostream &out) ...@@ -261,7 +261,7 @@ void MultiGermline::out_stats(ostream &out)
for (list<Germline*>::const_iterator it = germlines.begin(); it != germlines.end(); ++it) for (list<Germline*>::const_iterator it = germlines.begin(); it != germlines.end(); ++it)
{ {
Germline *germline = *it ; Germline *germline = *it ;
out << germline->stats ; out << germline->stats_reads ;
out << germline->stats_clones ; out << germline->stats_clones ;
} }
} }
......
...@@ -67,7 +67,7 @@ class Germline { ...@@ -67,7 +67,7 @@ class Germline {
int delta_min; int delta_min;
int delta_max; int delta_max;
Stats stats; Stats stats_reads;
Stats stats_clones; Stats stats_clones;
}; };
......
...@@ -33,7 +33,7 @@ WindowsStorage *WindowExtractor::extract(OnlineFasta *reads, MultiGermline *mult ...@@ -33,7 +33,7 @@ WindowsStorage *WindowExtractor::extract(OnlineFasta *reads, MultiGermline *mult
stats[seg->getSegmentationStatus()].insert(read_length); stats[seg->getSegmentationStatus()].insert(read_length);
if (seg->isSegmented()) { if (seg->isSegmented()) {
seg->segmented_germline->stats.insert(read_length); seg->segmented_germline->stats_reads.insert(read_length);
junction junc = seg->getJunction(w); junction junc = seg->getJunction(w);
......
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