-
Notifications
You must be signed in to change notification settings - Fork 13
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 score #80
base: alignment-score
Are you sure you want to change the base?
Alignment score #80
Conversation
Hi all, Just wondering what the status is of this PR? What needs to be done to get it over the line? I'm happy to try and help if necessary. |
Ohhhhh I know the feeling! Thanks so much for this great library/bindings. I'm about to start a project using this library so I'll probably be harassing you a bit over the next couple of weeks 😅 |
If you want to take a stab at this (#71), I’m willing to help. Since I found a work around, it’s not top priority for us right now, but it seems important for the lib in general moving forward. —Rob p.s. I too know the feeling (not moving this time, but grants and conference deadlines out the wazoo this past month!) |
This PR adds a function
map_with_name
which allows resolving #75. Specifically, it passes the query name (which must be\0
terminated) to the map function, which allows the internal minimap2 functionmm_map
to resolve ties in the chain score.Though the differences are subtle, this allows exactly replicating the behavior of command-line minimap2, in cases where this tie breaking can result in some alignments being marked supplementary, where they otherwise would not.