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

Known limitation: BAM PNEXT field is not always correct #9

Open
janinl opened this issue Sep 4, 2018 · 0 comments
Open

Known limitation: BAM PNEXT field is not always correct #9

janinl opened this issue Sep 4, 2018 · 0 comments

Comments

@janinl
Copy link
Contributor

janinl commented Sep 4, 2018

PNEXT becomes incorrect if some VCF insertions of deletions are present between the 2 ends of a read cluster.

We could set PNEXT to 0, a valid value showing that the information is unavailable, but we decided to stick with the incorrect value as it is still informative when browsing the BAM file manually.

See

unsigned long PNEXT = (directionIsForward?startPos2:startPos1) + globalPosShift; // TODO: This PNEXT is incorrect if there are some vcf indels between the 2 ends of the cluster

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

1 participant