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

Can't install via conda on Apple Silicon macOS #1206

Closed koh2ng0 closed 2 months ago

koh2ng0 commented 1 year ago

Hi, I tried to install pysam in macOS vi conda, such as conda install -c bioconda pysam. But, It couldn't work with the below error.

Screenshot 2023-07-26 at 21 03 39

How can I install pysam in macOS via conda? My conda information is this.

Screenshot 2023-07-26 at 21 04 37

Thanks.

jmarshall commented 1 year ago

Bioconda does not yet make Apple Silicon builds, which is a bioconda issue that has nothing to do with pysam. See bioconda/bioconda-utils#706.

The pysam project provides wheels for Apple Silicon, so you can install easily via pip instead.

jmarshall commented 2 months ago

As of today, bioconda supports Apple silicon and pysam has been built for this platform. See https://github.com/bioconda/bioconda-recipes/issues/33333#issuecomment-2221176852.