What Is the E-value in BLAST and How Is It Interpreted?

When BLAST lists matches to your sequence, the E-value beside each one is a measure of luck: how many equally good matches you’d expect to turn up by chance alone. The smaller the number, the harder it is to explain your match as coincidence. But it is a filter against noise rather than a verdict on how closely two sequences are related or what they do.1SequenceServer. How BLAST E-values are calculated and what they mean

What the E-value Number Actually Counts

BLAST gives every alignment a score built from how well each lined-up letter pairs and how many gaps are needed.1SequenceServer. How BLAST E-values are calculated and what they mean Each aligned pair of letters earns or loses points depending on how alike the two amino acids are, so identical letters add the most and very different ones subtract. Each gap you open to keep the alignment going costs points, which means a long alignment full of gaps can end with a lower score than a shorter, clean one.

The E-value (Expect value) is the number of matches with that alignment score or better you’d expect by chance when comparing random sequences.2bioRxiv. A BLAST from the past: revisiting blastp’s E-value An E-value of 1 means one match this good would be expected by chance in a database that size.3National Center for Biotechnology Information. Frequently Asked Questions The E-value shrinks exponentially as the score rises, so modest score gains push it toward zero fast.3National Center for Biotechnology Information. Frequently Asked Questions That’s why strong matches show values like 1e-50, which is 0.000…1 with fifty decimal places. The E-value is calculated from the final score alone, so two matches with the same score in the same search get the same E-value even if they look different on the page. When two hits show the same E-value, compare bit score, identity, and coverage, since equal E-values can arise from very different alignments.

It is an estimate, not a tally of times your sequence was actually found by chance.1SequenceServer. How BLAST E-values are calculated and what they mean The E-value is a statement about your search as a whole, not a property of the two sequences alone.1SequenceServer. How BLAST E-values are calculated and what they mean

3National Center for Biotechnology Information. Frequently Asked Questions

On a real results page, the list is sorted with the smallest E-value, the least likely coincidence, at the top. Scientific notation like 2e-30 means 2 times ten to the minus 30, an extremely small number. An E-value shown as 0.0 is too small to display, not literally zero. Values above 1 mean you’d expect at least one match this good by chance alone.

What E-value Counts as a Good Match

Values around 1 or above are easy to explain by luck alone. Values between roughly 0.01 and 0.05 pass the default display filter but are weak evidence, so confirm them with other checks. Values like 1e-30 or smaller are so far past luck that chance is not a realistic explanation, though that still doesn’t say how close the relationship is.

Which cutoff to use depends on your task. A stricter one like 1e-5 cuts false matches but may drop distant relatives. A looser one finds more of those relatives but admits more coincidences. Pick the cutoff before looking at results so you aren’t tempted to shift it, and report the one you used so others can judge your matches.

A significant match is usually meaningful. Sequences with statistically significant similarity almost always share similar 3D structure.7Statistical Significance in Biological Sequence Comparison. Statistical Significance in Biological Sequence Comparison Missing significance doesn’t rule out a relationship, though, because many proteins with similar structures show no significant sequence similarity at all.7Statistical Significance in Biological Sequence Comparison. Statistical Significance in Biological Sequence Comparison

If your best match has an E-value of 3, it can’t support a claim of relatedness by itself. Before giving up, try a protein search rather than a DNA search, because protein comparisons often detect older relationships. A genuinely related sequence (a homolog, meaning one that shares a common ancestor with yours) may sit behind a weak score. Report a weak result as “no significant similarity found,” not as proof that no relative exists.

Why the Same Match Can Get Different E-values

The E-value equals a constant times query length times database length times e to the minus (a scaling factor times the score).8CS 182 Spring 2022 (Brown University). BLAST and Karlin-Altschul Statistics A larger database makes the same match look weaker, because there are more chances for coincidence.4National Center for Biotechnology Information. BLAST Statistics: The Expect Value1SequenceServer. How BLAST E-values are calculated and what they mean That’s why it pays to search the smallest database that contains the sequences you care about.4National Center for Biotechnology Information. BLAST Statistics: The Expect Value

If you study a bacterium, for example, choose a database limited to bacteria or even a single organism. That shrinks the search space and lowers the E-value of a true match. Narrowing is appropriate when the sequences you care about are all in the restricted set; restrict too far and you may miss a true relative that lives outside it.

Query length matters too. A longer alignment can accumulate a higher score, and because the E-value falls exponentially with score, it can become very small. A longer query also enlarges the search space, so the benefit comes from the score gain outpacing that increase. This is why a short, perfect match can have a worse E-value than a longer imperfect one.

Nearly identical short alignments still get relatively high E-values, because short sequences are more likely to show up in a database purely by chance.3National Center for Biotechnology Information. Frequently Asked Questions For a primer or peptide, expect high E-values even for perfect matches. Judge by percent identity and coverage instead, and use BLAST settings designed for short sequences if available.

