Rate This Document
Findability
Accuracy
Completeness
Readability

Installing SAMtools

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to install dependencies:

    yum install -y ncurses ncurses-base ncurses-libs ncurses-devel

  3. Use the SFTP tool to upload the SAMtools installation package to the /path/to/AUGUSTUS directory.
  4. Run the following command to decompress the package:

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

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

    mv samtools-1.11 samtools && cd samtools

  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/samtools

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

    make -j 16

    make install