Commit 5bc753ee authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud
Browse files

segment.cpp: Awful hack to lower incomplete germline attractiveness

This hack is temporary as an upcoming index implementation does not have this limitation.
parent 4ded81d4
......@@ -537,8 +537,13 @@ KmerMultiSegmenter::KmerMultiSegmenter(Sequence seq, MultiGermline *multigermlin
for (list<Germline*>::const_iterator it = multigermline->germlines.begin(); it != multigermline->germlines.end(); ++it)
Germline *germline = *it ;
double incomplete_multiplier = 1;
KmerSegmenter *kseg = new KmerSegmenter(seq, germline, threshold, multiplier);
if (germline->code.find("+") != string::npos) {
incomplete_multiplier = 1e9;
KmerSegmenter *kseg = new KmerSegmenter(seq, germline, threshold, multiplier*incomplete_multiplier);
bool keep_seg = false;
if (out_unsegmented)
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