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 decompress the Samtools installation package:
    tar -xvf samtools-0.1.9.tar.bz2
  3. Run the following command to switch to the directory generated after decompression:
    cd samtools-0.1.9
  4. Run the following command to install the dependencies:
    yum install xz-devel-5.2.2-1.el7.aarch64 bzip2-devel-1.0.6-13.el7.aarch64 ncurses-devel.aarch64 -y
  5. Run the following command to perform the configuration:
    ./configure --prefix=/path/to/SAMTOOLS
  6. Run the following commands to perform the compilation:
    make
    make install
  7. Run the following command to set the Samtools environment variables:
    export PATH=/path/to/SAMTOOLS/bin:$PATH
  8. Run the following command to check whether the installation is successful:
    samtools

    If information similar to the following is displayed, the installation is successful:

    Program: samtools (Tools for alignments in the SAM format)
    Version: 0.1.9 (r183)
    
    Usage:   samtools <command> [options]