You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do want to start providing a Python API soon, and I think @benjeffery's excellent refactoring work in #339 has brought this pretty close. Here's a proposal for how we could provide a long-term stable API that allows the package to grow new (potentially optional) modules for formats, and also having support for writing things other than VCZ.
bio2zarr.vcz: All code for writing VCZ
bio2zarr.plink: All code for working with plink format, defining conversion methods to VCZ
bio2zarr.vcf: All code for working with VCF format, defining conversion methods to VCZ
bio2zarr.tskit: All code for working with tskit format, defining conversion methods to VCZ
bio2zarr.bgen...
This feels like an easy thing for users to remember, as well as giving a nice clean separation between multi-format reading and writing-to-Zarr code. It should be straighforward to have optional dependencies then, if we don't want to bundle (e.g.) plink and bgen into the default install to keep things simpler for users when dependencies misbehave.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
We do want to start providing a Python API soon, and I think @benjeffery's excellent refactoring work in #339 has brought this pretty close. Here's a proposal for how we could provide a long-term stable API that allows the package to grow new (potentially optional) modules for formats, and also having support for writing things other than VCZ.
bio2zarr.vcz
: All code for writing VCZbio2zarr.plink
: All code for working with plink format, defining conversion methods to VCZbio2zarr.vcf
: All code for working with VCF format, defining conversion methods to VCZbio2zarr.tskit
: All code for working with tskit format, defining conversion methods to VCZbio2zarr.bgen
...This feels like an easy thing for users to remember, as well as giving a nice clean separation between multi-format reading and writing-to-Zarr code. It should be straighforward to have optional dependencies then, if we don't want to bundle (e.g.) plink and bgen into the default install to keep things simpler for users when dependencies misbehave.
The text was updated successfully, but these errors were encountered: