Algorithm Search⌘K

Definitioncore

Motif information content

Also called information content of a weight matrix.

The relative entropy of each motif column against the background, summed over columns, the height of the stacks in a sequence logo.

Definition

Let a motif of length LL be given by the letter frequencies fj(a)f_j(a) of its columns, j=1,…,Lj = 1, \ldots, L, over the alphabet {A,C,G,T}\{A, C, G, T\}, for example the frequencies of a set of nn aligned binding sites. Let q(a)>0q(a) > 0 be the frequency of letter aa in the background. Columns are numbered from 1.

The information content of column jj is the Kullback-Leibler divergence of the column from the background, in bits:

Ij=∑afj(a)log⁡2fj(a)q(a),I_j = \sum_{a} f_j(a) \log_2 \frac{f_j(a)}{q(a)},

with 0log⁡0=00 \log 0 = 0. The information content of the motif is I=∑j=1LIjI = \sum_{j=1}^{L} I_j.

For the uniform background q(a)=1/4q(a) = 1/4, Ij=2−HjI_j = 2 - H_j, where Hj=−∑afj(a)log⁡2fj(a)H_j = -\sum_a f_j(a) \log_2 f_j(a) is the Shannon entropy of the column. This is the form of Schneider, Stormo, Gold and Ehrenfeucht (1986), who call the sum over the sites RsequenceR_{\mathrm{sequence}} and subtract a small-sample correction from each column, because the entropy of nn sampled letters is biased low for small nn.

Facts.

  1. Ij≥0I_j \ge 0, with equality exactly when fj=qf_j = q. This is Gibbs' inequality: −Ij=∑afj(a)log⁡2(q(a)/fj(a))≤log⁡2∑a:fj(a)>0q(a)≤0-I_j = \sum_a f_j(a) \log_2 (q(a)/f_j(a)) \le \log_2 \sum_{a : f_j(a) > 0} q(a) \le 0 by Jensen's inequality for the concave log⁡2\log_2, and both steps are equalities only when q(a)/fj(a)q(a)/f_j(a) is constant on the support and the support carries all of qq.
  2. Ij≤log⁡2(1/min⁡aq(a))I_j \le \log_2 (1/\min_a q(a)), with equality for a column that holds only a letter of the smallest background frequency. Since log⁡2(fj(a)/q(a))≤log⁡2(1/q(a))≤log⁡2(1/min⁡q)\log_2 (f_j(a)/q(a)) \le \log_2 (1/q(a)) \le \log_2 (1/\min q) for every aa with fj(a)>0f_j(a) > 0, the average is at most the same bound. For the uniform background the bound is 2 bits per column, and I≤2LI \le 2L.
  3. Likelihood ratio. If ff is the frequency matrix of the sites t1,…,tnt_1, \ldots, t_n, then ∑i=1n∑j=1Llog⁡2fj(tij)q(tij)=nI\sum_{i=1}^{n} \sum_{j=1}^{L} \log_2 \frac{f_j(t_{ij})}{q(t_{ij})} = n I. Proof. Group the terms of the double sum by column and letter: letter aa appears cj(a)=nfj(a)c_j(a) = n f_j(a) times in column jj, so the sum is ∑j∑anfj(a)log⁡2(fj(a)/q(a))=nI\sum_j \sum_a n f_j(a) \log_2 (f_j(a)/q(a)) = n I. □\square So nInI is the log-likelihood ratio, in bits, of the sites under their own column model against the background, and the motif of largest II is the maximum likelihood motif for a fixed number of sites.
  4. Expected score. With the weights wj(a)=log⁡2(fj(a)/q(a))w_j(a) = \log_2 (f_j(a)/q(a)) of a position-specific scoring matrix, a word drawn from the motif model has expected score ∑j∑afj(a)wj(a)=I\sum_j \sum_a f_j(a) w_j(a) = I. A word drawn from the background has expected score −∑jKL(q∥fj)≤0-\sum_j \mathrm{KL}(q \Vert f_j) \le 0 when all fj(a)>0f_j(a) > 0. So II measures how far the scores of true sites lie above the scores of random words on average.

Examples and non-examples

Five sites. The sites TTC, ATC, TTC, GTC and TTC have the counts (A, C, G, T) = (1, 0, 1, 3), (0, 0, 0, 5) and (0, 5, 0, 0). With the uniform background:

