Rate This Document
Findability
Accuracy
Completeness
Readability

Compiling and Installing BLAST

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Run the following command to decompress and configure the BLAST path:
    tar xzf ncbi-blast-2.9.0+-src.tar.gz
    cd ncbi-blast-2.9.0+-src
    export BLAST_TOP=`pwd`
  3. Run the following command to configure the compiler:
    export CC=gcc
    export CXX=g++
  4. Use an SFTP tool to upload LMDB_0.9.24.tar.gz to the /path/to/BLAST/ncbi-blast-2.9.0+-src directory.
  5. Run the following command to decompress and configure the LMDB path:
    cd $BLAST_TOP
    tar -xvf LMDB_0.9.24.tar.gz
    cd lmdb-LMDB_0.9.24
    export LMDB_PATH=$BLAST_TOP/lmdb-LMDB_0.9.24
  6. Run the following commands to compile and install BLAST:
    cd $BLAST_TOP/c++
    ./configure
    cd ReleaseMT/build
    make all_r -j40
  7. After the installation is successful, the executable file is generated in the $BLAST_TOP/c++/ReleaseMT/bin directory. You can run the following command to view the file:
    cd $BLAST_TOP/c++/ReleaseMT/bin
    ls blastp
    blastp