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

Sequence information not present in BAM file when mapping quality is 0 for a read #47

Open
jagadhesh89 opened this issue Aug 30, 2024 · 1 comment

Comments

@jagadhesh89
Copy link

jagadhesh89 commented Aug 30, 2024

Hi,

I was wondering if there are plans to update winnowmap to include sequence information even if mapping quality is 0 in BAM file? We noticed that when mapping quality is 0 for a read, winnowmap yanks out the sequence information in BAM file. I am attaching a screenshot as an example. It can be seen that the sequence is not present in the last column (where the red dot is).

0 mapping quality

Thank you for your help in advance!

--
Jag

@cjain7
Copy link
Contributor

cjain7 commented Sep 2, 2024

We had directly borrowed input / output formatting logic from minimap2 without any modification. I see some useful information here

lh3/minimap2#458
lh3/minimap2#526

It looks like people recommend using -Y input parameter.

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