Skip to content

Add experimental vcf_to_parquet function #1083

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

Closed
wants to merge 1 commit into from

Conversation

tomwhite
Copy link
Collaborator

@tomwhite tomwhite commented May 4, 2023

  • Fixes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in changelog.rst
  • New functions are listed in api.rst

Inspired by the discussion in #1059, I've written some code to export the fixed fields of a VCF file (including INFO fields) to a collection of Parquet files. The idea is that you can run filtering-style queries on this variant metadata, and use that to subset/mask the variants in a Zarr dataset. I explored this a bit in https://github.com/pystatgen/sgkit/issues/634#issuecomment-1523285115.

This is not to be merged, just posting for interest.

@tomwhite
Copy link
Collaborator Author

Closing. In https://github.com/pystatgen/sgkit/discussions/1091 we decided that for VEP use case it would be best to recommend users export to JSON and use that to construct filters on the Zarr data.

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.

1 participant