sgkit-dev / bio2zarr

Convert bioinformatics file formats to Zarr
Apache License 2.0
23 stars 5 forks source link

Use enums for VCF file and index types #261

Closed Will-Tyler closed 3 weeks ago

Will-Tyler commented 3 weeks ago

Description

This pull request introduces two enums VcfFileType and VcfIndexType that are then used to represent the types of VCF files and VCF indexes. This small pull request knocks out two TODO items found in vcf_utils.py.

Testing

No additional testing is performed. The unit tests seem to sufficiently cover the code that I changed.