You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to replicate the output of minimap2 on the command line, and I'm having some difficulty determining when an alignment should be marked as supplementary. A minimal example is the following read
As you can see, the last of these is supplementary. However, when using the minimap2-rs bindings see this issue here, no supplementary alignments are produced --- though the total number of mappings and the targets are the same. Likewise, mappy doesn't have a field for supplementary alignments, but the results from mappy are as follows:
What can I do to determine which mappings minimap2, when invoked from the command line, would mark as supplementary? I'm most concerned about getting this right in minimap2-rs, where we should have access to most of the raw data structures filled in by the mm_map function.
Thanks!
Rob
The text was updated successfully, but these errors were encountered:
Ok, so I figured it out. These are "corner cases" where the tie-breaking via hashing the query name makes a difference, but the minimap2-rs wrapper (and mappy, I believe) don't accept the read/query name. I resolved this by adding a function to minimap2-rs that also accepts the query name and now the output matches minimap2 when run from the command line. Perhaps it's worthwhile having a similar ability in mappy? Anyway, I'll close this as resolved since I figured it out.
Hi,
I'm trying to replicate the output of
minimap2
on the command line, and I'm having some difficulty determining when an alignment should be marked as supplementary. A minimal example is the following readThis read, when run with
minimap2 -ax-ont -N100
and mapped against the human transcriptome produces the following records:As you can see, the last of these is supplementary. However, when using the
minimap2-rs
bindings see this issue here, no supplementary alignments are produced --- though the total number of mappings and the targets are the same. Likewise,mappy
doesn't have a field for supplementary alignments, but the results frommappy
are as follows:What can I do to determine which mappings
minimap2
, when invoked from the command line, would mark as supplementary? I'm most concerned about getting this right inminimap2-rs
, where we should have access to most of the raw data structures filled in by themm_map
function.Thanks!
Rob
The text was updated successfully, but these errors were encountered: