Installing Samtools
Procedure
- Use PuTTY to log in to the server as the root user.
- Use an SFTP tool to upload the Samtools installation package to the /path/to/SAMTOOLS directory on the server.
- Run the following command to decompress the installation package:
cd /path/to/SAMTOOLS && tar -zxf samtools-1.11.tar.gz
- Run the following command to go to the installation directory:
cd samtools-1.11
- Run the following commands to perform the configuration:
autoheader autoconf sed -i 's/\-O2/\-O3 -march=armv8.2-a -mtune=tsv110/g' `grep -lr "\-O2" ./` CC=`which gcc` ./configure --prefix=/path/to/SAMTOOLS --with-htslib=/path/to/HTSLIB
- Run the following commands to perform the compilation and installation:
make -j 16 make install
Parent topic: Configuring the Compilation Environment