Cheminformatics
Cheminformatics (also spelled chemoinformatics) is the use of computers and information science to store, search, and analyze chemical information. Most of this information is about chemical structures and the properties that go with them, especially biological activity (the effect a compound has in a living system).[1]
Its methods let chemists do three main things.[2][1]
- Search databases that hold more than a hundred million compounds.
- Compare molecules by how alike they are.
- Predict properties of molecules nobody has made yet.
The field has its deepest roots in drug discovery, but its scope covers chemical information in general.[1]
Scope and definitions
The word "chemoinformatics" first appeared in print in 1998, in a review by Frank K. Brown.[1]
In the United States the field is mostly called cheminformatics.[1]
Brown described it as "the mixing of those information resources to transform data into information and information into knowledge for the intended purpose of making better decisions faster in the area of drug lead identification and organization."[1]
Later definitions are broader.[1]
- Johann Gasteiger: the "application of informatics methods to solve chemical problems."
- Peter Willett: the "manipulation of information about chemical structures."
The field is part of chemical information science, the study of ways to store, search, and use chemical information, within chemistry.[1]
Its borders with molecular modeling (using computers to study or predict the shapes and behavior of molecules) and drug design are not sharply defined.[1]
The field differs from bioinformatics mainly in its data.[3]
| Field | Main data | Form |
|---|---|---|
| Bioinformatics | Sequences, such as DNA and proteins | One-dimensional strings (sequences of text characters) |
| Cheminformatics | Chemical structures | Graphs (points for atoms joined by lines for bonds) with rings and branches |
The same molecule can also be drawn in several valid ways, which makes structures harder to make consistent.[3]
Core tasks of the field include:[1][4]
- Representing structures in a form a computer can store and compare.
- Searching databases by exact structure, by substructure (a part of a molecule's structure), and by similarity.
- Predicting properties and biological activity from structure.
- Mapping chemical space and designing new compounds.
- Planning syntheses (the chemical steps used to make a compound) and working out unknown structures from experimental data.
Representing molecules
Molecules as graphs
A computer usually stores a molecule as a graph, in the sense of graph theory. Each atom is a node and each bond is an edge, and the nodes and edges carry labels such as the element and the bond order (1 for a single bond, 2 for a double bond).[4] A list of these atoms and bonds is called a connection table.[4]
Chemists' drawings leave much unstated. An unlabeled corner in a drawing stands for a carbon atom with enough hydrogens to fill its bonds, but a program needs every atom labeled explicitly.[3]
Line notations
A line notation writes a molecule as a single line of text.
The Simplified Molecular Input Line Entry System (SMILES), published by David Weininger in 1988, is the most popular molecular string format.[5][6] Earlier, the Wiswesser line notation was widely used in the 1960s and early 1970s.[4]
SMILES follows a few simple rules.[5]
- Atoms are written by their element symbols, and hydrogens are usually left out.
- Atoms in aromatic rings, which have a special pattern of shared electrons as in benzene, use lowercase letters. Benzene is
c1ccccc1. - Branches go in parentheses, so acetic acid is
CC(=O)O. - A matching pair of digits closes a ring.
One structure usually has many valid SMILES strings. A canonicalization algorithm picks one special string, called the unique SMILES, so that everyone who uses it gives a molecule the same name.[5]
A related language called SMARTS describes molecular patterns rather than whole molecules.[5]
The International Chemical Identifier (InChI) is an open identifier, not owned by one company. It was developed under the International Union of Pure and Applied Chemistry (IUPAC) with technical support from the US National Institute of Standards and Technology (NIST).[7]
The InChI project officially started in 2001, and the identifier was introduced publicly in 2005.[7] An InChI is meant for computers, not human readers.[7]
Long InChI strings work poorly in web search engines, so the project added the InChIKey.[7]
The InChIKey is a 27-character code made from the InChI with SHA-256, a hash method that turns data into a fixed-length code. Because the code is compressed, it cannot be turned back into the structure.[7]
| Format | What it is | Main use |
|---|---|---|
| Connection table | List of atoms and bonds | Database records, such as the CAS Registry[4] |
| SMILES | Short text string; a canonical "unique SMILES" exists | Input, storage, and exchange[5] |
| InChI | Layered text identifier from IUPAC | Linking data across sources[7] |
| InChIKey | 27-character hash of an InChI | Web and database lookup[7] |
Many other chemical file formats exist, such as the chemical table file. Tools such as Open Babel were written to convert among them.[8]
Canonical numbering
To compare two connection tables, a program must number the atoms in a standard way. This problem is called graph canonization.
The task is hard because a graph with atoms has up to possible numberings.[4] Acetic acid has 4 non-hydrogen atoms, so it already has up to this many:
The Morgan algorithm, published by H. L. Morgan in 1965, gives every structure one unique numbering.[4] It was developed for the Chemical Abstracts Service (CAS) Registry System, which started operating in 1965 and stores structures as connection tables.[4]
With later improvements, the Morgan algorithm remains at the heart of the CAS Registry System and many other programs.[4]
Software makers wrote their own canonical SMILES programs, each with a different algorithm, usually based on Morgan's.[3] As a result, different databases could give the same molecule different strings, which is one reason InChI was created.[3]
Limits of the graph model
Several real features of molecules do not fit a single plain graph.
- Tautomers are forms of a molecule that differ in where a hydrogen atom sits. Tautomers and different protonation states (how many hydrogen ions a molecule has gained or lost) make the same compound appear as different graphs, which complicates search.[3]
- Stereochemistry (the 3D arrangement of atoms) and isotopes (forms of an element with different numbers of neutrons) can be added to SMILES. Strings that include them are called isomeric SMILES.[5]
- InChI stores information in separate layers for connectivity, stereochemistry, isotopes, and tautomerism.[9]
- A graph has no coordinates. Programs such as CONCORD and CORINA build 3D structures from 2D input, and the Cambridge Structural Database is a main source of measured 3D coordinates for organic molecules.[4][10]
Searching chemical databases
A chemical database supports three main kinds of structure search.[3]
- Exact search finds one specific molecule.
- Substructure search finds every molecule that contains a given fragment.
- Similarity search finds molecules that resemble a query molecule.
Exact-structure search
Exact search is the simplest case. Once every molecule has a canonical string or an InChI, finding a structure reduces to comparing strings.[3]
Substructure search
Substructure search asks which stored molecules contain a query fragment. In graph terms, this is the subgraph isomorphism problem.[4]
L. C. Ray and R. A. Kirsch described the first automated substructure search in 1957. They stored 200 steroid molecules as connection tables and checked each one for the query with an exhaustive tree search, which tries every possible way of matching query atoms to stored atoms.[4] Their method worked but was very slow.[4]
Graph matching of this kind is widely viewed as too costly for a computer to run on every molecule in a database of millions.[3] Two ideas made it practical.
- Smarter matching. Later algorithms cut wasted comparisons, and Ullmann's algorithm is the basis of most current systems.[4]
- Screening. A fast bit check first removes molecules that cannot match, and only the survivors get the full graph test.[3]
Fingerprints
A molecular fingerprint is a string of bits (values of 0 or 1) that records which structural features a molecule has.[3] There are two broad kinds.[3]
- Structure keys give each bit one fragment chosen in advance, such as a functional group (a group of atoms that gives a molecule typical chemical behavior). MACCS keys and PubChem keys are examples.
- Hashed fingerprints turn patterns into bit positions with a hash function, so one bit can stand for several fragments. Daylight fingerprints and extended-connectivity fingerprints are examples.
For screening, a candidate can match only if every bit set in the query's fingerprint is also set in the candidate's.[3] Because database fingerprints are computed ahead of time, this check is fast.[3]
Extended-connectivity fingerprints (ECFPs) are circular fingerprints built from the surroundings of each atom.[11][3] Unlike earlier fingerprints, which were made for searching, they were developed for modeling links between structure and activity.[11]
Similarity search
Similarity search rests on the similar property principle: molecules with similar structures tend to have similar properties.[12] In drug discovery this becomes "similar compounds have similar biological activity."[12] See chemical similarity.
The most popular measure for binary fingerprints is the Tanimoto coefficient.[12]
Here is the number of bits set in both fingerprints, is the number set only in the first, and is the number set only in the second.[12]
lies between 0 and 1. It is defined only when at least one bit is set, so that .[12] A value of 1 means identical fingerprints, which does not guarantee identical molecules.
Comparing fragment bit-strings to measure similarity was first described by Adamson and Bush in 1973, for predicting properties.[4] More than a decade passed before the first working similarity search systems appeared, at Lederle Laboratories and Pfizer UK.[4]
The principle has well-known exceptions. An activity cliff is a pair of very similar compounds with very different activity, a concept proposed by Gerald Maggiora in 2006.[12]
Predicting properties
Molecular descriptors
A molecular descriptor is a number that describes some feature of a molecule.
Early models used physical and chemical measures of several kinds.[4]
- Size and shape.
- How electrical charge is spread over the molecule.
- The molecule's tendency to avoid water.
The most common of these is the octanol-water partition coefficient, usually given as log P. It measures how much a compound favors oily octanol over water, and its importance led to many programs that calculate it from structure.[4]
Quantitative structure-activity relationships
A quantitative structure-activity relationship (QSAR) is a model that predicts activity from descriptors.
In papers starting in 1962, Corwin Hansch and co-workers used multiple linear regression to relate the activity of related compounds to their physical and chemical descriptors.[4] The fitted equation then predicts the activity of untested compounds.[4]
A linear QSAR model has this general form.
Here is the biological activity, to are descriptor values, and to are coefficients fitted to measured data.
Other methods followed.
- Free-Wilson analysis (1964) uses the presence of particular substituents (atoms or groups attached to a shared core structure) at particular positions as its variables. Each substituent is assumed to add a fixed amount to the activity.[4]
- Comparative molecular field analysis (CoMFA), published by Cramer and co-workers in 1988, places each molecule in a 3D grid. It computes the interaction energy between the molecule and a standard probe at each grid point, then relates these energies to activity by partial least squares, a regression method that can handle very many variables.[4]
QSAR models carry a statistical risk. Topliss and Costello showed that fitting many variables to few compounds can give strong-looking correlations even when the variables are random.[4]
Drug-likeness filters
Druglikeness rules flag compounds unlikely to work as oral drugs. The best known is Lipinski's rule of five, published by Christopher Lipinski and colleagues in 1997.[13] It states that poor absorption or permeation (passage through barriers such as cell membranes) is more likely when a compound goes past these limits.[13]
Two of the limits involve the hydrogen bond, a weak attraction between a hydrogen atom and a nearby atom such as oxygen or nitrogen.
| Property | Limit |
|---|---|
| Hydrogen-bond donors (groups that offer a hydrogen atom to a hydrogen bond) | 5 |
| Hydrogen-bond acceptors (atoms that receive one) | 10 |
| Molecular weight (the mass of a molecule, in daltons) | 500 |
| Calculated log P (CLogP) | 5 (or MLogP of 4.15) |
A lead is a promising starting compound for drug development.
The same paper noted that leads found by high-throughput screening tended to have higher molecular weight and log P than leads from earlier eras.[13]
Uses in drug discovery
In drug discovery, cheminformatics mainly serves two stages.[4]
- Lead discovery finds compounds with the wanted activity.
- Lead optimization picks the members of that class with the best mix of these traits.
- Potency (how strongly a compound acts at a given amount).
- Ease of synthesis.
- Good pharmacokinetics (how the body absorbs and clears the compound), such as solubility and metabolic stability (how slowly the body breaks the compound down).
- Few side effects.
The field also covers other computer-aided drug design tasks, such as predicting side effects and activity against several targets at once.[1]
Virtual screening
Virtual screening searches compound libraries by computer to pick a few candidates for lab testing. A ligand is a molecule that binds to a target such as a protein, and screening comes in two broad types.[14]
| Type | Input | Typical methods | Trade-off |
|---|---|---|---|
| Ligand-based | Known active compounds | Similarity search, QSAR, machine learning (models that learn patterns from examples) | Often high hit rates, but hits resemble known actives |
| Structure-based | 3D structure of the target protein | Molecular docking | Needs no known actives and can find new kinds of hits, but scoring is approximate |
Docking places each library compound into the protein's binding pocket, the site where a ligand binds. It then ranks compounds by a predicted binding score.[14]
The scoring functions that estimate binding trade accuracy for speed. Docking therefore works mainly to put likely hits near the top of the list rather than to predict true binders reliably.[14]
Screens now reach billions of compounds. In one study, screening a 1.2-billion-compound collection from the ZINC database gave 27 active hits from 74 tested candidates.[14]
In another, docking 4.5 billion lead-like molecules (compounds with properties suited to lead discovery) took about one week and cost about 25,000 US dollars on a commercial cloud, a paid service that provides computing power from remote computers.[14]
Other applications
- Synthesis planning by computer has been part of the field from the start.[1] See computer-assisted organic synthesis and retrosynthetic analysis.
- Computer-assisted structure elucidation works out unknown structures from spectra. In the 1960s, Joshua Lederberg, Carl Djerassi, and others built structure-listing algorithms for this purpose, which led to DENDRAL, widely viewed as the first expert system.[3]
- Diversity analysis, which measures how spread out a set of compounds is, shaped the design of compound libraries for combinatorial chemistry (making many compounds by combining sets of building blocks).[1]
Chemical space
Chemical space is the set of all possible chemical structures, and in principle it is infinite.[3]
Counting molecules is an old problem. Arthur Cayley, George Pólya, and others developed much of graph theory and combinatorics (the mathematics of counting arrangements) while counting isomers of alkanes.[3] Isomers are compounds with the same formula but different arrangements of atoms, and alkanes are compounds of carbon and hydrogen joined by single bonds.
Estimates show how little of this space is known.
- Known molecules in public and corporate collections probably number about 100 million.[10] PubChem held 119 million compounds in September 2024.[2]
- The GDB-17 database lists 166.4 billion molecules with up to 17 atoms of carbon, nitrogen, oxygen, sulfur, and halogens (such as fluorine, chlorine, and bromine).[15] It is not complete, because its rules leave out some kinds of structure, such as certain unstable groups.[15] Programs that list possible structures in this way are called chemical graph generators.
- Drug-like chemical space has been estimated at to molecules when built from known fragments, and as many as when only basic structural rules are applied.[10]
Most listed molecules have never been made. For example, more than 99.9% of the 977 million molecules in GDB-13 have never been made.[10] Many listed molecules also look far too hard to make, a problem studied under synthetic accessibility.[10]
Machine learning and generative models
Machine learning has become a main tool of the field, used for data mining (searching data for useful patterns), activity prediction, and molecular design.[1] See machine learning in chemistry.
Graph neural networks
Graph neural networks learn directly from the molecular graph. A 2017 paper grouped several such models into one framework called message passing neural networks, in which atoms repeatedly pass information along bonds before the network predicts a property.[16]
Generative models
Generative chemistry uses models that propose new molecules.
One early model was a variational autoencoder. It trained a deep neural network (a model built from many layers that learn patterns from data) on hundreds of thousands of known structures to map molecules to and from lists of numbers.[17]
New molecules could then be made by decoding random number lists or by moving between known molecules.[17] Properties could be improved step by step with gradient-based optimization, which repeatedly adjusts values in a direction that improves the model's result.[17]
String formats for generation
SMILES causes a problem for such models, because most random strings of SMILES symbols are not valid molecules.[6] SELFIES, introduced in 2020, is a string format in which every string corresponds to a valid molecule.[6][18]
Databases and software
Public data has been critical for academic work, since most pharmaceutical company data is private.[1]
| Resource | Contents |
|---|---|
| PubChem | NIH public database of chemicals and their biological activities; 119 million compounds and 295 million bioactivities as of September 2024[2] |
| ChEMBL | Large-scale bioactivity database for drug discovery[1] |
| ZINC | Free database of commercially available compounds for virtual screening[1] |
| CAS Registry | Registry of substances stored as connection tables, operating since 1965[4] |
| Cambridge Structural Database | Measured 3D structures of organic molecules[4] |
Open-source toolkits, whose code anyone can inspect and change, include Open Babel, the Chemistry Development Kit (CDK), and RDKit. They share the same core functions, but each supports different file formats, fingerprints, and descriptors.[19]
General machine learning libraries such as scikit-learn and PyTorch are also widely used.[1]
History
The field's methods began in the late 1950s and early 1960s, long before it had a name.[1]
- 1957: Ray and Kirsch describe automated substructure search.[4]
- 1962: Hansch publishes the first regression-based QSAR paper.[4]
- 1965: the CAS Registry System starts, and Morgan publishes canonical numbering.[4]
- 1960s: DENDRAL is developed to infer structures from spectral data.[3]
- 1973: Adamson and Bush describe bit-string similarity.[4]
- 1988: Weininger publishes SMILES, and Cramer and co-workers publish CoMFA.[5][4]
- 1997: Lipinski and colleagues publish the rule of five.[13]
- 1998: Brown coins the term "chemoinformatics."[1]
- 2005: InChI is introduced publicly.[7]
- 2012: GDB-17 lists 166.4 billion molecules.[15]
Journals grew with the field. The Journal of Chemical Documentation became the Journal of Chemical Information and Computer Sciences in 1975, which in 2005 split into the Journal of Chemical Information and Modeling and the Journal of Chemical Theory and Computation.[1] The Journal of Cheminformatics launched in 2009.[1]
Open problems
- Data integration. Combining databases is hard because of the large amount of data and because chemical and activity data are recorded in different ways.[3]
- Docking accuracy. Predicting binding energy (a measure of how strongly a molecule interacts with its target when it binds) is very hard, and current scoring functions remain a major weakness.[14]
- New chemistry. Machine-learning scoring functions struggle to find new kinds of ligands that differ from their training data.[14]
- Making the molecules. Listed and generated molecules are often hard to make.[10]
- Overfitting. A model can fit its training data too closely and then perform poorly on new data. Models built from many descriptors and few compounds can find false patterns this way.[4]
References
- Milestones in chemoinformatics: global view of the field, Jürgen Bajorath, Journal of Cheminformatics, 2024.
- PubChem 2025 update, Kim et al., Nucleic Acids Research, 2025.
- Cheminformatics, Communications of the ACM, 2012.
- From chemical documentation to chemoinformatics: fifty years of chemical information science, Peter Willett, Journal of Information Science, 2008.
- Daylight Theory: SMILES, Daylight Chemical Information Systems.
- SELFIES and the future of molecular string representations, Patterns, 2022.
- InChI, the worldwide chemical structure identifier standard, Heller et al., Journal of Cheminformatics, 2013.
- Open Babel: an open chemical toolbox, O'Boyle et al., Journal of Cheminformatics, 2011.
- What on Earth is InChI?, IUPAC.
- Exploring chemical space for drug discovery using the chemical universe database, Reymond and Awale, ACS Chemical Neuroscience, 2012.
- Extended-connectivity fingerprints, Rogers and Hahn, Journal of Chemical Information and Modeling, 2010.
- Molecular similarity: Theory, applications, and perspectives, Artificial Intelligence Chemistry, 2024.
- Experimental and computational approaches to estimate solubility and permeability in drug discovery and development settings, Lipinski et al., Advanced Drug Delivery Reviews, 1997 (reprinted 2001).
- Docking-based virtual screening: past, present, and future, Biophysical Journal, 2026.
- Enumeration of 166 billion organic small molecules in the chemical universe database GDB-17, Ruddigkeit et al., Journal of Chemical Information and Modeling, 2012.
- Neural message passing for quantum chemistry, arXiv, 2017.
- Automatic chemical design using a data-driven continuous representation of molecules, ACS Central Science, 2018.
- Self-referencing embedded strings (SELFIES): a 100% robust molecular string representation, Krenn et al., arXiv, 2019.
- Cinfony: combining open source cheminformatics toolkits behind a common interface, O'Boyle and Hutchison, Chemistry Central Journal, 2008.
