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

Fix a containment bug in cram_index_last. #1640

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

jkbonfield
Copy link
Contributor

The index is a loaded into a nested containment list, so the last entry in the index array is not necessarily the last slice, as the last slice may be entirely contained within a previous one.

Fixes #1639

The index is a loaded into a nested containment list, so the last
entry in the index array is not necessarily the last slice, as the
last slice may be entirely contained within a previous one.

Fixes samtools#1639
@daviesrob daviesrob merged commit f4a3b99 into samtools:develop Jul 7, 2023
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.

Inconsistency in samtools stats output - cram index issue?
2 participants