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

Erase MAPQ for alignments set to unmapped #50

Merged
merged 5 commits into from
Apr 19, 2023
Merged

Erase MAPQ for alignments set to unmapped #50

merged 5 commits into from
Apr 19, 2023

Conversation

milkschen
Copy link
Owner

As #33 and #35 pointed out, there are downstream errors (eg picard MarkDuplicates) resulting from our initial design where the MAPQ of unliftable, deferred, and suppressed reads are kept. To avoid such errors, I changed the default behavior of leviosam2 so that the resulting MAPQ is 0 if a read is assigned to unmapped during lift-over.

To keep MAPQs, users may activate the --keep_mapq flag, which will keep the original MAPQ values.

@milkschen milkschen merged commit ee46ff9 into main Apr 19, 2023
@milkschen milkschen deleted the keep_mapq branch April 19, 2023 06:43
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

Successfully merging this pull request may close these issues.

1 participant