Running and Verifying BLAST
Procedure
- Use PuTTY to log in to the server as the root user.
- Use an SFTP tool to upload the test case to the /path/to/CASE directory.
- Run the following commands to decompress and rename Swissprot Proteins data:
cd /path/to/CASE gzip -d swissprot.gz mv swissprot swissprot.fa
- Run the following commands to save all files to the data directory:
mkdir data mv swissprot.fa data/ mv protein_query.fasta data/
- Run the following commands to compile the test case data.
export PATH=$BLAST_TOP/c++/ReleaseMT/bin:$PATH makeblastdb -in data/swissprot.fa -dbtype prot
After the commands are executed, the following four files are generated in the data directory. You can run the ls command to view the files.
- swissprot.fa
- swissprot.fa.phr
- swissprot.fa.pin
- swissprot.fa.psq
- Run the following command to run the test:
{ time blastp -query data/protein_query.fasta -db data/swissprot.fa ; } 2>&1 |tee output_protein_alignments.txtView the real value in the last time command output in the log. The value indicates x minutes y seconds. The lower the value is, the better the performance is.
Figure 1 shows the command output.
Parent topic: BLAST 2.9.0 Porting Guide (CentOS 7.6)
