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 off-by-one in CRAM range request #111

Merged
merged 1 commit into from
May 16, 2022
Merged

Fix off-by-one in CRAM range request #111

merged 1 commit into from
May 16, 2022

Conversation

cmdcolin
Copy link
Contributor

Requesting a range of a single bp at the start of the chromosome e.g. samtools view test/data/volvox-long-reads-sv.cram ctgA:1-1 returns 13 entries from samtools

This is equivalent to use getRecordsFromRange(0,0,1) but this returns empty currently. This PR fixes this

@cmdcolin
Copy link
Contributor Author

Xref GMOD/jbrowse-components#2952

@rbuels
Copy link
Contributor

rbuels commented May 16, 2022

oh good catch

@rbuels rbuels merged commit dafd115 into master May 16, 2022
@cmdcolin cmdcolin deleted the fix_off_by_one branch May 16, 2022 19:23
@rbuels rbuels mentioned this pull request May 16, 2022
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.

2 participants