Blast2GO Blog


Run Blast+ Locally with Blast2GO PRO - Step by Step

Blast2GO allows running Blast locally. The blast algorithm will run on the user's computer against a database that is installed locally.
In order to do so, we have to either download a pre-formatted NCBI database or format our own database (see this tutorial until step 3).
Pre-formatted databases can be downloaded directly from the NCBI ftp or via a Perl script provided by the NCBI.
Please follow the steps below to proceed with the download using the Perl script. 
This tutorial will also provide information on how to create an nr subset database to run local Blast against it.

  1. Download the Blast+ executables ( from NCBI and extract it.

  2. The above-mentioned Perl script is located in the bin folder of the Blast+ executables and it can be used to download the desired pre-formatted database, e.g. nr.
    To run the script, Perl has to be installed on the computer.
    perl nr

  3. Once all .tar.gz files have been downloaded, they need to to be extracted. It is possible to do so in one go with a Linux command.
    for file in *.tar.gz; do tar -xvzf $file; done

  4. The next 3 steps is to create the nr subset. If not interested continue to step 8.

  5. Search the Entrez Protein database and query for a taxonomic identifier e.g. "txid7742[ORGN]"

  6. Select "Send to File", choose Format "GI list" and Create File

  7. Go to the folder where the uncompressed nr pre-formatted database is and run the following command.
    /path/to/blast/binaries>/blastdb_aliastool -gilist <gi_list_file> -db nr -out <out_db_name_of_your_choice>

  8. That is all. You can now select the database file in the local blast dialog in Blast2GO PRO.
    Select the .pal file, if not present, change to "All Files" and select one of the extracted files.
    In this example, we choose the pdbaa.pal file.

    choose database



Join our Blast2GO Google Group