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

CIGAR of read reverse strand #2

Closed
slazicoicr opened this issue May 31, 2019 · 2 comments
Closed

CIGAR of read reverse strand #2

slazicoicr opened this issue May 31, 2019 · 2 comments
Assignees

Comments

@slazicoicr
Copy link
Contributor

If the read is reversed by the aligner (flag 16), the CIGAR string will not match the cycle of the machine.

The iterarator needs to be reversed if flag 16 is set

for (op, length) in read.cigartuples:

@iainrb iainrb self-assigned this Jul 15, 2019
@iainrb
Copy link
Collaborator

iainrb commented Jul 15, 2019

Good catch, I'll fix this (which will hopefully eliminate some discrepancies from the CIGAR metrics).

@iainrb
Copy link
Collaborator

iainrb commented Jul 23, 2019

Should be fixed by commit 59641a6

@iainrb iainrb closed this as completed Jul 25, 2019
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