SAMtools is a suite of programs for interacting with high-throughput sequencing data. SAMTools can be downloaded from http://www.htslib.org/download/
$ cd samtools-1.x # and similarly for bcftools and htslib $ ./configure --prefix=/where/to/install $ make $ make install
In your .bashrc
export PATH=/where/to/install/bin:$PATH # for sh or bash users