Closed simonharnqvist closed 6 months ago
I'm having the same issue with cyvcf2 - I'm pretty sure it's a problem with the packaging of the cyvcf2 binary wheels.
Note: the VCF parsing code here in sgkit will be deprecated soon in favour of using vcf2zarr which is almost ready for it's first public release
Sounds like I'll stick with scikit-allel for a while longer then - thanks @jeromekelleher for the quick response. I'll close this given impending deprecation.
Note it's just the vcf import we're going to deprecate @simonharnqvist , everything else after that will work the same. Would be great to get some input from a scikit-allel user's perspective.
Hi,
I'm trying to migrate from scikit-allel to sgkit, but I'm running into issues with the
sgkit.io.vcf
module. It looks like a cyvcf2 bug (or some C compiler config problem with my environments?), but raising the issue here first. Please let me know if there's anything else I can do to troubleshoot on my end.Installed from PyPI
When I try to import e.g.
from sgkit.io.vcf import vcf_to_zarr
or justfrom sgkit.io import vcf
, I get the following error:I installed sgkit from PyPI. Versions of key packages:
sgkit-vcf requirements are actually already installed -
pip install 'sgkit[vcf]'
has no effect.From conda-forge
I overwrote the previous env and installed with
mamba create -n sgkit sgkit
. This did not install cyvcf2, which I had to install via pip. Once installed, I got the exact same error as above. Packages:Other details
Hardware: Apple Macbook Pro M2 2022 OS: macOS Sonoma 14.5
Running through a Jupyter notebook (jupyter_core 5.7.2) in VSCode 1.89.1.