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

partition_into_regions: tabix index returns illegal region with multiple contigs #1203

Open
jeromekelleher opened this issue Mar 3, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@jeromekelleher
Copy link
Collaborator

With multiple contigs, Tabix indexed VCFs sometimes return regions with an end coordinate of 0 (which is illegal). See here for a test case: https://github.com/jeromekelleher/bio2zarr/blob/880c3afee4465b4b94b921c815d436f3e4a78a46/tests/test_vcf_utils.py#L135

The fix is pretty easy (I think): https://github.com/jeromekelleher/bio2zarr/blob/880c3afee4465b4b94b921c815d436f3e4a78a46/bio2zarr/vcf_utils.py#L505

@jeromekelleher jeromekelleher added the bug Something isn't working label Mar 3, 2024
@jeromekelleher jeromekelleher added this to the 0.8.0 release milestone Mar 3, 2024
@jeromekelleher jeromekelleher modified the milestones: 0.8.0 release, 0.8.1 Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant