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 an SFTP tool to upload the HTSlib installation package to the /path/to/htslib directory on the server.
  3. Run the following command to decompress the installation package:
    cd /path/to/HTSLIB && tar -zxf htslib-1.11.tar.gz
  4. Run the following command to rename and go to the installation directory:
    mv htslib-1.11 htslib && cd htslib
  5. 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/HTSLIB
  6. Run the following commands to perform the compilation and installation:
    make -j 16
    make install