Databases keep growing, so E-values and even best matches for the same query can change as databases grow.9bioRxiv. Incremental BLAST: incremental addition of new sequence databases through e-value correction10PubMed Central. iBLAST: Incremental BLAST of new sequences via automated e-value correction Rerunning an old search later may give a larger E-value for the same hit. So only compare E-values from searches of the same database and settings, and note the database version and date when you record results.

Scoring choices matter as well. BLAST lets you pick a scoring matrix, a table of how much each letter swap is rewarded or penalized.11PubMed. On the significance of sequence alignments when using multiple scoring matrices Matrices built from real alignments of distantly related proteins find family members better than older model-based ones.12PubMed. Performance evaluation of amino acid substitution matrices But trying several matrices on the same sequences and keeping the best result isn’t accounted for in standard E-values.11PubMed. On the significance of sequence alignments when using multiple scoring matrices

What a Small E-value Does Not Tell You

A stronger E-value does not necessarily mean a closer evolutionary relationship.1SequenceServer. How BLAST E-values are calculated and what they mean Long proteins can get very significant E-values even when identity is low and function only distantly related.13PubMed Central. Quantitative assessment of relationship between sequence similarity and function similarity By contrast, proteins sharing over 70% identical letters have about a 90% or higher chance of taking part in the same biological process.13PubMed Central. Quantitative assessment of relationship between sequence similarity and function similarity So check percent identity alongside the E-value before guessing a function. To understand relationships, follow BLAST with a multiple sequence alignment and a family tree analysis.1SequenceServer. How BLAST E-values are calculated and what they mean

A common mistake is ranking hits by E-value as a list of closest relatives. The E-value ranks how unlikely each match is by chance.

Two columns are worth reading beside it. Percent identity shows how many letters match exactly. Query coverage shows how much of your sequence the match spans, and a tiny E-value over a small slice of your sequence may reflect only one shared part.

To go from a hit to a function guess, work in steps. First check that the E-value makes chance unlikely, which suggests some relationship probably exists. Next read the percent identity, because high identity over a long stretch supports shared function much better than a tiny E-value does. Then see whether the match covers the part of your sequence that does the job you care about, such as an enzyme’s active region. Finally, treat the suggested function as a hypothesis to test.

The description beside a hit was usually written for another sequence, often predicted by software rather than tested in a lab. A function label can be copied from one entry to the next, so an error can spread across many sequences. When function matters to your conclusion, look for hits labeled as experimentally characterized.

How the E-value Differs From a P-value and Bit Score

The bit score rescales the raw score so it doesn’t depend on the scoring system’s constants.14MetricGate. Karlin-Altschul E-value Calculator With it, the E-value becomes roughly query length times database length divided by 2 raised to the bit score.5metagenomics.wiki. Metagenomics – E-value & Bit-score Each extra bit halves the E-value, so a hit with a bit score 10 higher than another has an E-value roughly a thousand times smaller in the same search.

Bit scores stay the same across database sizes, which is useful for comparing searches, while E-values tell you about chance in this specific search. Papers often report both for each hit.

The E-value is not a p-value.1SequenceServer. How BLAST E-values are calculated and what they mean The p-value is the probability of a chance match this good and runs from 0 to 1, while the E-value can go from 0 to infinity.6RS Blog. Understanding E-value, bit score, and p value in BLAST Near zero the two numbers are almost identical, so the choice only matters for weaker matches. There, a p-value squeezes everything toward 1 and hides differences, while the E-value keeps growing and stays readable. E-values of 5 and 10 are easier to tell apart than p-values of 0.993 and 0.99995.6RS Blog. Understanding E-value, bit score, and p value in BLAST

When E-values Can Mislead

Low-complexity regions, stretches made of a few repeated letters, often make matches look more significant than they are.15PubMed. Correcting BLAST e-values for low-complexity segments BLAST offers filters that mask such stretches, with several built-in settings.16PubMed. Benchmarking homology detection procedures with low complexity filters Some BLAST tools also adjust scores for unusual letter makeup before recalculating alignments.17PubMed Central. Composition-based statistics and translated nucleotide searches: Improving the TBLASTN module of BLAST Even so, standard protein BLAST E-values can be sometimes too cautious and sometimes too generous.2bioRxiv. A BLAST from the past: revisiting blastp’s E-value The statistics rest on assumptions about random sequences that real protein families don’t always follow, and unusual amino acid composition, as in membrane proteins, can push an E-value either way. A value close to your cutoff is a reason to run an independent check rather than make a decision.

Filtering replaces repetitive stretches with placeholder letters, such as X in proteins, so they cannot produce a match. Use it when your sequence contains a run of the same few letters, such as a poly-glutamine tract, because those stretches inflate significance. Masking can also hide a real match in a region that is genuinely repetitive, so rerun without it if a result you expect disappears.