I need to install samtools. I saw the instruction on the webpage (http://www.htslib.org/download/) but did not get it.
cd samtools-1.x # and similarly for bcftools and htslib
make
make prefix=/where/to/install install
What does make prefix=/where/to/install install
this mean? Do I need substitute "/where/to/install" with a real path and keep prefix
and install
?
If so, what is the real path for? Any help, please? Thanks!
Chenglin
If you are using a Linux system based on Debian (like Debian itself, Ubuntu, MInt, ...) then you can also install samtools with your system's package management tool. (From the command line:
apt-get install samtools
).