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