-
Notifications
You must be signed in to change notification settings - Fork 30
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
Calculations of min-read-percent-identity and min-read-aligned-length #161
Comments
Hi,
Sure, it is just based on NM tags plus lengths of the read etc. The cigar string cannot be reliably used for %ID because mapping software often does not distinguish between a match and a mismatch - both are encoded as 'M'.
ben
|
I see. So if I'm understanding correctly, % identity is calculated as (length of aligned region - NM) / (length of aligned region)? Is the cigar used for this length of this aligned region, the start and end reference positions, or something else? Following this, the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I wanted to ask what methods and calculations are being used to calculate percent identity and alignment length percentage when filtering? Is this related to the NM tag, or parsing of the cigar string? Thanks!
The text was updated successfully, but these errors were encountered: