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

Calculations of min-read-percent-identity and min-read-aligned-length #161

Open
Rridley7 opened this issue Mar 19, 2023 · 2 comments
Open

Comments

@Rridley7
Copy link

Rridley7 commented Mar 19, 2023

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!

@wwood
Copy link
Owner

wwood commented Mar 20, 2023 via email

@Rridley7
Copy link
Author

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 min-read-aligned-length is the difference of this alignment length - original read length / original read length?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants