BLAST Tutorial for Beginners: Step-by-Step Sequence Alignment, E-Value & Bit-Score Guide

Last updated: 26 November 2026

Direct Answer: NCBI BLAST (Basic Local Alignment Search Tool) identifies homologous DNA, RNA, or protein sequences by finding short local high-scoring segment pairs and extending them into gapped alignments. Beginners choose among five core tools—BLASTn, BLASTp, BLASTx, tBLASTn, and tBLASTx—and evaluate matches using four metrics: E-value (statistical chance of a random hit, ideally < 10−5), Bit-score (database-independent alignment quality), Query Cover, and Percent Identity.

NCBI BLAST graphical summary and sequence alignment output showing color-coded alignment score bars across a query sequence
Example NCBI BLAST graphical alignment summary showing color-coded high-scoring hits mapped along a query sequence. Image: NCBI BLAST (Wikimedia Commons, Public Domain).

What Is NCBI BLAST and How Do BLASTn, BLASTp, BLASTx, tBLASTn, and tBLASTx Differ?

First introduced by Altschul and colleagues in 1990 and upgraded to gapped alignments in 1997, BLAST is a heuristic local alignment algorithm that trades exhaustive dynamic programming (Smith–Waterman) speed bottlenecks for near-instant database scanning. Instead of aligning full-length sequences end to end, BLAST seeds short matching words (e.g., 11 nucleotides in standard BLASTn, 28 nucleotides in Megablast, or 3 amino acids in BLASTp) and extends high-scoring segment pairs (HSPs) only where statistical significance can be achieved.

Choosing the wrong BLAST suite is the single most frequent beginner error. Your decision depends strictly on two inputs: what sequence type you are submitting (Query) and what database you are searching against (Subject).

BLAST Program Query Type Database Type Six-Frame Translation? Best Biological Use Case
BLASTn Nucleotide (DNA/RNA) Nucleotide (core_nt, RefSeq RNA) No Species identification (16S/ITS), checking PCR primers, Sanger contig verification
BLASTp Protein (amino acid) Protein (nr, ClusteredNR, Swiss-Prot) No Detecting distant evolutionary homologs, conserved catalytic domains, functional annotation
BLASTx Nucleotide (translated) Protein Yes (Query → 6 frames) Annotating newly sequenced transcripts, uncharacterized ORFs, or frameshift-prone reads
tBLASTn Protein Nucleotide (translated) Yes (Database → 6 frames) Finding unannotated genes or pseudogenes in raw genome assemblies and ESTs
tBLASTx Nucleotide (translated) Nucleotide (translated) Yes (Both → 36 frame pairs) Cross-species distant coding-sequence comparison when no annotated protein exists (slowest)
NCBI BLAST Program Selection & E-Value Decision Map DNA / RNA Query Protein Query vs. Nucleotide DB → BLASTn vs. Protein DB → BLASTx vs. Protein DB → BLASTp vs. Nucleotide DB → tBLASTn E-Value Confidence Zones E ≤ 1e-50: Very High Homology 1e-50 to 1e-5: Likely Homolog E > 0.05: Noise / Verify Domain Note: Use Bit-score (S') to compare hits across databases of different sizes (S' is independent of DB length).
Visual workflow for selecting the correct NCBI BLAST tool from query/database type and interpreting E-value thresholds.

How Do You Run a Sequence Alignment on NCBI BLAST Step by Step?

Follow this six-step laboratory and classroom workflow on the official NCBI BLAST Web Portal:

  1. Prepare Your Query in Clean FASTA Format: Start with a single-line header beginning with > (e.g., >Human_TMPRSS6_exon10), followed on the next line by raw nucleotide (A, T, G, C) or amino acid letters without spaces, numbers, or chromatogram quality scores. You can also paste a RefSeq accession (e.g., NM_153609.3 or NP_705837.2) directly.
  2. Choose the Right Database: For nucleotide searches (BLASTn), NCBI’s default Core nucleotide database (core_nt) provides rapid organism identification, whereas Reference RNA sequences (refseq_rna) reduces uncurated genomic noise when verifying cDNA/qPCR amplicons. For protein searches (BLASTp), choose ClusteredNR for faster, taxonomically balanced hits (representative clusters at 90% identity) or Swiss-Prot when you require experimentally curated protein annotations.
  3. Apply Organism or Exclusion Filters Before Clicking BLAST: Under Choose Search Set, type a species or taxon (e.g., Homo sapiens (taxid:9606) or Bacteria (taxid:2)) to avoid flooding your top 100 hits with redundant strains. Check Exclude Models (XM/XP) or Uncultured/environmental sample sequences if you only want experimentally supported entries.
  4. Select the Algorithm Variant: In BLASTn, Megablast (default, word size 28) is built for ≥95% identity intra-species matches; switch to Discontiguous Megablast for cross-species DNA comparison, or blastn (word size 11) / blastn-short for oligonucleotides and PCR primers (<30 bp).
  5. Check Algorithm Parameters (Optional): Under Algorithm parameters, adjust Max target sequences (default 100) or Expect threshold (default 0.05). Keep Low complexity regions masked during initial functional searches, but uncheck it if searching repetitive motifs or short primers.
  6. Inspect the Four Result Tabs: After submission, review Descriptions (sorted by E-value or Percent Identity), Graphic Summary (color-coded alignment span ≥200 red down to <40 black), Alignments (exact mismatches, gaps, and frames), and Taxonomy (species distribution).

How Do You Interpret E-Value, Bit-Score, Query Cover, and Percent Identity?

Students frequently confuse Percent Identity with evolutionary homology. A 12-nucleotide match with 100% identity occurs purely by chance millions of times across GenBank, whereas a 300-amino-acid enzyme domain at 38% identity can represent genuine, ancient homology. Always evaluate all four core BLAST statistics together:

