Installing SAMtools
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to install dependencies:
yum install -y ncurses ncurses-base ncurses-libs ncurses-devel
- Use the SFTP tool to upload the SAMtools installation package to the /path/to/AUGUSTUS directory.
- Run the following command to decompress the package:
cd /path/to/AUGUSTUS && tar -zxf samtools-1.11.tar.gz
- Run the following command to rename and go to the installation directory:
mv samtools-1.11 samtools && cd samtools
- Run the following commands to perform 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/AUGUSTUS/samtools
- Run the following commands to perform compilation and installation:
make -j 16
make install
Parent topic: Configuring the Compilation Environment