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 

Try this and let me know if it fixes the issue:


    conda uninstall samtools
    conda update --all
    conda install samtools
