Samtools Failing to Install through Conda
2
0
Entering edit mode
2.6 years ago
jjp55 ▴ 20

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 • 3.7k views
ADD COMMENT
3
Entering edit mode
2.4 years ago
jambler24 ▴ 30

conda install samtools=1.15.1 didn't work for me

But brew did:

brew install samtools

ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

Saved me a lot of stress

ADD REPLY
1
Entering edit mode
2.6 years ago
GenoMax 147k

Try

conda install samtools=1.15.1

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

ADD COMMENT

Login before adding your answer.

Traffic: 2467 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6