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

Add command-line options for ignoring local deletions #868

Merged
merged 1 commit into from
Oct 21, 2020
Merged

Add command-line options for ignoring local deletions #868

merged 1 commit into from
Oct 21, 2020

Conversation

gringer
Copy link
Contributor

@gringer gringer commented Oct 15, 2020

This adds a command-line option "-ignoreD" which will treat any Ds in the CIGAR string as being equivalent to M/X/=. In other words, coverage is calculated ignoring any local deletions.

The functionality to do this was already present in the code in BlockedIntervals.cpp; this patch simply exposes that functionality to the command line.

For reference (including example SAM files), see issue #867.

@arq5x
Copy link
Owner

arq5x commented Oct 21, 2020

Awesome, thanks for this contribution!

@arq5x arq5x merged commit 6537230 into arq5x:master Oct 21, 2020
@gringer gringer deleted the ignoreD branch March 8, 2022 22:16
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.

2 participants