This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Samtools Failing to Install through Conda

Hi all,

I just got a new laptop and am trying to work on some sequencing data and need to install samtools.

On my old laptop, I was able to do this through conda using:

conda install -c bioconda samtools

However, when I go to use samtools I get this error message:

opt/anaconda3/envs/r_env/bin/../lib/libcrypto.1.0.0.dylib' (no such file)

I am running on macOS Monterey with an M1 chip. I have also installed homebrew for other packages already. I have tried to create new, clean environments, but nothing seems to be working. Any help or advice would be greatly appreciated.

samtools conda

2 answers

conda install samtools=1.15.1 didn't work for me

But brew did:

brew install samtools

Thanks for sharing the solution, brew worked for me too!

Same issue on brand new M2 chip MacBook: conda seems NOT able to find samtools; brew worked.

Why'd you add this as an answer? This should have been a comment on one of GenoMax's or jambler24's answers. I'm moving it now. Please be more careful in the future.

Saved me a lot of stress

Try

conda install samtools=1.15.1

That should get you the latest samtools. Just tested on a M1 mac.

Log in to answer this question.