Rate This Document
Findability
Accuracy
Completeness
Readability

Installing HTSlib

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Use the SFTP tool to upload the HTSlib installation package to the /path/to/AUGUSTUS directory.
  3. 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

  4. Run the following command to decompress the package:

    cd /path/to/AUGUSTUS && tar -zxf htslib-1.11.tar.gz

  5. Run the following command to rename and go to the installation directory:

    mv htslib-1.11 htslib && cd htslib

  6. 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

  7. Run the following commands to perform compilation and installation:

    make -j 16

    make install