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

Filter by "CHROM" isn't working #178

Open
jeromekelleher opened this issue Apr 2, 2025 · 1 comment
Open

Filter by "CHROM" isn't working #178

jeromekelleher opened this issue Apr 2, 2025 · 1 comment
Milestone

Comments

@jeromekelleher
Copy link
Contributor

Similar to the problem with filtering on the FILTER field, we're not converting the string CHR values to the integer contig values on comparison, so are not returning the correct set of records when filtering by CHROM.

e.g., this returns no records:

python3 -m vcztools view  -i 'CHROM="20"' vcz_test_cache/sample.vcf.vcz/
@jeromekelleher jeromekelleher added the bug Something isn't working label Apr 2, 2025
@jeromekelleher jeromekelleher added this to the 0.0.2 milestone Apr 2, 2025
@jeromekelleher
Copy link
Contributor Author

Alleviated in #188 by removing support for strings

@jeromekelleher jeromekelleher removed the bug Something isn't working label Apr 4, 2025
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

1 participant