Rate This Document
Findability
Accuracy
Completeness
Readability

Installing blast+

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Download the installation package.
    cd /path/to/blast+
    wget https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.13.0+-src.tar.gz
  3. Decompress the installation package.
    tar xvf ncbi-blast-2.13.0+-src.tar.gz
  4. Go to the directory generated after the decompression.
    cd ncbi-blast-2.13.0+-src
    export BLAST_TOP=`pwd`
  5. Download the LMDB package and decompress it.
    wget https://github.com/LMDB/lmdb/archive/refs/tags/LMDB_0.9.24.tar.gz
    tar xvf LMDB_0.9.24.tar.gz
    export LMDB_PATH=$BLAST_TOP/lmdb-LMDB_0.9.24
  6. Switch to the c++ subdirectory under blast+.
    cd $BLAST_TOP/c++
  7. Create a configuration file.
    ./configure
  8. Perform the compilation.
    cd ReleaseMT/build
    make all_r -j40
  9. Set the environment variable.
    export PATH=/path/to/blast+/ncbi-blast-2.13.0+-src/c++/ReleaseMT/bin:$PATH