-
Notifications
You must be signed in to change notification settings - Fork 4
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
Handel or ignore non-standard dimensions #99
Comments
We could relax the logic in this case to use the size of the array dimension rather than raising an error here: vcztools/vcztools/vcf_writer.py Lines 579 to 582 in 0e18357
Would that work? This case also prompted me to look to see if there's a way of excluding fields in So the general case for excluding fields could be covered with:
(This wouldn't solve the problem in this issue as vcztools is failing.) Of course, we could add |
That would work for my specific use-case. But I imagine it could result in some monstrous VCFs in other circumstances.
It is, but one of the key advantages of Zarr over VCF is its flexibility. If |
I guess a sensible default here would be to warn if non-VCF compliant fields are present (rather than erroring) and provide an option to include these in the output in a best-effort manner? |
I'm trying vcztools on a zarr store that was not created with bio2zarr. This zarr includes an additional dimension 'nucleotides' which I would like to exclude from the output VCF but would rather nod delete. Currently
vcztools view out.zarr
results in the error:Ideally there would be an option to exclude some variables/dimensions from the output VCF.
The text was updated successfully, but these errors were encountered: