Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix query end position #271

Merged
merged 7 commits into from
Sep 12, 2024
Prev Previous commit
Next Next commit
fix: remove debugging statement and update query_end assignment
  • Loading branch information
ekg committed Sep 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit ddbc55414200639cce869a5c317f4a4e3638bb71
7 changes: 1 addition & 6 deletions src/common/wflign/src/wflign_patch.cpp
Original file line number Diff line number Diff line change
@@ -1397,13 +1397,8 @@ void write_merged_alignment(
target_pos = target_length;

// Adjust query_end and target_end if we used additional sequence
query_end = query_length;
query_end += tail_aln.query_length;
target_end += tail_aln.target_length;

std::cerr << "After tail patching: query_end=" << query_end
<< ", query_length=" << query_length
<< ", target_end=" << target_end
<< ", target_length=" << target_length << std::endl;
}
}