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

Attempt to fix issue #59 #61

Merged
merged 4 commits into from
Jul 15, 2024
Merged

Attempt to fix issue #59 #61

merged 4 commits into from
Jul 15, 2024

Conversation

andrewdavidsmith
Copy link
Collaborator

Strategy: For BAM format reads that are reversed in the BAM file are now reverse complemented and their quality score string is reversed immediately, which should prevent issues related to strand. Initial tests show this working for both quality scores and nucleotide distributions.

…ence within a BAM record (bam1_t) and to reverse the quality scores in a record.
…on as a BAM record (bam1_t) is read, if it is marked as reversed with the bam_is_rev function declared in sam.h, the sequence is reverse complemented, the quality scores are reversed, and the record itself is marked as not reversed.
@andrewdavidsmith andrewdavidsmith merged commit 90195eb into master Jul 15, 2024
1 check passed
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.

None yet

1 participant