I've downloaded samfiles using conda For converting sam to bam I used the command
samtools view -S -b /Users/dhee/Desktop/SRR12304924.s > /Users/dhee/Desktop/SRR12304924.bam
In getting an error as
dyld: Library not loaded: @rpath/libcrypto.1.0.0.dylib
  Referenced from: /Users/dhee/miniconda3/bin/samtools
  Reason: image not found
zsh: abort      samtools view -S -b /Users/dhee/Desktop/SRR12304924.s 

I installed samtools using conda. I got a similar error message but the reason is different.
Reason: tried: '/Users/Chris/opt/anaconda3/bin/../lib/libcrypto.1.0.0.dylib' (no such file), '/Users/Chris/opt/anaconda3/bin/../lib/libcrypto.1.0.0.dylib' (no such file), '/usr/local/lib/libcrypto.1.0.0.dylib' (no such file), '/usr/lib/libcrypto.1.0.0.dylib' (no such file).
Hi, I have the same error while trying to use samtools. I have installed it using conda too. did you fix the error and how ? I tried conda uninstall samtools conda update --all conda install samtools But it didn't work for me.
Thanks.