pysam-developers / pysam

Pysam is a Python package for reading, manipulating, and writing genomics data such as SAM/BAM/CRAM and VCF/BCF files. It's a lightweight wrapper of the HTSlib API, the same one that powers samtools, bcftools, and tabix.
https://pysam.readthedocs.io/en/latest/
MIT License
774 stars 274 forks source link

Failed to build pysam wheel, throws Cython error. #1239

Closed jsquaredosquared closed 11 months ago

jsquaredosquared commented 11 months ago

I am on Python 2.7.18 in WSL (Ubuntu 22.04.3 LTS).

Pip fails to build the pysam wheel, throwing a Cython error:

Cython.Compiler.Errors.CompileError: pysam/libcalignedsegment.pyx:1451:21 Invalid index type 'double'

What can I do to fix this?