-
Notifications
You must be signed in to change notification settings - Fork 32
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
How do I identify the REF from a VCF #1170
Comments
Yes, it is guaranteed. The format is documented here: https://github.com/pystatgen/vcf-zarr-spec/blob/main/vcf_zarr_spec.md, where it says:
|
Thanks. Is it worth noting that in SGkit somewhere too? By my nitpicky reading of the docs, it doesn't say that they are combine with REF first, either (just that they are "combined")? |
Very true! Are you interested in contributing a patch to fix these issues? |
I'm happy to do so. |
When I use cyvcf2, I can access a
variant.REF
value, but I can't find any obvious references to the word "REF" in the Sgkit docs, for looking at a VCF read in withvcf_to_zarr
. I assume that the first in thevariant_alleles
array is the vcf REF: is that guaranteed, and if so, can it be documented?The text was updated successfully, but these errors were encountered: