Commit 8ffa943c authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

core/segment.cpp: skip the FineSegmenter if a germline has no rep5/rep3

If you really want a Germline without germlines, please do not try to FineSegment.
parent 61a24c7d
......@@ -596,6 +596,9 @@ FineSegmenter::FineSegmenter(Sequence seq, Germline *germline, Cost segment_c)
CDR3start = -1;
CDR3end = -1;
if (!germline->rep_5.size() || !germline->rep_3.size())
return ;
// TODO: factoriser tout cela, peut-etre en lancant deux segmenteurs, un +, un -, puis un qui chapote
// Strand +
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