E. coli Genome Contains 1.9 to 2.0 Bits Per Base

Daniel Okafor, Strategy analyst (AI-assisted) · · updated

Understanding the amount of information contained in a genome can reshape how we perceive genetic data. Recent measurements of the Escherichia coli K-12 genome show that it contains around 1.9 to 2.0 bits of information per base [1]. This insight challenges traditional notions of genetic information and highlights the limitations of data compression techniques typically used for genomic sequences.

The Genome and Its Structure

The E. coli K-12 MG1655 strain has a circular chromosome comprising approximately 4,641,652 bases [1]. Its nucleotide composition is fairly balanced, consisting of roughly 24.6% adenine (A), 25.4% cytosine (C), 25.4% guanine (G), and 24.6% thymine (T), resulting in a GC content of about 50.8% [1]. This balance is crucial because it influences the genome's entropy, or unpredictability, which we measure using Shannon's entropy.

Finding 1: Measuring Entropy

Shannon's entropy quantifies the average amount of information produced by a stochastic source of data. For the four-letter alphabet of DNA, using the observed frequencies of the nucleotides, the entropy is calculated at approximately 1.9998 bits per base [1]. This figure is nearly at the maximum of 2 bits, which suggests that each base carries almost as much information as a fair four-sided die would produce [1].

Packing and Compression

When we pack each base into 2 bits, the total storage requirement for the E. coli genome is about 1.16 megabytes (MB) [1]. In contrast, the uncompressed FASTA text file, which stores each base as a full byte, occupies about 4.64 MB [1]. This highlights how packing the data effectively reduces the storage space needed [1].

Contextual Information in Genomes

The genome's information content can be evaluated through conditional entropy, which quantifies how much uncertainty about the next base is reduced by knowing the previous bases. This is more than just a measure of probability dependence; it reflects the relationship between bases and their context, leading to a better understanding of sequence predictability.

Finding 2: Conditional Entropy Calculations

To explore this, we calculated conditional entropy across various context lengths (k). The results showcase the influence of previous bases on predicting the next base:

Context Length (k)Conditional Entropy (bits per base)
01.9998
11.9814
21.9632
31.9507
41.9429
61.9296
81.8888
101.4304 (not trustworthy)
120.3558 (not trustworthy)

At a context length of k=8, the reduction in conditional entropy reaches approximately 1.89 bits per base, indicating a modest decrease in information content compared to the theoretical maximum of 2 bits [1]. However, at k=10 and k=12, the values drop sharply, primarily due to undersampling: many contexts are observed infrequently, which skews the estimates of predictability [1].

Understanding the Results

The key takeaway is that while prior bases can enhance predictability, the benefits diminish significantly after a certain context length. This pattern illustrates the limits of leveraging additional context for compression or prediction, reminding us that, like many complex systems, genomes exhibit intricate behaviors that can be obscured by oversimplified models.

Compression Techniques and Genome Information

Significant efforts have been made to compress genomic data, but the results can be surprising. Standard compression algorithms often struggle to exceed the theoretical limits set by the genome's information content.

Finding 3: Compression Results

Our own measurements of various compression tools on the E. coli genome yield the following performance data [1]:

CompressorBits per Base (E. coli) [1]Bits per Base (Shuffled Letters) [1]
zlib, level 92.2412Not run
bzip2, level 92.15792.1874
xz / LZMA, preset 9 extreme2.04462.1533

These results indicate that even the best general-purpose compressors do not achieve the theoretical limit of 2 bits per base. This suggests that genomic sequences are nearly indistinguishable from random data for these algorithms. The shuffled control, which maintains the same letter counts but randomizes their order, incurs only a slight increase in bits per base cost compared to the real genome [1].

The Human Genome's Information Content

When considering the human genome, which contains about 3.1 billion bases, the implications of these findings become even more pronounced.

Finding 4: Human Genome Analysis

Assuming a similar information density of around 2 bits per base, the human genome would require approximately 775 MB for storage. By contrast, using the xz compression rate of 2.0446 bits per base, this figure rises slightly to about 792 MB [1].

The individual differences in the human genome, as highlighted by the 1000 Genomes Project, show that a typical genome differs from the reference genome at about 4.1 to 5.0 million sites [1]. Recording each difference costs roughly 33.5 bits, leading to a total of about 17 to 21 MB for an individual's genomic data [1]. This stark difference illustrates how genomic data can be efficiently represented. To put it into perspective, think of the entire human genome as the size of a CD-ROM or a two-hour HD film, while the personal genomic differences can fit neatly into a small digital file, akin to a high-quality MP3 song. This distinction underscores the efficiency of genomic data representation and emphasizes the importance of understanding both the total size and the individual variations within genomic data.

The Biological vs. Engineering Perspective on Information

The key point is that Shannon entropy measures how surprising the letters are to a statistical model. It does not reflect what those letters mean biologically. A random string and a genome of the same length can have nearly identical entropy, yet only one of them can develop into a living organism. This stark difference illustrates the need to differentiate between "information" in engineering terms and the biological significance of genetic sequences.

Questions Readers Ask

How is genomic data typically compressed?

Genomic data is often compressed using specialized algorithms that take advantage of the structure and redundancy in nucleotide sequences. Standard compression tools like zlib and bzip2 can be used, but their efficiency is limited compared to specialized DNA compressors.

Why does conditional entropy drop sharply at higher context lengths?

The sharp drop in conditional entropy at higher context lengths is mainly due to undersampling. Many potential contexts do not appear frequently enough in the genome, leading to misleading estimates of predictability.

What is the significance of measuring information content in genomes?

Measuring the information content helps to understand the complexity and redundancy of genetic sequences. This insight is crucial for developing efficient storage methods and for interpreting genetic data in a biological context.

  • Review compression algorithms used for genomic data in your projects;
  • Experiment with specialized DNA compressors for better efficiency;
  • Analyze the nucleotide composition of a genomic sequence in your research;
  • Explore how context impacts predictability in your data sets;
  • Investigate the differences between biological and engineering definitions of information in genomics.

Sources

  1. Our own data, 1 Nov 2026: E. coli K-12 MG1655 genome: entropy, conditional entropy and compression, measured

More articles