From 44ab7cf42aa49cc7832d482416c248f3ec72de09 Mon Sep 17 00:00:00 2001 From: Bryce Lorenz Kille Date: Wed, 9 Oct 2024 22:42:01 -0500 Subject: [PATCH] Don't reset seqid --- src/map/include/computeMap.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/include/computeMap.hpp b/src/map/include/computeMap.hpp index a52f208..629db7f 100644 --- a/src/map/include/computeMap.hpp +++ b/src/map/include/computeMap.hpp @@ -1411,7 +1411,7 @@ namespace skch if (in_candidate) { // Save and reset l2_out.meanOptimalPos = (l2_out.optimalStart + l2_out.optimalEnd) / 2; - l2_out.seqId = windowIt->seqId; + l2_out.seqId = candidateLocus.seqId; l2_out.strand = prev_strand_votes >= 0 ? strnd::FWD : strnd::REV; if (l2_vec_out.empty() || l2_vec_out.back().optimalEnd + param.segLength < l2_out.optimalStart) @@ -1434,7 +1434,7 @@ namespace skch if (in_candidate) { // Save and reset l2_out.meanOptimalPos = (l2_out.optimalStart + l2_out.optimalEnd) / 2; - l2_out.seqId = std::prev(windowIt)->seqId; + //l2_out.seqId = std::prev(windowIt)->seqId; l2_out.strand = slideMap.strand_votes >= 0 ? strnd::FWD : strnd::REV; if (l2_vec_out.empty() || l2_vec_out.back().optimalEnd + param.segLength < l2_out.optimalStart)