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

Update the NM and MD tags when clipping overlapping inserts in #622

Merged
merged 1 commit into from
Aug 17, 2016

Conversation

nh13
Copy link
Collaborator

@nh13 nh13 commented Aug 8, 2016

MergeBamAlignment.

The bug comes from changing the cigar but not updating the NM and MD tags.

I modified the clipping test to check the MD and NM tags for FR reads. The MD and NM tags for the clipped versus not-clipped should be "76" vs. "56" (MD) and from "1" vs. "0" (NM). For the latter, I inserted a mismatch into the clipped bases for the clipped reads.

@yfarjoun or @ktibbett would you care to review (git blame tells me @ktibbett last touched this in 2011!)?

@nh13 nh13 added the bug label Aug 8, 2016
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 69.266% when pulling e478eb5 on nh_update_md_and_nm into 048ff02 on master.

@ktibbett ktibbett assigned bradtaylor and unassigned yfarjoun and ktibbett Aug 12, 2016
@nh13
Copy link
Collaborator Author

nh13 commented Aug 17, 2016

@bradtaylor any chance you could review this today? I am blocked by this bug.

@yfarjoun
Copy link
Contributor

Looked at this just now. LGTM. 👍

@nh13 nh13 merged commit 357a388 into master Aug 17, 2016
@nh13 nh13 deleted the nh_update_md_and_nm branch August 17, 2016 16:46
@nh13
Copy link
Collaborator Author

nh13 commented Aug 17, 2016

Thank-you @yfarjoun!

nh13 added a commit that referenced this pull request Aug 20, 2016
1. Rename SetNmAndUqTags to SetNmMDAndUqTags.
WIP
2. Fixes: #622
nh13 added a commit that referenced this pull request Aug 20, 2016
1. Rename SetNmAndUqTags to SetNmMDAndUqTags.
WIP
2. Fixes: #622
nh13 added a commit that referenced this pull request Aug 20, 2016
1. Rename SetNmAndUqTags to SetNmMDAndUqTags.
WIP
2. Fixes: #622
nh13 added a commit that referenced this pull request Aug 26, 2016
1. Rename SetNmAndUqTags to SetNmMDAndUqTags.
WIP
2. Fixes: #622
nh13 added a commit that referenced this pull request Sep 6, 2016
1. Rename SetNmAndUqTags to SetNmMDAndUqTags.
WIP
2. Fixes: #622
nh13 added a commit that referenced this pull request Sep 19, 2016
1. Rename SetNmAndUqTags to SetNmMDAndUqTags.
2. Fixes: #622
nh13 added a commit that referenced this pull request Sep 19, 2016
1. Rename SetNmAndUqTags to SetNmMDAndUqTags.
2. Fixes: #622
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants