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

XS score in secondary alignments #281

Open
fxjonas opened this issue Mar 16, 2020 · 0 comments
Open

XS score in secondary alignments #281

fxjonas opened this issue Mar 16, 2020 · 0 comments

Comments

@fxjonas
Copy link

fxjonas commented Mar 16, 2020

Dear Bowtie2 team,

I am trying to find the all best alignments of true multi mapping read. I hoped this would be possible by using the -k/-a option and only take those were the AS (alignment score) is the same as XS (the best other alignment scores).
But there seems to be a problem:
While the scores make sense for primary alignments, i.e. AS is higher than XS for unique alignments and equal for true multi mappers, secondary alignments always have AS equal to XS even if the primary alignment has a higher alignment score.
So I am wondering if my interpretation of XS and AS is wrong or if there might be a bug in the calculation of the XS score for the secondary alignment?

Thanks for your help,
Felix

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

1 participant