From b34cc22d4eb564f9416098ba75b1d55ca0ad00b7 Mon Sep 17 00:00:00 2001 From: Mathieu Giraud Date: Fri, 10 Jun 2016 21:56:13 +0200 Subject: [PATCH] core/segment.cpp: JUNCTION{start,end} initialization Thanks to Valgrind --- algo/core/segment.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/algo/core/segment.cpp b/algo/core/segment.cpp index 5da76bb65..433388630 100644 --- a/algo/core/segment.cpp +++ b/algo/core/segment.cpp @@ -368,6 +368,9 @@ KmerSegmenter::KmerSegmenter(Sequence seq, Germline *germline, double threshold, CDR3start = -1; CDR3end = -1; + JUNCTIONstart = -1; + JUNCTIONend = -1; + label = seq.label ; sequence = seq.sequence ; info = "" ; @@ -864,6 +867,9 @@ FineSegmenter::FineSegmenter(Sequence seq, Germline *germline, Cost segment_c, CDR3start = -1; CDR3end = -1; + JUNCTIONstart = -1; + JUNCTIONend = -1; + bool reverse_V = false ; bool reverse_J = false ; -- GitLab