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

Alignment identity? #165

Open
jzrapp opened this issue Mar 23, 2022 · 1 comment
Open

Alignment identity? #165

jzrapp opened this issue Mar 23, 2022 · 1 comment

Comments

@jzrapp
Copy link

jzrapp commented Mar 23, 2022

Hi @kbseah ,
is there a way for me to find out the alignment identity between individual reads and their closest database hit from the output files?

Thanks!
Josephine

@kbseah
Copy link
Contributor

kbseah commented Mar 31, 2022

Hello! Unfortunately we haven't implemented an easy way to do this, and the %id histogram in the output report is based on the BBmap summary output. The SAM mapping file can be parsed to give the %id. Relevant SAM tag is the NM tag, which is the total number of mismatches + indels relative to the reference. Important to note is which definition of %id you choose to work with; there is a summary of different alternatives e.g. in the Vsearch documentation, look for the iddef parameter. Hope that this helps!
-- Brandon

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