Easy steps to install samtools package on Mac
Package Information:
Application Name – samtools
What is samtools – Not Available for samtools
Use of samtools – Tools for manipulating next-generation sequencing data
URL – https://www.htslib.org/
Installation Steps:
- Open Terminal using Spotlight search by pressing  
<command+space>. Type terminal and hitEnterkey. - Now, run following command to install homebrew (brew)
 - Install samtools using brew
brew install samtools
 

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

samtools is ready to use now!