Skip to content

Commit

Permalink
Don't reset seqid
Browse files Browse the repository at this point in the history
  • Loading branch information
bkille committed Oct 10, 2024
1 parent 5d3071b commit 44ab7cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/include/computeMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 44ab7cf

Please sign in to comment.