Metric Mathematical / Biological Meaning Practical Interpretation Rule
E-Value (Expect Value) Expected number of random hits with an equal or better score in a database of size N: E = m × n × 2−S′ Lower is better. E = 0.0 (< 10−180) = virtually identical; < 10−5 (protein) or < 10−10 (DNA) = reliable homology.
Bit-Score (S′) Normalized raw score S′ = (λS − ln K) / ln 2 incorporating BLOSUM62/PAM250 matrix and gap penalties Higher is better. Independent of database size; ≥50 bits indicates meaningful similarity, ≥200 bits (red bar) is strong.
Query Cover Percentage of your submitted query length aligned to the database hit Distinguishes full-length orthologs (≥80% cover) from proteins sharing only a single small domain (e.g., 15% cover).
Percent Identity & Positives Exact residue matches across aligned columns; Positives include conservative amino-acid substitutions >98% DNA identity across ≥95% query cover confirms species/strain match; >30% protein identity over full domain suggests homology.

Because E-value scales linearly with database size (n), the exact same alignment earns a larger (worse) E-value as GenBank grows each year, whereas its Bit-score remains identical across searches of different databases—provided the scoring matrix and gap costs are unchanged.

What Common BLAST Mistakes Do Students Make (Primers, Masking & Paralogs)?

  • Submitting 18–25 bp PCR Primers to Default Megablast: Megablast requires a 28-bp exact seed word by default and will report "No significant similarity found" for standard 20-bp primers. Always use Primer-BLAST or switch BLASTn to blastn-short (word size 7, expect threshold 1000).
  • Ignoring Query Cover on Multidomain Proteins: A hit with 99% identity and E = 1e-40 over only 18% Query Cover often reflects a shared kinase or transmembrane domain rather than the same gene.
  • Confusing Paralogs with Orthologs: Top BLAST hits within a gene family (such as serine proteases or cytochrome P450 isoforms) can match a paralog if the true ortholog is missing or unannotated. Verify synteny, reciprocal best BLAST hits (RBH), and phylogenetic clustering before naming a gene.
  • Leaving Unmasked Vector or Adapter Contamination: Sequencing reads containing cloning vector backbones (e.g., pUC19) or Illumina adapters will return spurious 100% vector matches—run VecScreen or trim adapters first.

Frequently Asked Questions (FAQs)

1. What is a good E-value in BLAST?

For protein searches (BLASTp/BLASTx), an E-value below 1 × 10−5 is widely used as a baseline threshold for potential homology, while values below 1 × 10−50 indicate very high confidence. For nucleotide searches (BLASTn), aim for E ≤ 1 × 10−10 alongside high Query Cover (≥80%).

2. Why does NCBI BLAST show E = 0.0?

NCBI BLAST rounds any calculated E-value smaller than approximately 1 × 10−180 down to 0.0 due to double-precision floating-point underflow. When several hits all display 0.0, rank them by Bit-score (Max Score / Total Score) instead.

3. Why are lowercase grey letters appearing in my BLAST alignment?

Lowercase grey residues indicate low-complexity or repeat-masked sequence filtered by DUST (nucleotides) or SEG (proteins) so repetitive stretches like poly-A tails or proline-rich linkers do not inflate random alignment scores.

4. When should I use BLASTx instead of BLASTn?

Use BLASTx when you have a raw DNA/RNA sequence (such as a novel cDNA contig or amplicon from an unsequenced species) and want to find homologous proteins. Because amino acid sequences (20-letter alphabet + BLOSUM62 matrix) tolerate synonymous third-codon-position mutations, BLASTx detects evolutionary relationships far deeper than nucleotide BLASTn.

5. What is the difference between Max Score and Total Score in BLAST?

Max Score is the highest Bit-score of a single aligned segment (HSP) between your query and a subject sequence, whereas Total Score sums the Bit-scores of all aligned segments to that same subject (useful when exons or tandem repeats align across multiple HSPs).

References

  1. Altschul SF, Gish W, Miller W, Myers EW, Lipman DJ. Basic local alignment search tool. J Mol Biol. 1990;215(3):403–410. doi:10.1016/s0022-2836(05)80360-2. PMID: 2231712.
  2. Altschul SF, Madden TL, Schäffer AA, Zhang J, Zhang Z, Miller W, Lipman DJ. Gapped BLAST and PSI-BLAST: a new generation of protein database search programs. Nucleic Acids Res. 1997;25(17):3389–3402. doi:10.1093/nar/25.17.3389. PMID: 9254694.
  3. Camacho C, Coulouris G, Avagyan V, Ma N, Papadopoulos J, Bealer K, Madden TL. BLAST+: architecture and applications. BMC Bioinformatics. 2009;10:421. doi:10.1186/1471-2105-10-421. PMID: 20003500.
  4. Boratyn GM, Camacho C, Cooper PS, Coulouris G, Fong A, Ma N, et al. BLAST: a more efficient report with usability improvements. Nucleic Acids Res. 2013;41(Web Server issue):W29–W33. doi:10.1093/nar/gkt282. PMID: 23609542.
  5. National Center for Biotechnology Information (NCBI). BLAST Help & Frequently Asked Questions. Available from: https://blast.ncbi.nlm.nih.gov/doc/blast-help/FAQ.html.

Read Next on Biochemistry & Molecular Biology

Explore more guides in our Biotech & Bioinformatics Study Hub.

About the Author — Asad Raza

Asad Raza is a BS Biotechnology graduate, IBMS member, and TMPRSS6 thesis researcher at bmb-uog.blogspot.com, publishing evidence-based tutorials on bioinformatics sequence analysis, molecular diagnostics, and graduate career pathways.

Post a Comment

0 Comments