samtools / htslib

C library for high-throughput sequencing data formats
Other
809 stars 446 forks source link

Installation on mac #1540

Closed akr55 closed 1 year ago

akr55 commented 1 year ago

I have tried with homebrew, conda and base computer to install htslib, no matter what I do it shows up as htsfile in /usr/bin, but it always says no such file htslib. Is there a straightforward way to install htslib on a mac and make sure that it works?

jkbonfield commented 1 year ago

I expect you already have it installed via another route, if you keep finding htsfile in /usr/bin. That will be in your PATH before other directories probably. You'll need to modify your PATH to see another location (eg the conda install bin) as the first thing in the path in order to override any system installed packages.

jkbonfield commented 1 year ago

Closed as no reply.