Search topics and sections

Computational biology uses mathematics, statistics, and computer programs to study living things. In 2000 the US National Institutes of Health (NIH) defined it as the development and use of data-analysis and theoretical methods, mathematical modeling, and computer simulation to study biological, behavioral, and social systems.[1] Typical work includes:[2][3]

  • comparing DNA and protein sequences
  • predicting protein structures
  • simulating cells and tissues
  • modeling the spread of disease

The field draws on biology, computational science, and mathematical and theoretical biology.

Its models range in scale from single atoms to whole populations.[2] It overlaps heavily with bioinformatics, the field that builds tools to store, organize, and analyze biological data.[1]

What the field does

Data analysis and modeling

Computational biology does two linked kinds of work. The first is finding patterns in large data sets that no single experiment can show. For example, the marks that sunlight or cigarette smoke leave on DNA are not visible in single mutations (changes in DNA), only in the overall pattern of many mutations.[4]

The second kind of work is building models. Here a model is a set of rules or equations, learned from experimental measurements, that describes how part of a living system behaves.[3] A model might describe what a stretch of DNA or protein does, which genes (stretches of DNA that carry instructions) produce a trait, or what chain of changes in a cell leads to a disease.[3]

Computational biology and bioinformatics

The two names are often used for the same work, but many scientists draw a line between them.[3] The table sets out the usual distinction.[1][3]

Bioinformatics Computational biology
Central question How to store, label, search, and compare information from biological measurements How to learn and use models of biological systems built from experimental measurements
NIH definition (2000) Tools to collect, store, organize, archive, analyze, or show biological, medical, behavioral, or health data Data-analysis and theoretical methods, mathematical modeling, and simulation to study biological, behavioral, and social systems

The NIH committee called the two fields distinct but noted significant overlap.[1]

In practice the two fields feed each other. Databases supply data to models, and model results often go back into databases.[3]

The terms are also confused because German calls computational biology "Bioinformatik".[3]

A first example: lining up sequences

DNA is written in an alphabet of four letters, the nucleotides, which are the chemical units that make up DNA. Proteins are written in an alphabet of 20 letters, the amino acids, which are the small molecules that join to make proteins.[5] Comparing two sequences means lining them up so that matching letters sit in the same column, with a dash (a gap) marking a letter that one sequence has and the other lacks.

Pairwise alignment of two DNA sequences C A T G C - T G sequence 1 sequence 2 match gap
Two DNA sequences lined up so matching letters share a column. The dash is a gap where the second sequence lacks a letter.

Biochemists were already comparing protein sequences from different species in the 1950s.[5]

Such comparisons show two things. Positions that stay the same across species hint at the parts of a protein that matter for its function. The number of differences between two species gives a measure of how far apart they are in evolution.[5]

From atoms to populations

Computational biology studies living systems at scales from atoms to populations.[2] The methods on this page work at different scales, from atom-by-atom simulation of proteins to models of infections spreading through a population.[2][6] Some models link scales, for example by placing equations for the chemistry inside each cell within a model where each cell in a tissue follows its own rules.[7]

Biological scales studied in computational biology Atoms Molecules Cells Tissues Populations moleculardynamics sequencealignment,structureprediction differentialequation andstochasticmodels agent-basedmodels diseasespread models G A T C smaller larger
Computational biology works at scales from atoms to populations. Each panel names example methods used at that scale.

How models are built and tested

Carnegie Mellon University's computational biology department describes the work as a series of tasks that repeat as new results arrive.[3]

  1. Frame a biological question as a computational problem. This often means looking at the system in a new way or combining different sources of data.
  2. Borrow, improve, or invent a method to solve it, and build a model that accounts for as much of the available data as possible.
  3. Use the model to make predictions about new experiments.
  4. When new results disagree with the model, change the model to include them.
Model and experiment cycle in computational biology Frame thequestion Build modelfrom data Makepredictions Test inthe lab new data:revise model
The tasks of computational biology repeat as new results arrive. A question leads to a model built from data, the model makes predictions, lab tests check them, and the new data are used to revise the model. A model can be disproved and improved but not proven.

Correct predictions do not prove a model right. Apart from very restricted cases, a model can only be disproved and then improved.[3]

Computational work can also turn a vague idea into a testable hypothesis, a proposed explanation that an experiment can check. Such hypotheses guide the next lab experiment.[4]

Main research areas

The field is often divided by the kind of data it analyzes or models.[3] Major areas include:

Other branches include:

Core methods

Comparing sequences

An alignment program scores each column of an alignment:[8]

  • a match adds a reward
  • a mismatch adds a penalty
  • each gap subtracts a gap penalty dd

