- BLAST (Basic Local Alignment Search Tool) is a widely used bioinformatics program for identifying similarities between biological sequences. It compares a query sequence against a database and identifies regions of local similarity that may indicate evolutionary relationships, conserved biological functions, or shared sequence features. BLAST is particularly important in gene identification, genome annotation, protein characterization, comparative genomics, transcriptome analysis, metagenomics, and evolutionary research.
- The five major BLAST programs are BLASTN, BLASTP, BLASTX, TBLASTN, and TBLASTX. They differ mainly in the type of query sequence they accept, the type of database they search, and whether nucleotide sequences are translated into proteins before comparison. Understanding these differences is essential for selecting the appropriate program for a particular biological question.
- BLASTN compares a nucleotide query against a nucleotide database. BLASTP compares a protein query against a protein database. BLASTX translates a nucleotide query into protein sequences in six possible reading frames and searches a protein database. TBLASTN compares a protein query against a nucleotide database that is translated in six reading frames. TBLASTX translates both the nucleotide query and nucleotide database sequences into proteins before performing comparisons.
- BLASTN (Basic Local Alignment Search Tool for Nucleotide Sequences) is used to compare a DNA or RNA query sequence against a nucleotide sequence database. It identifies regions of nucleotide similarity and is commonly used to locate related genes, identify organisms, compare genomic regions, verify nucleotide sequences, and investigate conserved DNA or RNA sequences.
- BLASTN is particularly useful when the query and target sequences are expected to have sufficient nucleotide-level similarity. For example, a researcher who has sequenced a gene from an unknown bacterial isolate can compare the sequence against a nucleotide database to identify closely related sequences and obtain preliminary information about the organism. Similarly, a newly sequenced genomic region can be searched against reference genome collections to identify potentially related genes or genomic regions.
- BLASTN uses nucleotide alignment scoring based on matches, mismatches, and gaps. Search parameters can be adjusted according to the expected degree of sequence similarity. MegaBLAST is optimized for highly similar nucleotide sequences and is useful for rapid comparisons involving closely related sequences. Discontiguous MegaBLAST uses non-contiguous seed patterns to improve sensitivity for more divergent nucleotide sequences. Traditional BLASTN settings can be useful for more general nucleotide comparisons.
- A typical BLASTN search can be performed using the NCBI web interface or the command-line BLAST+ program. A nucleotide query in FASTA format may look like this:
>query_dna
ATGCGTACGTTAGCTAGCTAGGCTAACGTTAGC
The following command searches the query against a nucleotide database:
blastn \
-query query_dna.fasta \
-db nt \
-out blastn_results.tsv \
-outfmt 6 \
-evalue 1e-5
- Here, -query specifies the input sequence, -db identifies the nucleotide database, -out specifies the output file, -outfmt 6 requests tabular output, and -evalue specifies the reporting threshold. The nt database name is commonly used for the NCBI nucleotide collection when it is available through the relevant service or local installation.
- BLASTN is useful for nucleotide sequence identification, but its sensitivity can decrease when sequences are evolutionarily distant. In such cases, protein-level comparisons may reveal relationships that are difficult to detect directly at the nucleotide level. BLASTN results should also be interpreted carefully when sequences contain repetitive regions, low-complexity segments, or highly conserved motifs that may occur in unrelated genomic contexts.
- BLASTP (Basic Local Alignment Search Tool for Protein Sequences) compares a protein query against a protein sequence database. It is one of the most frequently used methods for identifying related proteins, predicting possible protein functions, discovering conserved protein families, and investigating evolutionary relationships.
- Protein sequences are often particularly informative for detecting distant evolutionary relationships. Although nucleotide sequences may accumulate many synonymous substitutions, the encoded amino acid sequence can retain conserved properties because some nucleotide changes do not alter the amino acid. In addition, amino acid substitutions with similar chemical properties may preserve important structural and functional features. BLASTP accounts for these differences through protein substitution matrices such as BLOSUM and PAM.
- BLOSUM62 is a commonly used substitution matrix for general protein similarity searching. It assigns scores to amino acid substitutions according to observed evolutionary patterns. Conservative substitutions may receive more favorable scores than chemically dissimilar substitutions. The choice of matrix can influence search sensitivity and should reflect the expected evolutionary distance between the query and target proteins.
- BLASTP is commonly used to identify homologous proteins, assign preliminary functional annotations, identify conserved domains, investigate enzyme families, and compare proteins from different organisms. For example, a newly predicted protein from a bacterial genome can be searched against a protein database to identify similar proteins with known functions.
- A protein query can be represented in FASTA format as follows:
>query_protein
MKWVTFISLLFLFSSAYS
A BLASTP search can be performed using:
blastp \
-query query_protein.fasta \
-db nr \
-out blastp_results.tsv \
-outfmt 6 \
-evalue 1e-5
- The nr database refers to the NCBI non-redundant protein collection when available through the relevant service or local installation. Other protein databases, including curated or specialized collections, may be more appropriate depending on the research objective.
- BLASTP is especially useful when the query is already available as a protein sequence. However, it cannot directly search a nucleotide query unless that sequence is first translated. The accuracy of the result also depends on the quality of database annotations. A strong match to a protein with an incorrect or overly broad functional annotation can lead to an unreliable prediction.
- BLASTX (Translated Query BLAST) compares a nucleotide query against a protein database after translating the nucleotide sequence into possible protein sequences in all six reading frames. The six reading frames arise from three possible reading frames on the forward strand and three on the reverse-complement strand.
- BLASTX is useful when a researcher has a DNA or RNA sequence that may contain a protein-coding region but does not know its correct reading frame, coding orientation, or translated protein sequence. Instead of comparing the nucleotide sequence directly with other nucleotide sequences, BLASTX translates the query computationally and searches for similarities at the protein level.
- For example, a newly sequenced transcript may contain an unknown coding region. A direct nucleotide search may fail to identify a distant relationship because nucleotide sequences have accumulated substitutions over evolutionary time. BLASTX may detect the relationship by comparing the translated amino acid sequence against known proteins. This is particularly useful for identifying possible coding regions in expressed sequence tags, transcriptome sequences, genomic fragments, and unannotated nucleotide records.
- BLASTX does not require the user to determine the correct reading frame in advance. The program evaluates the possible translations and reports significant protein-level matches. However, the quality of the search depends on whether the nucleotide query contains a genuine protein-coding region. Noncoding sequences may produce no meaningful protein matches or may generate misleading short alignments.
- A nucleotide query can be submitted directly to BLASTX in FASTA format:
>query_transcript
ATGGCTGACATCGTTGACTACGGTGCTGAA
A typical command-line search is:
blastx \
-query query_transcript.fasta \
-db nr \
-out blastx_results.tsv \
-outfmt 6 \
-evalue 1e-5
- BLASTX is particularly valuable in transcriptome analysis and gene discovery because it helps connect nucleotide sequences with known protein information. Nevertheless, a similarity match does not by itself establish that the complete nucleotide sequence encodes a functional protein. Further examination of open reading frames, gene structure, conserved domains, expression evidence, and other biological information may be necessary.
- TBLASTN (Translated BLAST Nucleotide Database) compares a protein query against a nucleotide database that is translated into possible protein sequences in all six reading frames. Unlike BLASTX, which translates the query, TBLASTN translates the database sequences while keeping the query as a protein.
- This program is useful when a researcher has a known protein sequence but wants to identify related coding regions in genomic, transcriptomic, or other nucleotide databases. For example, a protein identified in one species can be searched against the genome of another species to locate a possible homologous gene, even when the corresponding protein has not yet been predicted or annotated.
- TBLASTN is particularly useful for detecting unannotated genes and investigating possible coding regions in newly sequenced genomes. It can also help identify related genes in organisms for which protein reference databases are incomplete. Because the nucleotide database is translated in six reading frames, TBLASTN can detect protein-level similarities without requiring prior knowledge of the coding strand or reading frame of the target sequence.
- A protein query in FASTA format can be used as follows:
>known_protein
MKWVTFISLLFLFSSAYS
A typical TBLASTN search is:
tblastn \
-query known_protein.fasta \
-db nt \
-out tblastn_results.tsv \
-outfmt 6 \
-evalue 1e-5
- The results may indicate regions of the nucleotide database that encode proteins similar to the query. However, a translated alignment is not equivalent to a fully annotated gene. Additional analyses may be needed to identify start and stop codons, exon–intron organization, coding boundaries, transcript evidence, and the biological significance of the predicted gene.
- TBLASTX (Translated Query and Translated Database BLAST) compares nucleotide sequences at the protein level by translating both the query and database sequences in all six reading frames. It therefore examines possible protein-level relationships between two nucleotide datasets.
- TBLASTX is useful when both the query and target are nucleotide sequences, but direct nucleotide comparisons may fail to identify distant coding-region similarities. Translating both sequences into possible protein products allows the search to detect conserved amino acid patterns despite substantial nucleotide-level divergence. This can be particularly valuable in comparative genomics, transcriptome comparisons, evolutionary research, and the investigation of coding regions from organisms with limited annotation.
- For example, a researcher may have a transcript sequence from one organism and want to compare it with genomic or transcriptomic sequences from another organism. If the sequences encode related proteins but have accumulated substantial synonymous nucleotide substitutions, TBLASTX may identify similarities that are not readily detected by BLASTN.
- A nucleotide query can be submitted in FASTA format:
>query_sequence
ATGGCTGACATCGTTGACTACGGTGCTGAA
A typical TBLASTX command is:
tblastx \
-query query_sequence.fasta \
-db nucleotide_db \
-out tblastx_results.tsv \
-outfmt 6 \
-evalue 1e-5
- TBLASTX is computationally demanding because both the query and database sequences are translated in six reading frames. It can therefore require substantially more computational time and resources than direct nucleotide or protein comparisons. It is most useful when detecting possible coding-region relationships between nucleotide datasets is more important than search speed.
- The five major BLAST programs can be compared according to their query and database types:
| BLAST program | Query | Database | Translation performed | Main application |
| BLASTN | Nucleotide | Nucleotide | None | Finding similar DNA or RNA sequences |
| BLASTP | Protein | Protein | None | Identifying related proteins |
| BLASTX | Nucleotide | Protein | Query translated in six frames | Finding protein similarities using nucleotide queries |
| TBLASTN | Protein | Nucleotide | Database translated in six frames | Finding possible coding regions related to a protein |
| TBLASTX | Nucleotide | Nucleotide | Query and database translated in six frames | Comparing possible coding regions at the protein level |
- The choice of BLAST program should be based primarily on the type of query sequence, the type of database, and the biological question. BLASTN is appropriate when both the query and database contain nucleotide sequences and nucleotide-level similarity is expected. BLASTP is suitable when both are protein sequences. BLASTX is useful when a nucleotide query must be compared with known proteins, while TBLASTN is appropriate when a protein query must be searched against nucleotide sequences that may contain related coding regions. TBLASTX is useful when both datasets are nucleotide sequences but protein-level comparison is preferred.
- The choice also depends on the expected evolutionary distance. When comparing closely related nucleotide sequences, BLASTN may provide an efficient and informative search. When comparing more distantly related coding sequences, translated approaches such as BLASTX, TBLASTN, or TBLASTX may detect relationships that are difficult to identify through direct nucleotide comparisons. Protein searches can preserve evolutionary signals because amino acid sequences often retain functional and structural conservation after nucleotide sequences have diverged.
- BLAST results from all five programs should be interpreted using several complementary measures. Percentage identity indicates the proportion of exactly matching residues in an alignment. Alignment length describes the number of aligned positions, while query coverage indicates how much of the query sequence is represented in the alignment. The E-value estimates the expected number of alignments with an equal or higher score that could occur by chance in a database search of the specified size. The bit score provides a normalized measure of alignment strength. A low E-value and high bit score generally indicate a statistically strong alignment, but biological interpretation also requires examining coverage, sequence annotation, domain architecture, and the context of the match.
- An important limitation of translated BLAST programs is that they do not automatically establish complete gene structures or correct protein products. Translated nucleotide sequences may contain partial coding regions, sequencing errors, introns, alternative reading frames, or noncoding segments. In eukaryotic genomes, a genomic region may contain introns that interrupt the coding sequence, so a simple six-frame translation may not reconstruct the mature protein correctly. Splice-aware gene prediction and transcript evidence may be required to identify the correct coding structure.
- Another limitation is that sequence similarity does not automatically establish identical biological functions. Homologous proteins may have evolved different functions, and different proteins may share conserved domains or motifs. BLAST matches should therefore be evaluated alongside conserved domain analysis, protein family classification, phylogenetic analysis, gene context, and experimental evidence when functional conclusions are important.
- For reproducible analysis, researchers should record the BLAST program and version, query sequence or accession, database name and release or retrieval date, E-value threshold, substitution matrix, gap penalties, filtering settings, and output format. For local database searches, the database preparation procedure and software environment should also be documented. These details are necessary because database records and software implementations can change over time, potentially affecting search results.
- BLASTN, BLASTP, BLASTX, TBLASTN, and TBLASTX provide complementary approaches to nucleotide and protein sequence comparison. Their main difference is whether the query, database, or both are translated before alignment. Selecting the appropriate variant improves the likelihood of identifying biologically meaningful relationships and reduces unnecessary computational work. Together, these programs form an essential toolkit for sequence identification, gene discovery, protein characterization, genome annotation, and comparative biological research.