minimap2-rs icon indicating copy to clipboard operation
minimap2-rs copied to clipboard

Alignment score

Open rob-p opened this issue 1 year ago • 0 comments

This PR adds a function map_with_name which allows resolving https://github.com/jguhlin/minimap2-rs/issues/75. Specifically, it passes the query name (which must be \0 terminated) to the map function, which allows the internal minimap2 function mm_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.

rob-p avatar Aug 25 '24 01:08 rob-p