column frequencies HjH_j IjI_j
1 0.2, 0, 0.2, 0.6 1.3710 0.6290
2 0, 0, 0, 1 0 2
3 0, 1, 0, 0 0 2

So I=4.6290I = 4.6290 bits. The log-likelihood ratio of the five sites is 23.1452=5×4.629023.1452 = 5 \times 4.6290 bits, as fact 3 says.

Pseudocounts. With one pseudocount per letter in each column, fj(a)=(cj(a)+1)/9f_j(a) = (c_j(a) + 1)/9, the same sites give I1=0.1634I_1 = 0.1634 and I2=I3=0.5534I_2 = I_3 = 0.5534, so I=1.2702I = 1.2702 bits. With only five sites the pseudocounts dominate. Report the pseudocounts with any information content, since the value depends on them.

A non-uniform background. Let q(C)=q(G)=0.2q(C) = q(G) = 0.2 and q(A)=q(T)=0.3q(A) = q(T) = 0.3. A column of only G has Ij=log⁡25=2.3219I_j = \log_2 5 = 2.3219 bits, more than 2, and a column of only A has Ij=log⁡2(10/3)=1.7370I_j = \log_2 (10/3) = 1.7370 bits. The formula 2−Hj2 - H_j gives 2 for both columns. So with a non-uniform background, 2−Hj2 - H_j is not the information content; it is a non-example.

Not the information of one site. II is an average over the sites. The self-information of one site, its score ∑jwj(tij)\sum_j w_j(t_{ij}), can be higher or lower than II: in the example, TTC scores log⁡2(0.6/0.25)+2+2=5.2630\log_2(0.6/0.25) + 2 + 2 = 5.2630 bits and ATC scores log⁡2(0.2/0.25)+4=3.6781\log_2(0.2/0.25) + 4 = 3.6781 bits.

RfrequencyR_{\mathrm{frequency}}. Schneider and his coauthors compare RsequenceR_{\mathrm{sequence}} with Rfrequency=log⁡2(G/γ)R_{\mathrm{frequency}} = \log_2 (G/\gamma), the information needed to pick γ\gamma sites out of GG possible positions. A genome of G=4,194,304G = 4{,}194{,}304 positions with γ=64\gamma = 64 sites gives Rfrequency=16R_{\mathrm{frequency}} = 16 bits. They found the two values close for several sets of binding sites; the definition of II does not depend on that finding.

  • Sequence logo. A sequence logo draws column jj as a stack of height IjI_j (with the small-sample correction), in which letter aa has height fj(a)Ijf_j(a) I_j.
  • Relative entropy and entropy. IjI_j is the Kullback-Leibler divergence KL(fj∥q)\mathrm{KL}(f_j \Vert q); for the uniform background it is the drop of the Shannon entropy from 2 bits.
  • Scoring matrices. The log-odds matrix wj(a)=log⁡2(fj(a)/q(a))w_j(a) = \log_2 (f_j(a)/q(a)) is the position-specific scoring matrix of the motif, and II is the mean of its scores over the motif model. The p-value of a matrix score is computed under the background instead.
  • Motif scores. The CONSENSUS program of Hertz and Stormo ranks alignments of sites by their information content, and MEME maximizes a likelihood whose motif part is nInI by fact 3. The Hamming score of motif finding counts only the letters that differ from the consensus and treats all mismatches alike.
  • Pseudocounts. Adding pseudocounts to the counts, as in Laplace smoothing, keeps every fj(a)>0f_j(a) > 0, so the log-odds weights are finite, and lowers II.

References

  1. Thomas D. Schneider, Gary D. Stormo, Larry Gold and Andrzej Ehrenfeucht, Information content of binding sites on nucleotide sequences, Journal of Molecular Biology 188(3), 1986, pp. 415 to 431, R_sequence as the sum of the information of the columns of a set of sites, R_frequency from the genome size and the number of sites, and the small-sample correction
  2. Thomas D. Schneider and R. Michael Stephens, Sequence logos, a new way to display consensus sequences, Nucleic Acids Research 18(20), 1990, pp. 6097 to 6100, the stack height of a logo as the information content of the column
  3. Gerald Z. Hertz and Gary D. Stormo, Identifying DNA and protein patterns with statistically significant alignments of multiple sequences, Bioinformatics 15, 1999, pp. 563 to 577, the information content of an alignment against a background and its use as the score of CONSENSUS

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW0 stub
  • the lead paragraph