The best alignment is the one with the highest total score.

The Needleman-Wunsch algorithm, published in 1970, finds the best alignment of two whole sequences.[9][8] For a sequence xx of length MM and a sequence yy of length NN, it fills a table in which F(i,j)F(i,j) is the best score for aligning the first ii letters of xx with the first jj letters of yy:[8]

F(i,j)=max⁡{F(i−1, j−1)+s(xi,yj)F(i−1, j)−dF(i, j−1)−dF(i,j) = \max \begin{cases} F(i-1,\,j-1) + s(x_i, y_j) \\ F(i-1,\,j) - d \\ F(i,\,j-1) - d \end{cases}

Here s(xi,yj)s(x_i, y_j) is the score for placing letter xix_i against letter yjy_j, and dd is the gap penalty. The table starts with F(0,0)=0F(0,0) = 0, F(i,0)=−i dF(i,0) = -i\,d, and F(0,j)=−j dF(0,j) = -j\,d, and the best total score is F(M,N)F(M,N).[8] Tracing back through the choice made at each cell recovers the alignment itself.[8]

Needleman-Wunsch table for CATG and CTG 0-1-2-3 -110-1 -200-1 -3-110 -4-202 CTG CATG y = CTG x = CATG Alignment CATG C-TG best score = 2 diagonal move: letters aligned down move: letter of x against a gap match +1, mismatch -1, gap -1
The scoring table for aligning x=CATGx = \text{CATG} with y=CTGy = \text{CTG}, using match +1+1, mismatch −1-1 and gap −1-1. Tracing back from the best score of 2 gives the highlighted path and the alignment CATG over C-TG.

This is a dynamic programming method: each small subproblem is solved from even smaller ones, and the original problem is the largest subproblem.[8] Its time and memory both grow with the product MNMN of the two lengths.[8]

Related methods change the goal or trade accuracy for speed:

  • The Smith-Waterman algorithm (1981) finds the best matching stretch inside two sequences. It starts the table at zero, adds 0 as a fourth choice in the maximum, and takes the highest cell anywhere as the best score.[10][8]
  • BLAST (1990) approximates the best local alignments. Its authors reported it was about ten times faster than existing tools of comparable sensitivity.[11]
  • For proteins, scores come from a substitution matrix that rates each pair of amino acids. In the 1960s Margaret Oakley Dayhoff and Richard Eck used a program called ALLELE to build a matrix of amino acid exchange probabilities from the sequences in their Atlas.[5] Dayhoff refined this approach over the years into what became known as the Dayhoff or PAM matrix.[5]

Differential equation models

Many models describe how amounts change over time with ordinary differential equations, which give the rate of change of each quantity. A simple example from gene expression is a protein made at a constant rate and removed by breakdown and by dilution as the cell grows:[12]

dYdt=β−αY\frac{dY}{dt} = \beta - \alpha Y

Here YY is the amount of protein, β\beta is its production rate, and α>0\alpha > 0 is the rate constant for breakdown and dilution. The level settles at the steady state Yst=β/αY_{st} = \beta/\alpha, where production and removal balance.[12]

If production starts at time t=0t = 0 with no protein present, the solution is

Y(t)=βα(1−e−αt)Y(t) = \frac{\beta}{\alpha}\left(1 - e^{-\alpha t}\right)

The protein reaches half its steady-state level after a response time of ln⁡2/α\ln 2/\alpha.[12] Because 1/α1/\alpha is often on the scale of a cell generation, such responses can be slow.[12]

Protein level approaching steady statesteady state β/αhalf of steady stateresponse time ln 2/αtime tprotein level Y
A protein made at rate β\beta and removed at rate constant α\alpha rises toward its steady state β/α\beta/\alpha and reaches half of it after ln⁡2/α\ln 2/\alpha.

The Hodgkin-Huxley model of 1952 is a classic larger example. It describes the nerve action potential with four currents across the cell membrane: a capacitive current that charges the membrane, plus potassium, sodium, and leak currents, governed by three variables that change with voltage and time.[13] Larger models of this kind are often shared in the SBML format and stored in repositories such as BioModels.[7] The page mathematical modeling in systems biology covers these models in depth.

Random events and individual agents

Some models follow chance events one at a time. The Gillespie algorithm, published by Daniel Gillespie in 1977, is an event-based method for simulating coupled chemical reactions as random (stochastic) events.[14][15]

Agent-based models simulate many individual units, such as cells, that each follow set rules.[7] They make it easy to simulate random processes in spaces where conditions differ from place to place. They have been used to model tumor growth, respiratory disease, and liver fibrosis.[7]

Molecular dynamics

Molecular dynamics (MD) predicts how every atom in a protein or other molecular system moves over time.[6] A simulation repeats a simple loop:[6]

  1. Start from the positions of all atoms, for example a protein surrounded by water.
  2. Calculate the force on each atom from all the others, using a model called a force field.
  3. Use Newton's laws of motion to update each atom's position and velocity.
  4. Step forward in time and repeat.
Molecular dynamics simulation loopStarting positionsCompute forcesforce fieldUpdate positionsand velocitiesNewton's lawsAdvance time stepa few femtosecondsTrajectory3D movie of atoms
Molecular dynamics repeats a loop of computing forces and moving atoms, one time step of a few femtoseconds at a time. The repeated steps together make a trajectory, a 3D movie of the atoms.

The result is in effect a three-dimensional movie of the molecule.[6]

Simulations are costly because the time steps are tiny. Each step can be only a few femtoseconds (10−1510^{-15} s), while many important protein motions take nanoseconds, microseconds, or longer, so a typical simulation needs millions or billions of steps.[6]

As of 2018, one graphics processor could simulate about a microsecond of a system of about 50,000 atoms in a few days.[6]

Force fields are not exact, and in classical MD no chemical bonds form or break.[6]

To study reactions, QM/MM methods treat a small region with quantum mechanics and the rest with classical physics.[6]

Martin Karplus, Michael Levitt, and Arieh Warshel laid the foundations for such combined models in the 1970s. They shared the 2013 Nobel Prize in Chemistry for them.[16]

Machine learning

Machine learning builds models from large existing data sets and then uses them to process new data.[3]

Protein structure prediction

Machine learning's best-known success in biology is predicting a protein's 3D shape from its amino acid sequence. This is part of the protein folding problem, which had been open for more than 50 years.[17]

The need was large. Experiments had determined about 100,000 unique protein structures, a small fraction of the billions of known protein sequences.[17]

AlphaFold2 results

AlphaFold2 is a neural network, a computer model that learns patterns by adjusting the connections between many simple processing units.[17] In the blind CASP14 test (May to July 2020), it matched the accuracy of experimental structures in a majority of cases.[17]

Accuracy was measured as the typical distance between the predicted and experimental positions of the protein's main chain (backbone), in ångströms (Å), where 1 Å is one ten-billionth of a meter. AlphaFold2's median backbone error was 0.96 Å, against 2.8 Å for the next best method; a carbon atom is about 1.4 Å wide.[17]

AlphaFold2 has since been used to predict the structure of nearly all of the 200 million proteins researchers have identified.[18]

Recognition

The 2024 Nobel Prize in Chemistry went half to David Baker for computational protein design and half jointly to Demis Hassabis and John Jumper for protein structure prediction.[18]

History

Year Event
1952 Alan Hodgkin and Andrew Huxley publish their mathematical model of the nerve action potential.[13]
1952 Alan Turing proposes that chemicals reacting and spreading through a tissue could form biological patterns.[19]
1965 Margaret Dayhoff, Richard Eck, Marie Chang, and Minnie Sochard publish the Atlas of Protein Sequence and Structure, probably the earliest computerized data collection in the life sciences.[5]
1966 The Atlas's second edition includes a computer-built family tree of cytochrome c.[5]
1968 Aristid Lindenmayer publishes mathematical models of cell interactions in development.[14]
1970 Saul Needleman and Christian Wunsch publish their alignment method.[9]
1970 Paulien Hogeweg and Ben Hesper begin using the term "bioinformatics".[14]
1970s Karplus, Levitt, and Warshel lay the foundations of models that combine quantum and classical physics to study chemical systems.[16]
1977 Daniel Gillespie publishes his stochastic simulation algorithm.[15]
1981 Temple Smith and Michael Waterman publish local alignment.[10]
1990 BLAST is published.[11]
1990 to 2003 The Human Genome Project runs from October 1990 to April 2003.[20]
2020 AlphaFold2 is presented at CASP14.[17][18]
2024 The Nobel Prize in Chemistry honors computational protein design and protein structure prediction.[18]

Early computing in biology

The first computational models came before computers were easy to use.

Hodgkin and Huxley

Hodgkin and Huxley planned to solve their equations on the Cambridge University computer, EDSAC, but it was out of service for about six months for a major modification.[13] Huxley solved them instead with a hand-operated mechanical calculator, and the moving action potential alone took about three weeks to compute.[13]

Dayhoff's Atlas

Dayhoff's Atlas showed that computers could manage biological data as well as do calculations.[5]

The first edition held about 70 protein sequences. Its authors adopted a one-letter code for amino acids partly to save computer memory.[5]

Computers were not yet common in biochemistry. Many biochemists of the early 1960s had no access to computers or the skills to program them, and some resisted using them.[5]

The first computer-built trees

The 1966 Atlas tree matched the cytochrome c tree that Walter Fitch and Emanuel Margoliash published in 1967. The Fitch and Margoliash tree is often wrongly called the first protein family tree built by computer.[5]

Naming the field

Hogeweg and Hesper used "bioinformatics" from 1970 to mean "the study of informatic processes in biotic systems", that is, information processes in living systems.[14] By the late 1980s, driven by fast-growing sequence data, the term had come to mean computational methods for sequence data, protein structure, function prediction, and evolutionary trees.[14]

The genome era

The human genome was read by shotgun sequencing, which reads many short DNA fragments and then puts them together into a longer sequence. The project showed how well computer methods could assemble those fragments.[4]

Modern DNA sequencing machines read huge numbers of fragments quickly, producing short DNA strings called reads. Analyzing these reads depends entirely on computational methods.[4]

Challenges and open questions

  • Reproducibility. In a 2021 study, curators tried to rerun 455 published differential equation models; 233 (51%) gave the published results directly.[21] About 49% did not, because of incorrect or missing information in the papers, most often missing parameter values or starting conditions.[21] See reproducibility.
  • Standards. SBML is a mature standard for differential equation models.[7] Agent-based models have only the ODD (Overview, Design concepts, and Details) protocol, a written description of the model, its parts, and the processes that drive them, which makes them hard to reproduce.[7]
  • Physics that is not exact. Force fields remain imperfect, and many processes, such as drug binding and shape changes in proteins, often take longer than all-atom MD can reach.[6]
  • Black-box models. Many data-driven models are black boxes, whose predictions cannot be traced to specific biological mechanisms. The complexity of living systems also makes it hard to work out those mechanisms from a fairly small set of observations.[7]
  • Linking scales. At a 1972 meeting, Francis Crick quoted Turing on his pattern work: "Well, the stripes are easy but what about the horse part?"[14] Building models that span levels, from genes to whole bodies, remains a long-term goal.[14][7]
  • Training. Florian Markowetz has argued that computing is now so central that "all biology is computational biology", and that mathematics, statistics, and computing will become part of mainstream biology training.[4]

References

  1. NIH Working Definition of Bioinformatics and Computational Biology, NIH Biomedical Information Science and Technology Initiative Consortium, 2000.
  2. Bioinformatics and Computational Biology, National Institute of General Medical Sciences, 2026.
  3. What is Computational Biology?, Carnegie Mellon University Computational Biology Department.
  4. All biology is computational biology, PLOS Biology, 2017.
  5. Collecting, Comparing, and Computing Sequences: The Making of Margaret O. Dayhoff's Atlas of Protein Sequence and Structure, 1954-1965, Journal of the History of Biology, 2009.
  6. Molecular dynamics simulation for all, Neuron, 2018.
  7. Computational models in systems biology: standards, dissemination, and best practices, Current Opinion in Biotechnology, 2022.
  8. Sequence Alignment (CS262 Lecture 2), Stanford University.
  9. A general method applicable to the search for similarities in the amino acid sequence of two proteins, Journal of Molecular Biology, 1970.
  10. Identification of common molecular subsequences, Journal of Molecular Biology, 1981.
  11. Basic local alignment search tool, Journal of Molecular Biology, 1990.
  12. Solution of Exercise 1, Systems Biology Course, Uri Alon Lab, Weizmann Institute of Science, 2018.
  13. A brief historical perspective: Hodgkin and Huxley, The Journal of Physiology, 2012.
  14. The Roots of Bioinformatics in Theoretical Biology, PLOS Computational Biology, 2011.
  15. Exact stochastic simulation of coupled chemical reactions, Journal of Physical Chemistry, 1977.
  16. Press release: The Nobel Prize in Chemistry 2013, Royal Swedish Academy of Sciences, 2013.
  17. Highly accurate protein structure prediction with AlphaFold, Nature, 2021.
  18. Press release: The Nobel Prize in Chemistry 2024, Royal Swedish Academy of Sciences, 2024.
  19. The chemical basis of morphogenesis, Philosophical Transactions of the Royal Society B, 1952.
  20. The Human Genome Project, National Human Genome Research Institute.
  21. Reproducibility in systems biology modelling, Molecular Systems Biology, 2021.

Figure