Molecular representations in AI-driven drug discovery: a review and practical guide — TEI-tagged view

Laurianne David, Amol Thakkar, Rocío Mercado, Ola Engkvist · 2020 · computational chemistry · doi:10.1186/s13321-020-00460-5 · TEI xml · tagged edition · index · concepts · authors
Where this record's text came from. 2026-08-30 schema-0.3 pass: every quote verified as an exact substring of the staged text and anchored at merge time; concept terms verified present; every edge endpoint an existing node.
52 quotations on this page contain a reference number where the paper printed a superscript. This journal style prints citations as raised numerals — parameters12,13 — and the extraction flattened them into the line, so the sentence reads parameters 12 , 13 . The digits are citation markers and not part of what the author wrote. The quotes keep them for the same reason they keep every other extraction fault: a quote is reproduced exactly or it proves nothing.
This record’s own method is review, and the tags below follow from that. A review’s findings, quantities and statistics are things stated IN this paper, and some of them report results obtained elsewhere. No tag on this page names a different author. Measured across every review in this corpus, 81% of a review’s tags carry no citation at all — most of them are the review speaking. The corpus does not adjudicate the rest: read an unmarked tag as a claim this paper makes, not necessarily one it made first.
Other fields define these differently the same word, defined another way in another discipline
internal representation 3 fields · Proteins 3 fields · SMILES 2 fields · adjacency matrix 2 fields · graph 2 fields · InChI 2 fields · and 4 more →
Tags on this paper every tag the record carries, whether or not the words occur in the text below — a number is how many papers in the corpus carry that tag; a tag with no number is unique to this paper
chemical representation encoding of a chemical compound linear representations notations molecular graph representation 2D object graph7 tuple adjacency matrix2 connectivity matrix node features matrix edge features matrix graph traversal algorithm depth-first breadth-first random search2 hypergraphs linear notations connection table CTfiles SMILES6 randomized SMILES OpenSMILES SMARTS InChI3 InChIKey2 InChIKey collision molecular descriptors4 structural keys bit strings MACCS chemical fingerprints Reaction SMILES SMIRKS RInChI CGR BE-matrix HORACE reaction centre reaction fingerprints vector representations of reactions macromolecules2 amino acid sequences Peptides chains of 2 to 50 AAs CHUCKLES HELM SMILES-like format Proteins4 polypeptides Protein Data Bank3 WURCS BigSMILES 2D depictions 3D depictions representation learning2 internal representation3 graph embedding learned fingerprints retrosynthesis protein structure prediction2 Optical Character Recognition human readable review319
Method, as described: a scoped narrative review and practical taxonomy of popular representation standards and their reported AI applications

Colour legend

Journal of Cheminformatics<title level="j">A work — the journal / venue title.
2020<date>A year or date.

Laurianne DavidpersName, Amol ThakkarpersName, Rocío MercadopersName, Ola EngkvistpersName (2020date). “Molecular representations in AI-driven drug discovery: a review and practical guide.” Journal of Cheminformaticstitle·j.

Object of study — machine-readable representations of small molecules, reactions, macromoleculesterm, and molecular depictions used in AI-driven drug discovery

Research question — what major molecular-representation families exist, what information and tradeoffs do they encode, and how are they used in contemporary AI drug discovery

Contribution — a practical, non-exhaustive guide linking molecular graphsterm·def, file formats, line notationsterm, descriptors, reaction and macromoleculeterm representations, depictions, and AI applications

Cross-disciplinary analysis
content-tags & facets: phenomenon · claim-type · cross-domain-transfer · mechanism · claim-relation · replication-status · limitation — grounded in the full text
phenomenonthe plurality, task dependence, expressiveness, compactness, interoperability, and computational use of chemical representations — “Furthermore, when working with molecular graphs, there is not one correct way to represent any molecule, and the representation chosen must be appropriate for the task.”
claim-typeexistence — “The technological advances of the past century, marked by the computer revolution and the advent of high-throughput screening technologies in drug discovery, opened the path to the computational analysis and visualization of bioactive molecules. For this purpose, it became necessary to represent molecules in a syntax that would be readable by computers and understandable by scientists of various fields. A large number of chemical representations have been developed over the years, their numerosity being due to the fast development of computers and the complexity of producing a representation that encompasses all structural and chemical characteristics. We present here some of the most popular electronic molecular and macromolecular representations used in drug discovery, many of which are based on graph representations. Furthermore, we describe applications of these representations in AI-driven drug discovery. Our aim is to provide a brief guide on structural representations that are essential to the practice of AI in drug discovery. This review serves as a guide for researchers who have little experience with the handling of chemical representations and plan to work on applications at the interface of these fields.”
method — evidence — “In this review, we focus on chemical representations in cheminformatics and drug discovery. We first introduce the concept of a molecular graph, which is the most common machine-readable representation, and we give a brief overview of the main notations which paved the way for the current cheminformatics notations. We then focus on the representations that are used nowadays in the field of applying artificial intelligence (AI) to cheminformatics and drug discovery. Finally, we provide examples of AI-related applications using the chemical representations discussed in this review. This review is intended to provide an overview of basic cheminformatics knowledge to practising cheminformaticians, students in chemistry, cheminformatics, bioinformatics, and computer science, and anyone interested to learn more about molecular representations in drug discovery. While the coverage of representations introduced herein is not intended to be exhaustive, we emphasise that the representation used to solve a problem is always dependent on the task. Thus, the coverage is limited to areas where there is active research in applying machine learning (ML) and AI to cheminformatics and drug discovery. For readers interested in further reading on these topics we recommend references [ 22 – 29 ], in addition to the references cited in each section.”
object of study — evidence — “The technological advances of the past century, marked by the computer revolution and the advent of high-throughput screening technologies in drug discovery, opened the path to the computational analysis and visualization of bioactive molecules. For this purpose, it became necessary to represent molecules in a syntax that would be readable by computers and understandable by scientists of various fields. A large number of chemical representations have been developed over the years, their numerosity being due to the fast development of computers and the complexity of producing a representation that encompasses all structural and chemical characteristics. We present here some of the most popular electronic molecular and macromolecular representations used in drug discovery, many of which are based on graph representations. Furthermore, we describe applications of these representations in AI-driven drug discovery. Our aim is to provide a brief guide on structural representations that are essential to the practice of AI in drug discovery. This review serves as a guide for researchers who have little experience with the handling of chemical representations and plan to work on applications at the interface of these fields.”
research question — evidence — “In this review, we focus on chemical representations in cheminformatics and drug discovery. We first introduce the concept of a molecular graph, which is the most common machine-readable representation, and we give a brief overview of the main notations which paved the way for the current cheminformatics notations. We then focus on the representations that are used nowadays in the field of applying artificial intelligence (AI) to cheminformatics and drug discovery. Finally, we provide examples of AI-related applications using the chemical representations discussed in this review. This review is intended to provide an overview of basic cheminformatics knowledge to practising cheminformaticians, students in chemistry, cheminformatics, bioinformatics, and computer science, and anyone interested to learn more about molecular representations in drug discovery. While the coverage of representations introduced herein is not intended to be exhaustive, we emphasise that the representation used to solve a problem is always dependent on the task. Thus, the coverage is limited to areas where there is active research in applying machine learning (ML) and AI to cheminformatics and drug discovery. For readers interested in further reading on these topics we recommend references [ 22 – 29 ], in addition to the references cited in each section.”
contribution — evidence — “In this review, we focus on chemical representations in cheminformatics and drug discovery. We first introduce the concept of a molecular graph, which is the most common machine-readable representation, and we give a brief overview of the main notations which paved the way for the current cheminformatics notations. We then focus on the representations that are used nowadays in the field of applying artificial intelligence (AI) to cheminformatics and drug discovery. Finally, we provide examples of AI-related applications using the chemical representations discussed in this review. This review is intended to provide an overview of basic cheminformatics knowledge to practising cheminformaticians, students in chemistry, cheminformatics, bioinformatics, and computer science, and anyone interested to learn more about molecular representations in drug discovery. While the coverage of representations introduced herein is not intended to be exhaustive, we emphasise that the representation used to solve a problem is always dependent on the task. Thus, the coverage is limited to areas where there is active research in applying machine learning (ML) and AI to cheminformatics and drug discovery. For readers interested in further reading on these topics we recommend references [ 22 – 29 ], in addition to the references cited in each section.”
mechanismatom-bond mapping Maps molecular constituents onto graph nodes and edges. — “The idea behind the molecular graph representation lies in mapping the atoms and bonds that make up a molecule into sets of nodes and edges . Intuitively, one could imagine treating the atoms in a molecule as nodes and the bonds as edges , although there is no reason one could not consider other mappings. In typical graph representations, the nodes are represented using circles or spheres, and the edges using lines. In the case of molecular graphs, the nodes are instead often represented using letters indicating the atom type (as on the periodic table), or simply using points where the bonds meet (for carbon atoms).”mechanisms[0]
mechanismadjacency matrix Encodes whether each ordered node pair is bonded. — “How the atoms are connected is commonly represented in the form of an adjacency matrix A ; given that a ij is an element of A , a ij = 1 means that there exists a bond between nodes v i and v j in molecular graph G , whereas a ij = 0 means that there exists no bond between them (Fig. 1 b). The adjacency matrix is also sometimes referred to as the connectivity matrix . Note that the adjacency matrix does not necessarily specify what type of bond is connecting each pair of nodes.”mechanisms[1]
mechanismgraph traversal Linearizes unordered nodes with deterministic or random tie-breaking. — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”mechanisms[2]
mechanismimplicit hydrogen Stores hydrogen count as a heavy-atom property to reduce file size. — “Whilst graphs underlie the representation of molecules, the matrices by which they are described are not a compact representation, and scale as the square of the number of atoms. The connection table (Ctab) [ 39 ] is composed of six parts: (1) Counts line , (2) Atom block , (3) Bond block , (4) Atom list block , (5) Stext block , and (6) Properties block . Readers are referred to the referenced material for a detailed description of each component. The counts line is always the first line, and as such gives an overview of the structure by specifying the number of atoms, bonds, and atom lists, as well as the presence or absence of chirality. The version (V2000 or V3000) is also specified on this line. The atom block describes the identities of the atoms as a list with arbitrary index values, as well as the atomic symbols, mass differences, charge, stereochemistry, and associated hydrogens. Note that it is often practical to treat any hydrogens in a molecule as implicit —that is, not storing hydrogens as atom objects and instead implicitly defining the hydrogen count using a valence model. Treating hydrogens as properties of the heavy atoms rather than as explicit nodes significantly reduces the size of the atom and bond block, making the format more compact. These can be recalculated based on valence rules if required; in such cases, valency information must be given explicitly in the atom block. The bond block describes the connectivity of the atoms as well as the identity of the bonds connecting them. The atoms may be fully or partially connected by bonds, thereby supporting the description of fragments and unconnected atoms. The bond block is composed of the atom indices and bond types; the bond order is also provided as an additional column. There is no requirement for the bond block of the connection table to be ordered in a particular way. The two blocks are combined to form the core of the Ctab. Similarly to a matrix representation, the Ctab is extensible, meaning that lists describing supported properties may be added to the properties block. Notably, any entries associated with charges, radicals, or isotopes supersede those in the atom block, if present. As a result of backwards compatibility to previous versions and the prevalence programs utilising them, connection tables have become one of the standard formats for handling chemical structural information and underlie the widely used Molfile formats. It should be noted that connection tables are in themselves not a file format but are the core building block around which CT files are built.”mechanisms[3]
mechanismrandomized SMILES Changes the initial node while retaining depth-first traversal to augment data. — “There can be multiple atom numberings for a given molecule, leading to different SMILES. SMILES can thus be enumerated for data augmentation [ 50 ]. The ensemble of SMILES representing one molecule can be referred to as enumerated or randomized SMILES and are obtained by, for each molecule, randomly selecting an initial node for graph traversal while keeping the same graph traversal algorithm, thus leading to different atom orderings [ 51 ]. For clarity, we emphasize that randomized SMILES do not use a random search to generate representations, they rely on a depth-first search. To avoid conflicting SMILES representations for the same molecule, a unique SMILES can be designated, and several canonicalization methods exist to this end [ 38 , 52 , 53 ]. A schematic illustrating the difference between two SMILES variants is shown in Fig. 4 .”mechanisms[4]
mechanismSMARTS Generalizes atom and bond patterns with logical and recursive queries. — “There exists an extension of SMILES developed for substructure searching, named SMILES Arbitrary Target Specification (SMARTS) [ 57 ]. In SMILES there exist two types of symbols to signify atoms and bonds which describe the underlying connectivity of a given molecular graph. However, in SMARTS, the available symbols allow for a more general specification of the molecular graph. This can be likened to the use of regular expressions in computer science. Classical SMARTS can describe an ensemble of molecules that differ at one atom or bond position. It is also possible to include logical operators such as “OR” and “NOT”. Contrary to SMILES, SMARTS can specify different isotopes or bonds types (aromatic or aliphatic). Detailed information about an atom environment can be given using Recursive SMARTS (e.g. ortho, meta, or para substitution patterns in arenes). All SMILES can be valid SMARTS, however the reverse is not true, and decoding a SMILES as a SMARTS will generally not yield the same decoded pattern.”mechanisms[5]
mechanismInChI layering Separates formula, connectivity, charge, stereochemistry, and isotope information. — “The best example of open-source canonical notation is the InChI (International Chemistry Identifier) representation [ 10 ], which was introduced in 2006 by NIST, under the auspices of the IUPAC, as a standard and freely available formula representation. InChI are composed of multiple layers, such as the Main , Charge , Stereochemical , and Isotopic layers, to name a few, which are themselves constituted of sublayers. For example, the Main layer is composed of the Chemical formula , Atom connections , and Hydrogen atoms sublayers (Fig. 5 ).”mechanisms[6]
mechanismhash function Assigns molecule-derived structural patterns into fixed-length bits. — “Chemical fingerprints are vectors which contain indexed (ordered) elements encoding for physicochemical or structural properties. Hashed fingerprints differ from other descriptors by the fact that each feature is generated from the molecule itself, while in keys, patterns are pre-defined. Their lengths can be set prior to their generation and a hash function assigns molecular patterns to (non-unique) bits, hence the name. Topological or path-based fingerprints are represented by Daylight fingerprints, which usually consist of 512, 1024, or 2048 bits. The Daylight fingerprint encodes for every connectivity pathway within a molecule up to a given length. Circular fingerprints are representations of chemical structures by atom neighbourhoods and have been widely applied in Quantitative Structure–Activity Relationship (QSAR) analysis. A widely used class of circular fingerprints is ECFP (Extended Connectivity Fingerprints) [ 66 ], based on the Morgan algorithm. In ECFPs, heavy (i.e. non-hydrogen) atoms are encoded into multiple circular layers up to a given diameter.”mechanisms[7]
mechanismSMIRKS Combines SMARTS context with SMILES bond changes for generic transformations. — “SMIRKS belong to the same family as SMILES and SMARTS. Where SMARTS describe molecular patterns or substructures generically, SMIRKS patterns can be used to define generic reaction transformations. They can be used to describe the reaction centre, to enumerate virtual libraries, and to form the knowledge base for reaction and retrosynthetic prediction systems. If one considers that a reaction is a set of atoms and bonds that change during a reaction and the reactant or substrate upon which that change occurs, then SMIRKS must encode the same set of atoms and bonds that change during the reaction, and the site at which that change occurs in the substrate as specified by a SMARTS pattern. The SMARTS pattern is used to specify both the site at which the atom and bond changes occur, and to capture any indirect effects that may influence the reaction. The atomic expressions must be defined such that (a) for any part of a molecule that is to be considered in a generic transformation for which the bonding does not change, SMARTS are to be used, and (b) in cases where bonds change, SMILES are to be used. In this sense, SMIRKS is a hybrid approach between SMILES and SMARTS. There are some rules that must be followed in order to ensure that SMIRKS patterns can be applied. The two sides of the transformation, the reactant(s) and product(s), must contain the same number of mapped atoms, and they must correspond on either side of the reaction. Additionally, any explicit hydrogens must appear explicitly on either side of the reaction and have corresponding atom mapping numbers. SMIRKS are converted into a reaction graph for their subsequent use. The reaction SMILES and corresponding SMIRKS are shown in Fig. 6 .”mechanisms[8]
mechanismRInChI layering Records molecules, roles, balance, steps, equilibrium, and direction. — “An extension of the InChI, RInChI [ 18 , 70 ], was developed between 2008 and 2018 and introduced a unique, order invariant identifier for reactions. It was developed in response to the growing size of reaction data to aid reproducibility, to consider more information than just the participating molecules, and to provide enough information such that practically identical reactions would be represented the same way. RInChI grammar, however, is relatively more complicated than that of Reaction SMILES.”mechanisms[9]
mechanismcondensed graph of reaction Superposes reactants and products while marking changed atoms and bonds. — “Varnek and co-workers have developed the CGR approach [ 19 ], whereby molecular structures are encoded in a matrix containing the occurrence of fragments of a given type. The CGR is a superposition of the reactant and product molecules, and additionally defines what atoms and bonds have changed as well as their properties. This builds on the description of organic reactions using imaginary transition states as described by Fujita [ 72 ]. In analogy to SMIRKS, the CGR can be used to describe a reaction transformation. An example CGR is shown in Fig. 6 .”mechanisms[10]
mechanismreaction fingerprint Subtracts reactant from product fingerprints to encode structural change. — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”mechanisms[11]
mechanismCHUCKLES Translates polymer sequences to SMILES through monomer lookup and concatenation. — “A method named CHUCKLES [ 12 ] was developed in 1994 to infer SMILES of polymers from their sequences and vice versa. In cheminformatics, this method is particularly useful in inferring the SMILES from the peptide sequence, which is referred to as Forward Translation (FT). In FT, monomers sequences and SMILES are stored in a lookup table, with the SMILES excluding any atoms which would be involved in monomer bonding. For linear structures, SMILES corresponding to each residue are concatenated. In branched and cyclized structures, monomer indices are mapped to the SMILES, thus encoding for structures such as disulfide bridges. CHUCKLES is applicable to oligomeric structures and is used in BIOPEP-UWM [ 87 ]. An extension of CHUCKLES, CHORTLES, was designed to handle oligomeric mixtures. Two notations are well known for their ability to describe a broad range of macromolecules: the Hierarchical Editing Language for macromolecules (HELM) [ 14 , 88 ] and the Self-Contained Sequence Representation (SCSR) [ 89 ]. Both representations were developed concurrently, the first one relying on SMILES and the second one on the v3000 Molfile format. SCSR was developed by BIOVIA which provides automated interconversion between HELM and SCSR.”mechanisms[12]
mechanismgraph representation learning Uses a graph network to produce an embedding for prediction or design. — “With the development of graph neural networks, a wave of recent work in drug discovery has focused on using the molecular graph representation directly for both property prediction and de novo design. As such, the molecular graph representation can be used for various applications within AI, and there is a large body of work discussing its use for molecular property prediction [ 26 , 116 – 119 ], and, more recently, molecular graph generation [ 120 – 125 ] and synthesis prediction [ 126 ]. In most cases this is done through graph representation learning, by which a graph embedding is obtained from the full graph representation using a graph network [ 127 , 128 ]; the learned graph embedding can be used as input to a property prediction model, such as a RF or DNN, in the same way a classic molecular fingerprint [ 66 , 129 , 130 ] is used. Until recently, more compact linear notations such as SMILES strings were favoured for many ML applications involving molecules, in part due to the larger memory requirement of molecular graph representations; this is, however, slowly changing. For two excellent reviews of deep learning applications in chemistry and drug discovery, we recommend [ 26 ] and [ 131 ]. For a good review on molecular generative models using AI, we recommend [ 132 ].”mechanisms[13]
mechanismOCR Translates 2D chemical depictions in papers and patents into standard representations. — “We previously showed how the process of visualizing molecules has become faster, more practical, and more enjoyable thanks to better computational tools. This process is still an important field of research for which virtual reality and 3D printing techniques have been developed. Moreover, as the need for harvesting the large amounts of published data grows, the demand for methods for easily mining structures from papers and patent data is also growing. Optical Character Recognition (OCR) systems, relying on a variety of ML and probabilistic pattern recognition techniques, were created to translate 2D depictions of chemical structures to standard chemical representations [ 146 – 148 ]. Nonetheless, the development of OCR systems can be hindered by the images’ resolutions, the computational interpretations of chemical abbreviations, and the nature of the image representation, which can be embedded in text, in figures containing multiple structures, or in reaction pathways, and can be represented as either a skeletal formula or a Markush structure.”mechanisms[14]
builds-on the molecular graph as the common base of many chemical formats — “In order to understand the chemical representations presented in this review, it is important that the reader first has a solid understanding of molecular graphs, as most molecular representations discussed in this work are built on the molecular graph representation. However, there is a distinction between the notations and file formats built using molecular graphs (e.g. SMILES strings, Molfiles), and the abstract mathematical structure/data structure of a graph itself. The latter is introduced here.”claim_relations[0]
contrasts-with an exhaustive catalog of all chemical representations — “In this review, we focus on chemical representations in cheminformatics and drug discovery. We first introduce the concept of a molecular graph, which is the most common machine-readable representation, and we give a brief overview of the main notations which paved the way for the current cheminformatics notations. We then focus on the representations that are used nowadays in the field of applying artificial intelligence (AI) to cheminformatics and drug discovery. Finally, we provide examples of AI-related applications using the chemical representations discussed in this review. This review is intended to provide an overview of basic cheminformatics knowledge to practising cheminformaticians, students in chemistry, cheminformatics, bioinformatics, and computer science, and anyone interested to learn more about molecular representations in drug discovery. While the coverage of representations introduced herein is not intended to be exhaustive, we emphasise that the representation used to solve a problem is always dependent on the task. Thus, the coverage is limited to areas where there is active research in applying machine learning (ML) and AI to cheminformatics and drug discovery. For readers interested in further reading on these topics we recommend references [ 22 – 29 ], in addition to the references cited in each section.”claim_relations[1]
builds-on IUPAC representation terminology and standards — “According to the IUPAC formalism set in 1964 [ 28 ], notations can be classified as being unique (i.e. one notation for a given compound), non-unique (i.e. more than one notation for a given compound), ambiguous (i.e. the notation will regenerate more than one compound), or/and unambiguous (i.e. the notation will regenerate only the original compound). This formalism is used to describe notations in this section.”claim_relations[2]
builds-on reported AI applications across graphs, strings, reactions, macromolecules, and images — “Molecules are complex structures and their representations must account not only for a wide variety of properties, such as stereochemistry and valence, but also for the different nature of these small molecules and macromolecules. The rise of cheminformatics and bioinformatics has led to a faster and more efficient drug discovery process as well as to a better understanding of molecular behaviour. In this review, we presented various popular notations and representations for small molecules, polymers, and proteins and their most common uses related to AI within computational drug discovery. We hope that this review will benefit practising cheminformaticians, students, and anyone else interested to learn more about the underlying molecular representations in cheminformatics that can be used in AI-driven drug discovery applications.”claim_relations[3]
sensechemical representation as any compound encoding, with notation reserved for linear forms — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”senses[0]
sensemolecular graph as mathematical structure distinct from graph-derived file formats — “In order to understand the chemical representations presented in this review, it is important that the reader first has a solid understanding of molecular graphs, as most molecular representations discussed in this work are built on the molecular graph representation. However, there is a distinction between the notations and file formats built using molecular graphs (e.g. SMILES strings, Molfiles), and the abstract mathematical structure/data structure of a graph itself. The latter is introduced here.”senses[1]
sense3D graph information as attributes rather than intrinsic spatial positions — “A molecular graph representation is formally a 2D object that can be used to represent 3D information (e.g. atomic coordinates, bond angles, chirality). However, any spatial relationships between the nodes must be encoded as node and/or edge attributes, as nodes in a graph (the mathematical object) do not formally have spatial positions, only pairwise relationships. There are of course limitations to this representation, which are discussed in a later section. The 2D and 3D representations of graphs can easily be visualized by many software packages, including ChemDraw [ 30 ], Mercury [ 31 ], Avogadro [ 32 ], VESTA [ 33 ], PyMOL [ 34 ], and VMD [ 35 ] (the latter 5 are suitable for small- and macro-molecules, and either free or open-source).”senses[2]
sensecanonical consistency as deterministic node ordering and tie-breaking — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”senses[3]
senserepresentation quality as task dependent rather than absolute — “Furthermore, when working with molecular graphs, there is not one correct way to represent any molecule, and the representation chosen must be appropriate for the task.”senses[4]
senselinear notation as compact identity-search representation rather than direct matrix — “This is not a problem with linear notations, which build upon the graph framework to create more compact and memory-efficient representations for molecules [ 38 ]. Linear notations have the advantage that they can be, for example, entries in a table, as well as easily searchable (for identity search, not substructure search), when a matrix representation is not convenient.”senses[5]
senserandomized SMILES as random initial node with deterministic depth-first traversal — “There can be multiple atom numberings for a given molecule, leading to different SMILES. SMILES can thus be enumerated for data augmentation [ 50 ]. The ensemble of SMILES representing one molecule can be referred to as enumerated or randomized SMILES and are obtained by, for each molecule, randomly selecting an initial node for graph traversal while keeping the same graph traversal algorithm, thus leading to different atom orderings [ 51 ]. For clarity, we emphasize that randomized SMILES do not use a random search to generate representations, they rely on a depth-first search. To avoid conflicting SMILES representations for the same molecule, a unique SMILES can be designated, and several canonicalization methods exist to this end [ 38 , 52 , 53 ]. A schematic illustrating the difference between two SMILES variants is shown in Fig. 4 .”senses[6]
senseunique notation as one notation per compound and unambiguous notation as one decoded compound — “According to the IUPAC formalism set in 1964 [ 28 ], notations can be classified as being unique (i.e. one notation for a given compound), non-unique (i.e. more than one notation for a given compound), ambiguous (i.e. the notation will regenerate more than one compound), or/and unambiguous (i.e. the notation will regenerate only the original compound). This formalism is used to describe notations in this section.”senses[7]
sensedescriptor as property encoding rather than reconstructable molecular structure — “The representations presented above are atom-based, meaning it is possible to rebuild the molecule based on the representation. There exist, however, other types of notations which, rather than encoding the exact structure of a compound, instead encode the physicochemical, structural, topological, and/or electronic properties of a compound. These are referred to as molecular descriptors [ 11 ] among which two main classes are structural keys and the hashed fingerprints. Descriptors are unique and ambiguous notations widely used in cheminformatics, and their complete descriptions would require a review of their own. A non-exhaustive list can be found in association with the Dragon software [ 61 ], which can calculate 4885 descriptors.”senses[8]
sensereaction representation as inheriting the limitations of its molecular components — “Many of the representations described in the previous sections natively allow for, can be extended, or have analogous representations for describing chemical reactions. As the description of reactions is that of a set of molecules, limitations in each of the previously described representations are inherited in the description of chemical reactions. A reaction is often represented graphically with the reactants written to the left of a reaction arrow , and a set of resulting products written to the right of this arrow. The conditions under which the transformation occurs are written above or below the arrow, including information such as reagents, catalysts, solvents, temperature, and so forth. The graphical illustrations of reaction schemes often found in publications are, however, not easily machine-readable. Therefore, there exist a series of reaction data exchange formats that enable reactions to be represented in a machine-readable format. There is no inherent requirement for one format or another, as this is dependent on the application, toolkit, or software package used. Commonly used formats include the RXN and RD files described in an earlier section.”senses[9]
sensereaction centre as changed atoms and bonds rather than the full reaction record — “Regardless of the representation used, a key problem in the representation of chemical reactions is the identification of the reaction centre. One approach to reaction centre detection and atom mapping is finding the maximum common substructure (MCS) between reactant and product molecules. The determination of the MCS is an NP-complete problem, meaning that the solution is non-deterministic in polynomial time. Several reviews discuss these approaches and have been referenced for the interested reader [ 78 – 80 ].”senses[10]
sensemacromolecule representation as an interface between atomic chemistry and biological sequence — “This section places itself at the interface between bioinformatics and cheminformatics. While in cheminformatics small molecules are described on the atomic-level, in bioinformatics, polymers, such as a proteins or polynucleotide molecules, are more commonly defined using their nucleotide and amino acid sequences. Representations which combine atomic and sequence information are presented here.”senses[11]
senseHELM granularity as complex polymer, simple polymer, monomer, and atom — “In the following lines, we provide further details on HELM, which was developed by Pfizer under the auspices of the Pistoia Alliance. The objective of the project was to design a system representing combinations of component structure types (e.g. peptides, antibodies, chemical modifiers). An example of HELM notation is shown in Fig. 9 . Initially, HELM was limited to well-defined structures; however, HELM2 overcame this limitation and can describe polymer mixtures and free-form annotations. HELM represents monomers in a SMILES-like format, simple polymers using a simplified version of CHUCKLES and complex polymers using graphs. Its structure hierarchy follows the granularity of the structures: Complex Polymer, Simple Polymer, Monomer, and Atom. HELM is implemented in many pharmaceutical companies [ 90 ], in public databases (in 2016, ChEMBL21 contained 20,000 peptides annotated with HELM [ 91 ]), as well as in various packages and software such as RDKit (limited to peptides), ChemDraw, the Biomolecule Toolkit, ChemAxon, and Sugar&Splice, which can all encode for peptides, DNA, and RNA.”senses[12]
senserepresentation learning as learned vectors rather than hand-calculated fingerprints — “Despite this being a review of molecular representations, many of these representations are themselves used in representation learning applications within deep learning. Representation learning is the idea of learning an internal representation (e.g. a vector) for a given object (e.g. a molecule) and then using that internal representation for a predictive task. These internal representations are learned, meaning models can be trained to create them using classic techniques such as backpropagation in neural networks. With representation learning tasks, it is key to first identify a suitable input representation of a molecule that contains as much of the desired/necessary information to solve a problem as possible. Of the applications described below, any using deep neural network (DNN) architectures are essentially carrying out representation learning tasks, whereas classical ML methods such as random forests (RFs) and support vector machines do not operate by learning internal representations.”senses[13]
senserepresentation selection as a multi-stage workflow decision — “At this point, it might become clear to the reader that many applications within drug discovery require multiple representations to be used simultaneously to solve a problem. For example, in protein structure prediction, one might start with the protein sequence, create a rudimentary 3D model of the structure, and then use advanced molecular dynamics methods to understand how the protein folds and what the final configuration/structure for the protein might be. The coordinates of the optimized protein structure (e.g. a PDB file) might then go on to be used in docking calculation, etc. Technical aspects may factor into the choice of representation(s) a researcher might make, such as the complexity of the method(s) for generating the representation(s), and if they are openly accessible.”senses[14]
notethe molecular graph as the common base of many chemical formats — The review organizes many later formats around this shared abstraction. — “In order to understand the chemical representations presented in this review, it is important that the reader first has a solid understanding of molecular graphs, as most molecular representations discussed in this work are built on the molecular graph representation. However, there is a distinction between the notations and file formats built using molecular graphs (e.g. SMILES strings, Molfiles), and the abstract mathematical structure/data structure of a graph itself. The latter is introduced here.”claim_relations[0]
weightthe molecular graph as the common base of many chemical formats — 0.95 — “In order to understand the chemical representations presented in this review, it is important that the reader first has a solid understanding of molecular graphs, as most molecular representations discussed in this work are built on the molecular graph representation. However, there is a distinction between the notations and file formats built using molecular graphs (e.g. SMILES strings, Molfiles), and the abstract mathematical structure/data structure of a graph itself. The latter is introduced here.”claim_relations[0]
notean exhaustive catalog of all chemical representations — The authors explicitly limit coverage to active AI and ML areas. — “In this review, we focus on chemical representations in cheminformatics and drug discovery. We first introduce the concept of a molecular graph, which is the most common machine-readable representation, and we give a brief overview of the main notations which paved the way for the current cheminformatics notations. We then focus on the representations that are used nowadays in the field of applying artificial intelligence (AI) to cheminformatics and drug discovery. Finally, we provide examples of AI-related applications using the chemical representations discussed in this review. This review is intended to provide an overview of basic cheminformatics knowledge to practising cheminformaticians, students in chemistry, cheminformatics, bioinformatics, and computer science, and anyone interested to learn more about molecular representations in drug discovery. While the coverage of representations introduced herein is not intended to be exhaustive, we emphasise that the representation used to solve a problem is always dependent on the task. Thus, the coverage is limited to areas where there is active research in applying machine learning (ML) and AI to cheminformatics and drug discovery. For readers interested in further reading on these topics we recommend references [ 22 – 29 ], in addition to the references cited in each section.”claim_relations[1]
noteIUPAC representation terminology and standards — The review applies IUPAC's uniqueness and ambiguity distinctions. — “According to the IUPAC formalism set in 1964 [ 28 ], notations can be classified as being unique (i.e. one notation for a given compound), non-unique (i.e. more than one notation for a given compound), ambiguous (i.e. the notation will regenerate more than one compound), or/and unambiguous (i.e. the notation will regenerate only the original compound). This formalism is used to describe notations in this section.”claim_relations[2]
weightIUPAC representation terminology and standards — 0.95 — “According to the IUPAC formalism set in 1964 [ 28 ], notations can be classified as being unique (i.e. one notation for a given compound), non-unique (i.e. more than one notation for a given compound), ambiguous (i.e. the notation will regenerate more than one compound), or/and unambiguous (i.e. the notation will regenerate only the original compound). This formalism is used to describe notations in this section.”claim_relations[2]
notereported AI applications across graphs, strings, reactions, macromolecules, and images — The guide synthesizes established uses rather than introducing one new algorithm. — “Molecules are complex structures and their representations must account not only for a wide variety of properties, such as stereochemistry and valence, but also for the different nature of these small molecules and macromolecules. The rise of cheminformatics and bioinformatics has led to a faster and more efficient drug discovery process as well as to a better understanding of molecular behaviour. In this review, we presented various popular notations and representations for small molecules, polymers, and proteins and their most common uses related to AI within computational drug discovery. We hope that this review will benefit practising cheminformaticians, students, and anyone else interested to learn more about the underlying molecular representations in cheminformatics that can be used in AI-driven drug discovery applications.”claim_relations[3]
weightreported AI applications across graphs, strings, reactions, macromolecules, and images — 0.95 — “Molecules are complex structures and their representations must account not only for a wide variety of properties, such as stereochemistry and valence, but also for the different nature of these small molecules and macromolecules. The rise of cheminformatics and bioinformatics has led to a faster and more efficient drug discovery process as well as to a better understanding of molecular behaviour. In this review, we presented various popular notations and representations for small molecules, polymers, and proteins and their most common uses related to AI within computational drug discovery. We hope that this review will benefit practising cheminformaticians, students, and anyone else interested to learn more about the underlying molecular representations in cheminformatics that can be used in AI-driven drug discovery applications.”claim_relations[3]
notelinear representations —same-as→ notations — Direct naming equivalence. — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”concept_edges[0]
relationlinear representations —same-as→ notations — Linear representations are referred to as notations. — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”concept_edges[0]
noteadjacency matrix —same-as→ connectivity matrix — Direct naming equivalence. — “How the atoms are connected is commonly represented in the form of an adjacency matrix A ; given that a ij is an element of A , a ij = 1 means that there exists a bond between nodes v i and v j in molecular graph G , whereas a ij = 0 means that there exists no bond between them (Fig. 1 b). The adjacency matrix is also sometimes referred to as the connectivity matrix . Note that the adjacency matrix does not necessarily specify what type of bond is connecting each pair of nodes.”concept_edges[1]
relationadjacency matrix —same-as→ connectivity matrix — The adjacency matrix is also referred to as the connectivity matrix. — “How the atoms are connected is commonly represented in the form of an adjacency matrix A ; given that a ij is an element of A , a ij = 1 means that there exists a bond between nodes v i and v j in molecular graph G , whereas a ij = 0 means that there exists no bond between them (Fig. 1 b). The adjacency matrix is also sometimes referred to as the connectivity matrix . Note that the adjacency matrix does not necessarily specify what type of bond is connecting each pair of nodes.”concept_edges[1]
notereaction fingerprints —is-a→ vector representations of reactions — Direct categorical definition. — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”concept_edges[2]
relationreaction fingerprints —is-a→ vector representations of reactions — Reaction fingerprints are vector representations of reactions. — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”concept_edges[2]
relationchemical representation → encoding of a chemical compound — The review defines a chemical representation as any encoding of a chemical compound. — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”unhoused_relations[0]
relationmolecular graph representation → 2D object — A molecular graph representation is formally a 2D object. — “A molecular graph representation is formally a 2D object that can be used to represent 3D information (e.g. atomic coordinates, bond angles, chirality). However, any spatial relationships between the nodes must be encoded as node and/or edge attributes, as nodes in a graph (the mathematical object) do not formally have spatial positions, only pairwise relationships. There are of course limitations to this representation, which are discussed in a later section. The 2D and 3D representations of graphs can easily be visualized by many software packages, including ChemDraw [ 30 ], Mercury [ 31 ], Avogadro [ 32 ], VESTA [ 33 ], PyMOL [ 34 ], and VMD [ 35 ] (the latter 5 are suitable for small- and macro-molecules, and either free or open-source).”unhoused_relations[1]
relationgraph → tuple — A graph is formally defined as a tuple of node and edge sets. — “A graph 1 is formally defined as a tuple G = ( V , E ) of a set of nodes V and a set of edges E , where each edge e ∊ E connects pairs of nodes in V . In a molecular graph, V is intuitively the set of all atoms in a molecule, and E is the set of all bonds linking the atoms, although this does not have to be the case. Molecular graphs are generally undirected, meaning that the pairs in E are unordered. [ 36 ].”unhoused_relations[2]
relationstructural keys → bit strings — Structural keys are bit strings encoding group absence and presence. — “Structural keys are bit strings, encoding for the absence (using a 0) and the presence (using a 1) of a specific chemical group. To provide a general understanding of the structural keys concept, we present here a few widely used keys.”unhoused_relations[3]
relationPeptides → chains of 2 to 50 AAs — Peptides are chains of two to fifty amino acids. — “Peptides are chains of 2 to 50 AAs linked by peptide bonds. They can be antibiotics, immunosuppressants, or antitumor agents. This broad range of biological activity sparked the interest of the community.”unhoused_relations[4]
relationProteins → polypeptides — Proteins are polypeptides of fifty or more amino acids. — “Proteins are polypeptides made up of 50 or more amino acids. They are generally biological targets; however, therapeutic protein drugs have been engineered [ 94 ]. The largest repository of 3D structures of proteins and nucleic acids is the Protein Data Bank (PDB) [ 17 ], which contains more than 150,000 structures. PDB entries contain the atomic coordinates of every atom in a protein structure as well as solvent molecules (if applicable). Each atom is identified by a sequential number, a specific atom name, the name and number of its corresponding residue, a one-letter code specifying the chain, its spatial coordinates ( x , y , and z ), and an occupancy and temperature factor. Furthermore, any notations mentioned in the Peptide section can be used for protein representations. In 2008, the Protein Line Notation (PLN) [ 16 ] was created by Biochemfusion and is implemented in PubChem. Pseudo-atoms were used to represent a simplified version of a residue structure, which enabled a lossless conversion between chemistry and sequence formats.”unhoused_relations[5]
relationmolecular formula → molecular connectivity and geometry — A molecular formula does not encode atom linkage or molecular geometry. — “Over the years, scientists have developed many notations depicting various properties of a compound. A classic notation is the empirical formula, a non-standard form of Hill notation. Seemingly simple at first glance, the empirical formula of alanine, C 3 H 7 NO 2 , exemplifies the complexity of building a notation. Indeed, while information about the atoms is available, it is not possible to know how the atoms are linked from the molecular formula which, moreover, does not encode information related to the molecular geometry. As such, the molecular formula above can be associated to alanine as well as to sarcosine and lactamide. Variants of empirical formulas emphasizing any functional groups also exist but are loosely defined. In these group-centric representations, elements are grouped in the formula as they would be in the molecule so as to highlight any functional groups present e.g. CH 3 CH(NH 2 )COOH to represent alanine.”unhoused_relations[6]
relationatoms and bonds → nodes and edges — Molecular graphs map atoms and bonds onto nodes and edges. — “The idea behind the molecular graph representation lies in mapping the atoms and bonds that make up a molecule into sets of nodes and edges . Intuitively, one could imagine treating the atoms in a molecule as nodes and the bonds as edges , although there is no reason one could not consider other mappings. In typical graph representations, the nodes are represented using circles or spheres, and the edges using lines. In the case of molecular graphs, the nodes are instead often represented using letters indicating the atom type (as on the periodic table), or simply using points where the bonds meet (for carbon atoms).”unhoused_relations[7]
relationgraph traversal algorithm → node order — Traversal selects the order used by matrix and string representations. — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”unhoused_relations[8]
relationapplication task → molecular representation — The appropriate representation depends on the task. — “Furthermore, when working with molecular graphs, there is not one correct way to represent any molecule, and the representation chosen must be appropriate for the task.”unhoused_relations[9]
relationpairwise molecular graph → delocalized and multivalent bonding — Ordinary molecular graphs cannot describe several non-pairwise bonding schemes. — “There are many types of molecules which cannot be described by the graph model. This is any structure containing any form of delocalized bonds, such as coordination compounds, as well as any molecule containing any of the following: polycentric bonds, ionic bonds, or metal–metal bonds. For example, organometallic compounds such as metallocenes or metal carbonyl complexes are difficult to describe using molecular graphs because their bonding scheme cannot be explained by valence bond theory. In other words, it would be difficult to describe the bonds using only pairwise relationships between atoms.”unhoused_relations[10]
relationdynamic molecular rearrangement → single static graph — A static graph may be inappropriate or detrimental for a rearranging molecule. — “For molecules where the arrangement of atoms is constantly changing in 3D space, the graph representation might not be meaningful, especially if pairwise bonds are breaking and forming or if the structure is frequently rearranging. That is, for applications where one is limited to using a single static representation for a molecule that is in fact rearranging on the timescale of the problem (e.g. tautomers), then a single molecular graph representation would not be appropriate and could even be detrimental to solving the problem.”unhoused_relations[11]
weightdynamic molecular rearrangement → single static graph — 0.7 — “For molecules where the arrangement of atoms is constantly changing in 3D space, the graph representation might not be meaningful, especially if pairwise bonds are breaking and forming or if the structure is frequently rearranging. That is, for applications where one is limited to using a single static representation for a molecule that is in fact rearranging on the timescale of the problem (e.g. tautomers), then a single molecular graph representation would not be appropriate and could even be detrimental to solving the problem.”unhoused_relations[11]
relationimplicit hydrogens → connection-table size — Treating hydrogens as heavy-atom properties reduces atom and bond blocks. — “Whilst graphs underlie the representation of molecules, the matrices by which they are described are not a compact representation, and scale as the square of the number of atoms. The connection table (Ctab) [ 39 ] is composed of six parts: (1) Counts line , (2) Atom block , (3) Bond block , (4) Atom list block , (5) Stext block , and (6) Properties block . Readers are referred to the referenced material for a detailed description of each component. The counts line is always the first line, and as such gives an overview of the structure by specifying the number of atoms, bonds, and atom lists, as well as the presence or absence of chirality. The version (V2000 or V3000) is also specified on this line. The atom block describes the identities of the atoms as a list with arbitrary index values, as well as the atomic symbols, mass differences, charge, stereochemistry, and associated hydrogens. Note that it is often practical to treat any hydrogens in a molecule as implicit —that is, not storing hydrogens as atom objects and instead implicitly defining the hydrogen count using a valence model. Treating hydrogens as properties of the heavy atoms rather than as explicit nodes significantly reduces the size of the atom and bond block, making the format more compact. These can be recalculated based on valence rules if required; in such cases, valency information must be given explicitly in the atom block. The bond block describes the connectivity of the atoms as well as the identity of the bonds connecting them. The atoms may be fully or partially connected by bonds, thereby supporting the description of fragments and unconnected atoms. The bond block is composed of the atom indices and bond types; the bond order is also provided as an additional column. There is no requirement for the bond block of the connection table to be ordered in a particular way. The two blocks are combined to form the core of the Ctab. Similarly to a matrix representation, the Ctab is extensible, meaning that lists describing supported properties may be added to the properties block. Notably, any entries associated with charges, radicals, or isotopes supersede those in the atom block, if present. As a result of backwards compatibility to previous versions and the prevalence programs utilising them, connection tables have become one of the standard formats for handling chemical structural information and underlie the widely used Molfile formats. It should be noted that connection tables are in themselves not a file format but are the core building block around which CT files are built.”unhoused_relations[12]
relationrandomized SMILES → data augmentation — Alternative starting nodes generate multiple valid strings for training. — “There can be multiple atom numberings for a given molecule, leading to different SMILES. SMILES can thus be enumerated for data augmentation [ 50 ]. The ensemble of SMILES representing one molecule can be referred to as enumerated or randomized SMILES and are obtained by, for each molecule, randomly selecting an initial node for graph traversal while keeping the same graph traversal algorithm, thus leading to different atom orderings [ 51 ]. For clarity, we emphasize that randomized SMILES do not use a random search to generate representations, they rely on a depth-first search. To avoid conflicting SMILES representations for the same molecule, a unique SMILES can be designated, and several canonicalization methods exist to this end [ 38 , 52 , 53 ]. A schematic illustrating the difference between two SMILES variants is shown in Fig. 4 .”unhoused_relations[13]
relationproprietary SMILES canonicalization → toolkit variation — A proprietary algorithm leads implementations to vary. — “The OpenSMILES [ 56 ] specification was developed in 2007 to provide a SMILES standard form and to clarify some interpretations of corner cases present in the Daylight’s SMILES system. A major issue with Daylight’s SMILES is that its canonicalization algorithm is proprietary, and as such implementations vary between companies and research teams. A novel open source method to generate canonical SMILES was developed in 2012 [ 38 ]. Such SMILES are generated using the canonical label provided by the InChI representation [ 10 ], which is described later in this section. Using such “universal” SMILES seeks to facilitate the comparison between chemical models used by different toolkits.”unhoused_relations[14]
weightproprietary SMILES canonicalization → toolkit variation — 0.95 — “The OpenSMILES [ 56 ] specification was developed in 2007 to provide a SMILES standard form and to clarify some interpretations of corner cases present in the Daylight’s SMILES system. A major issue with Daylight’s SMILES is that its canonicalization algorithm is proprietary, and as such implementations vary between companies and research teams. A novel open source method to generate canonical SMILES was developed in 2012 [ 38 ]. Such SMILES are generated using the canonical label provided by the InChI representation [ 10 ], which is described later in this section. Using such “universal” SMILES seeks to facilitate the comparison between chemical models used by different toolkits.”unhoused_relations[14]
relationSMARTS → SMILES — All SMILES can be SMARTS, but the reverse is false and decoding differs. — “There exists an extension of SMILES developed for substructure searching, named SMILES Arbitrary Target Specification (SMARTS) [ 57 ]. In SMILES there exist two types of symbols to signify atoms and bonds which describe the underlying connectivity of a given molecular graph. However, in SMARTS, the available symbols allow for a more general specification of the molecular graph. This can be likened to the use of regular expressions in computer science. Classical SMARTS can describe an ensemble of molecules that differ at one atom or bond position. It is also possible to include logical operators such as “OR” and “NOT”. Contrary to SMILES, SMARTS can specify different isotopes or bonds types (aromatic or aliphatic). Detailed information about an atom environment can be given using Recursive SMARTS (e.g. ortho, meta, or para substitution patterns in arenes). All SMILES can be valid SMARTS, however the reverse is not true, and decoding a SMILES as a SMARTS will generally not yield the same decoded pattern.”unhoused_relations[15]
relationInChIKey → InChI — A key can occasionally map to more than one parent InChI. — “A hashed version of the InChI, the InChIKey, is used for open-web searching and library searching [ 58 ]. The first block of an InChIKey represents the molecular skeleton, and the second block encodes for isomerism. InChIKeys are designed to be unique representations of their corresponding parent InChI representations. However, an InChIKey can sometimes map to more than one InChI, the situation being referred to as an InChIKey collision [ 59 ]. Unlike SMILES, InChIs are not guaranteed to be decodable back to the molecular graphs from which they originate, and SMILES have the advantage of being more human-readable. For a detailed overview of the applications of InChIs and the underlying algorithm, readers are referred to the works of Heller [ 10 ] and Warr [ 60 ].”unhoused_relations[16]
weightInChIKey → InChI — 0.95 — “A hashed version of the InChI, the InChIKey, is used for open-web searching and library searching [ 58 ]. The first block of an InChIKey represents the molecular skeleton, and the second block encodes for isomerism. InChIKeys are designed to be unique representations of their corresponding parent InChI representations. However, an InChIKey can sometimes map to more than one InChI, the situation being referred to as an InChIKey collision [ 59 ]. Unlike SMILES, InChIs are not guaranteed to be decodable back to the molecular graphs from which they originate, and SMILES have the advantage of being more human-readable. For a detailed overview of the applications of InChIs and the underlying algorithm, readers are referred to the works of Heller [ 10 ] and Warr [ 60 ].”unhoused_relations[16]
relationhash function → fingerprint bits — Hashing assigns molecular patterns to non-unique fixed-length positions. — “Chemical fingerprints are vectors which contain indexed (ordered) elements encoding for physicochemical or structural properties. Hashed fingerprints differ from other descriptors by the fact that each feature is generated from the molecule itself, while in keys, patterns are pre-defined. Their lengths can be set prior to their generation and a hash function assigns molecular patterns to (non-unique) bits, hence the name. Topological or path-based fingerprints are represented by Daylight fingerprints, which usually consist of 512, 1024, or 2048 bits. The Daylight fingerprint encodes for every connectivity pathway within a molecule up to a given length. Circular fingerprints are representations of chemical structures by atom neighbourhoods and have been widely applied in Quantitative Structure–Activity Relationship (QSAR) analysis. A widely used class of circular fingerprints is ECFP (Extended Connectivity Fingerprints) [ 66 ], based on the Morgan algorithm. In ECFPs, heavy (i.e. non-hydrogen) atoms are encoded into multiple circular layers up to a given diameter.”unhoused_relations[17]
relationmolecular-representation limitations → reaction representations — Reaction formats inherit limitations of their molecular components. — “Many of the representations described in the previous sections natively allow for, can be extended, or have analogous representations for describing chemical reactions. As the description of reactions is that of a set of molecules, limitations in each of the previously described representations are inherited in the description of chemical reactions. A reaction is often represented graphically with the reactants written to the left of a reaction arrow , and a set of resulting products written to the right of this arrow. The conditions under which the transformation occurs are written above or below the arrow, including information such as reagents, catalysts, solvents, temperature, and so forth. The graphical illustrations of reaction schemes often found in publications are, however, not easily machine-readable. Therefore, there exist a series of reaction data exchange formats that enable reactions to be represented in a machine-readable format. There is no inherent requirement for one format or another, as this is dependent on the application, toolkit, or software package used. Commonly used formats include the RXN and RD files described in an earlier section.”unhoused_relations[18]
relationRInChI → generic transformation search — RInChI lacks a SMARTS or SMIRKS equivalent. — “A proposed further extension to RInChI, ProcAuxInfo, enables the storage of metadata relating to yields, temperature, concentration, and other reaction conditions [ 71 ]. RInChI offers an alternative to Reaction SMILES that enables the identification of duplicate reactions, as the order in which molecules are listed in Reaction SMILES is arbitrary. Hashing the RInChI to yield the RInChI key provides a powerful tool for efficiently indexing and searching reaction data [ 18 , 71 ]. However, there is no SMARTS or SMIRKS equivalent for RInChI, limiting its use in substructure searching and in encoding generic chemical transformations. The RInChI and corresponding keys are shown in Fig. 6 .”unhoused_relations[19]
relationreaction fingerprint → reaction graph — A reaction fingerprint cannot be easily converted into a reaction graph. — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”unhoused_relations[20]
relationCHUCKLES → polymer sequence and SMILES — CHUCKLES translates between monomer sequences and SMILES. — “A method named CHUCKLES [ 12 ] was developed in 1994 to infer SMILES of polymers from their sequences and vice versa. In cheminformatics, this method is particularly useful in inferring the SMILES from the peptide sequence, which is referred to as Forward Translation (FT). In FT, monomers sequences and SMILES are stored in a lookup table, with the SMILES excluding any atoms which would be involved in monomer bonding. For linear structures, SMILES corresponding to each residue are concatenated. In branched and cyclized structures, monomer indices are mapped to the SMILES, thus encoding for structures such as disulfide bridges. CHUCKLES is applicable to oligomeric structures and is used in BIOPEP-UWM [ 87 ]. An extension of CHUCKLES, CHORTLES, was designed to handle oligomeric mixtures. Two notations are well known for their ability to describe a broad range of macromolecules: the Hierarchical Editing Language for macromolecules (HELM) [ 14 , 88 ] and the Self-Contained Sequence Representation (SCSR) [ 89 ]. Both representations were developed concurrently, the first one relying on SMILES and the second one on the v3000 Molfile format. SCSR was developed by BIOVIA which provides automated interconversion between HELM and SCSR.”unhoused_relations[21]
relationHELM polymer-level readability → modified peptide design — Polymer-level notation can make residue modifications more intuitive. — “In comparison with purely atomic-based notations such as SMILES, biocheminformatics representations can facilitate the development of modified drug peptides. For example, the substitution of natural L-AA with D-AA can improve the oral bioavailability of a peptide [ 92 ]. Such modifications would be intuitive with HELM, which provides readability at the polymer level, whereas SMILES provides descriptions on the atomic level. While these methods constitute a step forward to a better understanding and unification of cheminformatics and bioinformatics, errors in the translation of peptide notation from biological into chemical language have been detected and practical solutions proposed [ 93 ].”unhoused_relations[22]
weightHELM polymer-level readability → modified peptide design — 0.7 — “In comparison with purely atomic-based notations such as SMILES, biocheminformatics representations can facilitate the development of modified drug peptides. For example, the substitution of natural L-AA with D-AA can improve the oral bioavailability of a peptide [ 92 ]. Such modifications would be intuitive with HELM, which provides readability at the polymer level, whereas SMILES provides descriptions on the atomic level. While these methods constitute a step forward to a better understanding and unification of cheminformatics and bioinformatics, errors in the translation of peptide notation from biological into chemical language have been detected and practical solutions proposed [ 93 ].”unhoused_relations[22]
relationglycan sequence notation → docking — Sequence-based glycan representations do not support atom-based docking without conversion. — “Oligosaccharides and polysaccharides are glycans containing more than 3 and 20 monosaccharides (the smallest sugar unit), respectively. In drug discovery, glycans are interesting as receptors, small molecule glycomimetics, therapeutic glycopeptides, and vaccines. Glycan databases are used by carbohydrate researchers and structures are generally recorded using monosaccharide-based notations [ 97 – 100 ]. These representations do not allow for the analysis of the interactions between glycans and proteins using docking techniques, which require atom-based representations. Converter tools have been developed [ 101 , 102 ] that translate these notations to atom-based representations. With the aim of creating a linear and unique notation for glycan data, compatible with the usage of the semantic web, the Web3 Unique Representation of Carbohydrate Structures (WURCS) [ 15 ] was developed and combined bioinformatics and cheminformatics features. The newest version of WURCS [ 103 ], used by the International Glycan Structure Repository GlyTouCan [ 104 ], encodes the following features: the main carbon backbone of a monosaccharide residue, the backbone modifications (i.e. atoms belonging to a monosaccharide which are not part of the backbone), and the linkage information between the backbone and a modification. The notation provides explicit anomeric information and can handle ambiguous monosaccharide structures (e.g. unknown ring closure or anomeric information). Currently, WURCS is implemented in many databases but unsupported by most cheminformatics software.”unhoused_relations[23]
relationmolecular graph → graph embedding — A graph network transforms the full graph into a predictive embedding. — “With the development of graph neural networks, a wave of recent work in drug discovery has focused on using the molecular graph representation directly for both property prediction and de novo design. As such, the molecular graph representation can be used for various applications within AI, and there is a large body of work discussing its use for molecular property prediction [ 26 , 116 – 119 ], and, more recently, molecular graph generation [ 120 – 125 ] and synthesis prediction [ 126 ]. In most cases this is done through graph representation learning, by which a graph embedding is obtained from the full graph representation using a graph network [ 127 , 128 ]; the learned graph embedding can be used as input to a property prediction model, such as a RF or DNN, in the same way a classic molecular fingerprint [ 66 , 129 , 130 ] is used. Until recently, more compact linear notations such as SMILES strings were favoured for many ML applications involving molecules, in part due to the larger memory requirement of molecular graph representations; this is, however, slowly changing. For two excellent reviews of deep learning applications in chemistry and drug discovery, we recommend [ 26 ] and [ 131 ]. For a good review on molecular generative models using AI, we recommend [ 132 ].”unhoused_relations[24]
relationimage resolution and context → chemical OCR — Image quality, abbreviations, and layout hinder representation extraction. — “We previously showed how the process of visualizing molecules has become faster, more practical, and more enjoyable thanks to better computational tools. This process is still an important field of research for which virtual reality and 3D printing techniques have been developed. Moreover, as the need for harvesting the large amounts of published data grows, the demand for methods for easily mining structures from papers and patent data is also growing. Optical Character Recognition (OCR) systems, relying on a variety of ML and probabilistic pattern recognition techniques, were created to translate 2D depictions of chemical structures to standard chemical representations [ 146 – 148 ]. Nonetheless, the development of OCR systems can be hindered by the images’ resolutions, the computational interpretations of chemical abbreviations, and the nature of the image representation, which can be embedded in text, in figures containing multiple structures, or in reaction pathways, and can be represented as either a skeletal formula or a Markush structure.”unhoused_relations[25]
no type for thischemical representation → encoding of a chemical compound — The review defines a chemical representation as any encoding of a chemical compound. — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”unhoused_relations[0]
no type for thismolecular graph representation → 2D object — A molecular graph representation is formally a 2D object. — “A molecular graph representation is formally a 2D object that can be used to represent 3D information (e.g. atomic coordinates, bond angles, chirality). However, any spatial relationships between the nodes must be encoded as node and/or edge attributes, as nodes in a graph (the mathematical object) do not formally have spatial positions, only pairwise relationships. There are of course limitations to this representation, which are discussed in a later section. The 2D and 3D representations of graphs can easily be visualized by many software packages, including ChemDraw [ 30 ], Mercury [ 31 ], Avogadro [ 32 ], VESTA [ 33 ], PyMOL [ 34 ], and VMD [ 35 ] (the latter 5 are suitable for small- and macro-molecules, and either free or open-source).”unhoused_relations[1]
no type for thisgraph → tuple — A graph is formally defined as a tuple of node and edge sets. — “A graph 1 is formally defined as a tuple G = ( V , E ) of a set of nodes V and a set of edges E , where each edge e ∊ E connects pairs of nodes in V . In a molecular graph, V is intuitively the set of all atoms in a molecule, and E is the set of all bonds linking the atoms, although this does not have to be the case. Molecular graphs are generally undirected, meaning that the pairs in E are unordered. [ 36 ].”unhoused_relations[2]
no type for thisstructural keys → bit strings — Structural keys are bit strings encoding group absence and presence. — “Structural keys are bit strings, encoding for the absence (using a 0) and the presence (using a 1) of a specific chemical group. To provide a general understanding of the structural keys concept, we present here a few widely used keys.”unhoused_relations[3]
no type for thisPeptides → chains of 2 to 50 AAs — Peptides are chains of two to fifty amino acids. — “Peptides are chains of 2 to 50 AAs linked by peptide bonds. They can be antibiotics, immunosuppressants, or antitumor agents. This broad range of biological activity sparked the interest of the community.”unhoused_relations[4]
no type for thisProteins → polypeptides — Proteins are polypeptides of fifty or more amino acids. — “Proteins are polypeptides made up of 50 or more amino acids. They are generally biological targets; however, therapeutic protein drugs have been engineered [ 94 ]. The largest repository of 3D structures of proteins and nucleic acids is the Protein Data Bank (PDB) [ 17 ], which contains more than 150,000 structures. PDB entries contain the atomic coordinates of every atom in a protein structure as well as solvent molecules (if applicable). Each atom is identified by a sequential number, a specific atom name, the name and number of its corresponding residue, a one-letter code specifying the chain, its spatial coordinates ( x , y , and z ), and an occupancy and temperature factor. Furthermore, any notations mentioned in the Peptide section can be used for protein representations. In 2008, the Protein Line Notation (PLN) [ 16 ] was created by Biochemfusion and is implemented in PubChem. Pseudo-atoms were used to represent a simplified version of a residue structure, which enabled a lossless conversion between chemistry and sequence formats.”unhoused_relations[5]
no type for thismolecular formula → molecular connectivity and geometry — A molecular formula does not encode atom linkage or molecular geometry. — “Over the years, scientists have developed many notations depicting various properties of a compound. A classic notation is the empirical formula, a non-standard form of Hill notation. Seemingly simple at first glance, the empirical formula of alanine, C 3 H 7 NO 2 , exemplifies the complexity of building a notation. Indeed, while information about the atoms is available, it is not possible to know how the atoms are linked from the molecular formula which, moreover, does not encode information related to the molecular geometry. As such, the molecular formula above can be associated to alanine as well as to sarcosine and lactamide. Variants of empirical formulas emphasizing any functional groups also exist but are loosely defined. In these group-centric representations, elements are grouped in the formula as they would be in the molecule so as to highlight any functional groups present e.g. CH 3 CH(NH 2 )COOH to represent alanine.”unhoused_relations[6]
no type for thisatoms and bonds → nodes and edges — Molecular graphs map atoms and bonds onto nodes and edges. — “The idea behind the molecular graph representation lies in mapping the atoms and bonds that make up a molecule into sets of nodes and edges . Intuitively, one could imagine treating the atoms in a molecule as nodes and the bonds as edges , although there is no reason one could not consider other mappings. In typical graph representations, the nodes are represented using circles or spheres, and the edges using lines. In the case of molecular graphs, the nodes are instead often represented using letters indicating the atom type (as on the periodic table), or simply using points where the bonds meet (for carbon atoms).”unhoused_relations[7]
no type for thisgraph traversal algorithm → node order — Traversal selects the order used by matrix and string representations. — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”unhoused_relations[8]
no type for thisapplication task → molecular representation — The appropriate representation depends on the task. — “Furthermore, when working with molecular graphs, there is not one correct way to represent any molecule, and the representation chosen must be appropriate for the task.”unhoused_relations[9]
no type for thispairwise molecular graph → delocalized and multivalent bonding — Ordinary molecular graphs cannot describe several non-pairwise bonding schemes. — “There are many types of molecules which cannot be described by the graph model. This is any structure containing any form of delocalized bonds, such as coordination compounds, as well as any molecule containing any of the following: polycentric bonds, ionic bonds, or metal–metal bonds. For example, organometallic compounds such as metallocenes or metal carbonyl complexes are difficult to describe using molecular graphs because their bonding scheme cannot be explained by valence bond theory. In other words, it would be difficult to describe the bonds using only pairwise relationships between atoms.”unhoused_relations[10]
no type for thisdynamic molecular rearrangement → single static graph — A static graph may be inappropriate or detrimental for a rearranging molecule. — “For molecules where the arrangement of atoms is constantly changing in 3D space, the graph representation might not be meaningful, especially if pairwise bonds are breaking and forming or if the structure is frequently rearranging. That is, for applications where one is limited to using a single static representation for a molecule that is in fact rearranging on the timescale of the problem (e.g. tautomers), then a single molecular graph representation would not be appropriate and could even be detrimental to solving the problem.”unhoused_relations[11]
no type for thisimplicit hydrogens → connection-table size — Treating hydrogens as heavy-atom properties reduces atom and bond blocks. — “Whilst graphs underlie the representation of molecules, the matrices by which they are described are not a compact representation, and scale as the square of the number of atoms. The connection table (Ctab) [ 39 ] is composed of six parts: (1) Counts line , (2) Atom block , (3) Bond block , (4) Atom list block , (5) Stext block , and (6) Properties block . Readers are referred to the referenced material for a detailed description of each component. The counts line is always the first line, and as such gives an overview of the structure by specifying the number of atoms, bonds, and atom lists, as well as the presence or absence of chirality. The version (V2000 or V3000) is also specified on this line. The atom block describes the identities of the atoms as a list with arbitrary index values, as well as the atomic symbols, mass differences, charge, stereochemistry, and associated hydrogens. Note that it is often practical to treat any hydrogens in a molecule as implicit —that is, not storing hydrogens as atom objects and instead implicitly defining the hydrogen count using a valence model. Treating hydrogens as properties of the heavy atoms rather than as explicit nodes significantly reduces the size of the atom and bond block, making the format more compact. These can be recalculated based on valence rules if required; in such cases, valency information must be given explicitly in the atom block. The bond block describes the connectivity of the atoms as well as the identity of the bonds connecting them. The atoms may be fully or partially connected by bonds, thereby supporting the description of fragments and unconnected atoms. The bond block is composed of the atom indices and bond types; the bond order is also provided as an additional column. There is no requirement for the bond block of the connection table to be ordered in a particular way. The two blocks are combined to form the core of the Ctab. Similarly to a matrix representation, the Ctab is extensible, meaning that lists describing supported properties may be added to the properties block. Notably, any entries associated with charges, radicals, or isotopes supersede those in the atom block, if present. As a result of backwards compatibility to previous versions and the prevalence programs utilising them, connection tables have become one of the standard formats for handling chemical structural information and underlie the widely used Molfile formats. It should be noted that connection tables are in themselves not a file format but are the core building block around which CT files are built.”unhoused_relations[12]
no type for thisrandomized SMILES → data augmentation — Alternative starting nodes generate multiple valid strings for training. — “There can be multiple atom numberings for a given molecule, leading to different SMILES. SMILES can thus be enumerated for data augmentation [ 50 ]. The ensemble of SMILES representing one molecule can be referred to as enumerated or randomized SMILES and are obtained by, for each molecule, randomly selecting an initial node for graph traversal while keeping the same graph traversal algorithm, thus leading to different atom orderings [ 51 ]. For clarity, we emphasize that randomized SMILES do not use a random search to generate representations, they rely on a depth-first search. To avoid conflicting SMILES representations for the same molecule, a unique SMILES can be designated, and several canonicalization methods exist to this end [ 38 , 52 , 53 ]. A schematic illustrating the difference between two SMILES variants is shown in Fig. 4 .”unhoused_relations[13]
no type for thisproprietary SMILES canonicalization → toolkit variation — A proprietary algorithm leads implementations to vary. — “The OpenSMILES [ 56 ] specification was developed in 2007 to provide a SMILES standard form and to clarify some interpretations of corner cases present in the Daylight’s SMILES system. A major issue with Daylight’s SMILES is that its canonicalization algorithm is proprietary, and as such implementations vary between companies and research teams. A novel open source method to generate canonical SMILES was developed in 2012 [ 38 ]. Such SMILES are generated using the canonical label provided by the InChI representation [ 10 ], which is described later in this section. Using such “universal” SMILES seeks to facilitate the comparison between chemical models used by different toolkits.”unhoused_relations[14]
no type for thisSMARTS → SMILES — All SMILES can be SMARTS, but the reverse is false and decoding differs. — “There exists an extension of SMILES developed for substructure searching, named SMILES Arbitrary Target Specification (SMARTS) [ 57 ]. In SMILES there exist two types of symbols to signify atoms and bonds which describe the underlying connectivity of a given molecular graph. However, in SMARTS, the available symbols allow for a more general specification of the molecular graph. This can be likened to the use of regular expressions in computer science. Classical SMARTS can describe an ensemble of molecules that differ at one atom or bond position. It is also possible to include logical operators such as “OR” and “NOT”. Contrary to SMILES, SMARTS can specify different isotopes or bonds types (aromatic or aliphatic). Detailed information about an atom environment can be given using Recursive SMARTS (e.g. ortho, meta, or para substitution patterns in arenes). All SMILES can be valid SMARTS, however the reverse is not true, and decoding a SMILES as a SMARTS will generally not yield the same decoded pattern.”unhoused_relations[15]
no type for thisInChIKey → InChI — A key can occasionally map to more than one parent InChI. — “A hashed version of the InChI, the InChIKey, is used for open-web searching and library searching [ 58 ]. The first block of an InChIKey represents the molecular skeleton, and the second block encodes for isomerism. InChIKeys are designed to be unique representations of their corresponding parent InChI representations. However, an InChIKey can sometimes map to more than one InChI, the situation being referred to as an InChIKey collision [ 59 ]. Unlike SMILES, InChIs are not guaranteed to be decodable back to the molecular graphs from which they originate, and SMILES have the advantage of being more human-readable. For a detailed overview of the applications of InChIs and the underlying algorithm, readers are referred to the works of Heller [ 10 ] and Warr [ 60 ].”unhoused_relations[16]
no type for thishash function → fingerprint bits — Hashing assigns molecular patterns to non-unique fixed-length positions. — “Chemical fingerprints are vectors which contain indexed (ordered) elements encoding for physicochemical or structural properties. Hashed fingerprints differ from other descriptors by the fact that each feature is generated from the molecule itself, while in keys, patterns are pre-defined. Their lengths can be set prior to their generation and a hash function assigns molecular patterns to (non-unique) bits, hence the name. Topological or path-based fingerprints are represented by Daylight fingerprints, which usually consist of 512, 1024, or 2048 bits. The Daylight fingerprint encodes for every connectivity pathway within a molecule up to a given length. Circular fingerprints are representations of chemical structures by atom neighbourhoods and have been widely applied in Quantitative Structure–Activity Relationship (QSAR) analysis. A widely used class of circular fingerprints is ECFP (Extended Connectivity Fingerprints) [ 66 ], based on the Morgan algorithm. In ECFPs, heavy (i.e. non-hydrogen) atoms are encoded into multiple circular layers up to a given diameter.”unhoused_relations[17]
no type for thismolecular-representation limitations → reaction representations — Reaction formats inherit limitations of their molecular components. — “Many of the representations described in the previous sections natively allow for, can be extended, or have analogous representations for describing chemical reactions. As the description of reactions is that of a set of molecules, limitations in each of the previously described representations are inherited in the description of chemical reactions. A reaction is often represented graphically with the reactants written to the left of a reaction arrow , and a set of resulting products written to the right of this arrow. The conditions under which the transformation occurs are written above or below the arrow, including information such as reagents, catalysts, solvents, temperature, and so forth. The graphical illustrations of reaction schemes often found in publications are, however, not easily machine-readable. Therefore, there exist a series of reaction data exchange formats that enable reactions to be represented in a machine-readable format. There is no inherent requirement for one format or another, as this is dependent on the application, toolkit, or software package used. Commonly used formats include the RXN and RD files described in an earlier section.”unhoused_relations[18]
no type for thisRInChI → generic transformation search — RInChI lacks a SMARTS or SMIRKS equivalent. — “A proposed further extension to RInChI, ProcAuxInfo, enables the storage of metadata relating to yields, temperature, concentration, and other reaction conditions [ 71 ]. RInChI offers an alternative to Reaction SMILES that enables the identification of duplicate reactions, as the order in which molecules are listed in Reaction SMILES is arbitrary. Hashing the RInChI to yield the RInChI key provides a powerful tool for efficiently indexing and searching reaction data [ 18 , 71 ]. However, there is no SMARTS or SMIRKS equivalent for RInChI, limiting its use in substructure searching and in encoding generic chemical transformations. The RInChI and corresponding keys are shown in Fig. 6 .”unhoused_relations[19]
no type for thisreaction fingerprint → reaction graph — A reaction fingerprint cannot be easily converted into a reaction graph. — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”unhoused_relations[20]
no type for thisCHUCKLES → polymer sequence and SMILES — CHUCKLES translates between monomer sequences and SMILES. — “A method named CHUCKLES [ 12 ] was developed in 1994 to infer SMILES of polymers from their sequences and vice versa. In cheminformatics, this method is particularly useful in inferring the SMILES from the peptide sequence, which is referred to as Forward Translation (FT). In FT, monomers sequences and SMILES are stored in a lookup table, with the SMILES excluding any atoms which would be involved in monomer bonding. For linear structures, SMILES corresponding to each residue are concatenated. In branched and cyclized structures, monomer indices are mapped to the SMILES, thus encoding for structures such as disulfide bridges. CHUCKLES is applicable to oligomeric structures and is used in BIOPEP-UWM [ 87 ]. An extension of CHUCKLES, CHORTLES, was designed to handle oligomeric mixtures. Two notations are well known for their ability to describe a broad range of macromolecules: the Hierarchical Editing Language for macromolecules (HELM) [ 14 , 88 ] and the Self-Contained Sequence Representation (SCSR) [ 89 ]. Both representations were developed concurrently, the first one relying on SMILES and the second one on the v3000 Molfile format. SCSR was developed by BIOVIA which provides automated interconversion between HELM and SCSR.”unhoused_relations[21]
no type for thisHELM polymer-level readability → modified peptide design — Polymer-level notation can make residue modifications more intuitive. — “In comparison with purely atomic-based notations such as SMILES, biocheminformatics representations can facilitate the development of modified drug peptides. For example, the substitution of natural L-AA with D-AA can improve the oral bioavailability of a peptide [ 92 ]. Such modifications would be intuitive with HELM, which provides readability at the polymer level, whereas SMILES provides descriptions on the atomic level. While these methods constitute a step forward to a better understanding and unification of cheminformatics and bioinformatics, errors in the translation of peptide notation from biological into chemical language have been detected and practical solutions proposed [ 93 ].”unhoused_relations[22]
no type for thisglycan sequence notation → docking — Sequence-based glycan representations do not support atom-based docking without conversion. — “Oligosaccharides and polysaccharides are glycans containing more than 3 and 20 monosaccharides (the smallest sugar unit), respectively. In drug discovery, glycans are interesting as receptors, small molecule glycomimetics, therapeutic glycopeptides, and vaccines. Glycan databases are used by carbohydrate researchers and structures are generally recorded using monosaccharide-based notations [ 97 – 100 ]. These representations do not allow for the analysis of the interactions between glycans and proteins using docking techniques, which require atom-based representations. Converter tools have been developed [ 101 , 102 ] that translate these notations to atom-based representations. With the aim of creating a linear and unique notation for glycan data, compatible with the usage of the semantic web, the Web3 Unique Representation of Carbohydrate Structures (WURCS) [ 15 ] was developed and combined bioinformatics and cheminformatics features. The newest version of WURCS [ 103 ], used by the International Glycan Structure Repository GlyTouCan [ 104 ], encodes the following features: the main carbon backbone of a monosaccharide residue, the backbone modifications (i.e. atoms belonging to a monosaccharide which are not part of the backbone), and the linkage information between the backbone and a modification. The notation provides explicit anomeric information and can handle ambiguous monosaccharide structures (e.g. unknown ring closure or anomeric information). Currently, WURCS is implemented in many databases but unsupported by most cheminformatics software.”unhoused_relations[23]
no type for thismolecular graph → graph embedding — A graph network transforms the full graph into a predictive embedding. — “With the development of graph neural networks, a wave of recent work in drug discovery has focused on using the molecular graph representation directly for both property prediction and de novo design. As such, the molecular graph representation can be used for various applications within AI, and there is a large body of work discussing its use for molecular property prediction [ 26 , 116 – 119 ], and, more recently, molecular graph generation [ 120 – 125 ] and synthesis prediction [ 126 ]. In most cases this is done through graph representation learning, by which a graph embedding is obtained from the full graph representation using a graph network [ 127 , 128 ]; the learned graph embedding can be used as input to a property prediction model, such as a RF or DNN, in the same way a classic molecular fingerprint [ 66 , 129 , 130 ] is used. Until recently, more compact linear notations such as SMILES strings were favoured for many ML applications involving molecules, in part due to the larger memory requirement of molecular graph representations; this is, however, slowly changing. For two excellent reviews of deep learning applications in chemistry and drug discovery, we recommend [ 26 ] and [ 131 ]. For a good review on molecular generative models using AI, we recommend [ 132 ].”unhoused_relations[24]
no type for thisimage resolution and context → chemical OCR — Image quality, abbreviations, and layout hinder representation extraction. — “We previously showed how the process of visualizing molecules has become faster, more practical, and more enjoyable thanks to better computational tools. This process is still an important field of research for which virtual reality and 3D printing techniques have been developed. Moreover, as the need for harvesting the large amounts of published data grows, the demand for methods for easily mining structures from papers and patent data is also growing. Optical Character Recognition (OCR) systems, relying on a variety of ML and probabilistic pattern recognition techniques, were created to translate 2D depictions of chemical structures to standard chemical representations [ 146 – 148 ]. Nonetheless, the development of OCR systems can be hindered by the images’ resolutions, the computational interpretations of chemical abbreviations, and the nature of the image representation, which can be embedded in text, in figures containing multiple structures, or in reaction pathways, and can be represented as either a skeletal formula or a Markush structure.”unhoused_relations[25]
limitationAn empirical formula omits connectivity and geometry and can denote several compounds. — “Over the years, scientists have developed many notations depicting various properties of a compound. A classic notation is the empirical formula, a non-standard form of Hill notation. Seemingly simple at first glance, the empirical formula of alanine, C 3 H 7 NO 2 , exemplifies the complexity of building a notation. Indeed, while information about the atoms is available, it is not possible to know how the atoms are linked from the molecular formula which, moreover, does not encode information related to the molecular geometry. As such, the molecular formula above can be associated to alanine as well as to sarcosine and lactamide. Variants of empirical formulas emphasizing any functional groups also exist but are loosely defined. In these group-centric representations, elements are grouped in the formula as they would be in the molecule so as to highlight any functional groups present e.g. CH 3 CH(NH 2 )COOH to represent alanine.”limitations[0]
limitationThe review is deliberately non-exhaustive and restricted to active AI-relevant areas. — “In this review, we focus on chemical representations in cheminformatics and drug discovery. We first introduce the concept of a molecular graph, which is the most common machine-readable representation, and we give a brief overview of the main notations which paved the way for the current cheminformatics notations. We then focus on the representations that are used nowadays in the field of applying artificial intelligence (AI) to cheminformatics and drug discovery. Finally, we provide examples of AI-related applications using the chemical representations discussed in this review. This review is intended to provide an overview of basic cheminformatics knowledge to practising cheminformaticians, students in chemistry, cheminformatics, bioinformatics, and computer science, and anyone interested to learn more about molecular representations in drug discovery. While the coverage of representations introduced herein is not intended to be exhaustive, we emphasise that the representation used to solve a problem is always dependent on the task. Thus, the coverage is limited to areas where there is active research in applying machine learning (ML) and AI to cheminformatics and drug discovery. For readers interested in further reading on these topics we recommend references [ 22 – 29 ], in addition to the references cited in each section.”limitations[1]
limitationMolecular graphs lack intrinsic spatial position and must encode 3D relationships as attributes. — “A molecular graph representation is formally a 2D object that can be used to represent 3D information (e.g. atomic coordinates, bond angles, chirality). However, any spatial relationships between the nodes must be encoded as node and/or edge attributes, as nodes in a graph (the mathematical object) do not formally have spatial positions, only pairwise relationships. There are of course limitations to this representation, which are discussed in a later section. The 2D and 3D representations of graphs can easily be visualized by many software packages, including ChemDraw [ 30 ], Mercury [ 31 ], Avogadro [ 32 ], VESTA [ 33 ], PyMOL [ 34 ], and VMD [ 35 ] (the latter 5 are suitable for small- and macro-molecules, and either free or open-source).”limitations[2]
limitationPairwise graph models fail for several delocalized and non-valence-bond structures. — “There are many types of molecules which cannot be described by the graph model. This is any structure containing any form of delocalized bonds, such as coordination compounds, as well as any molecule containing any of the following: polycentric bonds, ionic bonds, or metal–metal bonds. For example, organometallic compounds such as metallocenes or metal carbonyl complexes are difficult to describe using molecular graphs because their bonding scheme cannot be explained by valence bond theory. In other words, it would be difficult to describe the bonds using only pairwise relationships between atoms.”limitations[3]
limitationHypergraphs address multivalent bonds but remain uncommon. — “Solutions to the handling of multi-valent bonds have been introduced via the use of hypergraphs ; in a hypergraph, edges are sets of at least two atoms ( hyperedges ) instead of tuples of atoms [ 37 ]. However, the use of hypergraphs is not further discussed here as they are not currently widespread in the field.”limitations[4]
limitationStatic graphs may misrepresent dynamically rearranging molecules. — “For molecules where the arrangement of atoms is constantly changing in 3D space, the graph representation might not be meaningful, especially if pairwise bonds are breaking and forming or if the structure is frequently rearranging. That is, for applications where one is limited to using a single static representation for a molecule that is in fact rearranging on the timescale of the problem (e.g. tautomers), then a single molecular graph representation would not be appropriate and could even be detrimental to solving the problem.”limitations[5]
limitationGraph matrices are bulky, difficult to search, and grow at least quadratically with node count. — “Another difficulty of working directly with graph representations is that they are not compact (both memory-wise and literally). To represent a molecular graph one would need, for example: an image, a tuple of matrices, lists, or tables; all these representations are generally more difficult to search through than a more compact linear representation (compare this to a string encoding a structure ID). They also become more and more cumbersome the bigger the graphs get, and their memory requirement would increase with the square of the number of nodes, at least.”limitations[6]
limitationSMILES struggles with structures that molecular graphs themselves cannot describe. — “Initially, SMILES did not encode for stereochemistry. A specification, referred to as isomeric SMILES, was introduced later on and is now the default SMILES in many software. SMILES can thus encode isomeric specifications, configurations around double bonds (Z or E), and configurations around tetrahedral centres as well as many other types of chiral centres which are rarely supported (e.g. allene-like, octahedral). Nonetheless, a problematic set of structures to describe using SMILES notation is those which cannot be easily described using molecular graphs (see “ Limitations of molecular graph representations ” section), such as organometallic compounds and ionic salts.”limitations[7]
limitationProprietary SMILES canonicalization causes toolkit-dependent implementations. — “The OpenSMILES [ 56 ] specification was developed in 2007 to provide a SMILES standard form and to clarify some interpretations of corner cases present in the Daylight’s SMILES system. A major issue with Daylight’s SMILES is that its canonicalization algorithm is proprietary, and as such implementations vary between companies and research teams. A novel open source method to generate canonical SMILES was developed in 2012 [ 38 ]. Such SMILES are generated using the canonical label provided by the InChI representation [ 10 ], which is described later in this section. Using such “universal” SMILES seeks to facilitate the comparison between chemical models used by different toolkits.”limitations[8]
limitationInChIKeys can collide and InChI cannot always regenerate its source molecular graph. — “A hashed version of the InChI, the InChIKey, is used for open-web searching and library searching [ 58 ]. The first block of an InChIKey represents the molecular skeleton, and the second block encodes for isomerism. InChIKeys are designed to be unique representations of their corresponding parent InChI representations. However, an InChIKey can sometimes map to more than one InChI, the situation being referred to as an InChIKey collision [ 59 ]. Unlike SMILES, InChIs are not guaranteed to be decodable back to the molecular graphs from which they originate, and SMILES have the advantage of being more human-readable. For a detailed overview of the applications of InChIs and the underlying algorithm, readers are referred to the works of Heller [ 10 ] and Warr [ 60 ].”limitations[9]
limitationReaction SMILES omits reaction-centre and condition metadata. — “The SMILES format used for describing molecules has been extended to so-called Reaction SMILES by Daylight Chemical Information Systems. Each molecule in the reactants, agents, and products is represented by a SMILES string, and disconnected structures are separated by a period; this includes the individual molecules, ions and ligands, which are listed in an arbitrary manner. Reactants, agents, and products are separated by either the ‘>’ or ‘≫’ symbol (the latter used when agents are not given). Atom-mappings (i.e. mappings of atoms in the reactants to their equivalent atoms in the products) can be stored in Reaction SMILES as a non-negative integer following the character ‘:’ within an atom expression. Atom mappings do not apply to agents. Furthermore, the storage of additional textual information such as the reaction centre (i.e. the atom and bonds that change during a transformation) or reaction conditions is not supported. Nonetheless, formats such as the RXN and RD file formats, especially the latter, can store this additional metadata, as can other file formats or databases.”limitations[10]
limitationRInChI has no SMARTS/SMIRKS equivalent for substructure or generic transformations. — “A proposed further extension to RInChI, ProcAuxInfo, enables the storage of metadata relating to yields, temperature, concentration, and other reaction conditions [ 71 ]. RInChI offers an alternative to Reaction SMILES that enables the identification of duplicate reactions, as the order in which molecules are listed in Reaction SMILES is arbitrary. Hashing the RInChI to yield the RInChI key provides a powerful tool for efficiently indexing and searching reaction data [ 18 , 71 ]. However, there is no SMARTS or SMIRKS equivalent for RInChI, limiting its use in substructure searching and in encoding generic chemical transformations. The RInChI and corresponding keys are shown in Fig. 6 .”limitations[11]
limitationMacromolecular stochasticity and undefined chain length hinder representation. — “While there have been many advances in the representation of small molecules, in comparison very few studies [ 85 ] have addressed the representation of macromolecules, which are polymeric structures. In this section, we present representations made for biopolymers and bio-oligomers, like proteins and oligosaccharides, and synthetic polymers. The process of representing macromolecules can be hindered by the fact that, while many polymers are monodisperse (i.e. constituting monomers have the same chain length), others can be polydisperse, such that their stochastic nature results in an undefined chain length. Examples of macromolecules and their notations are shown on Fig. 8 .”limitations[12]
limitationOCR is hindered by resolution, abbreviations, and complex image context. — “We previously showed how the process of visualizing molecules has become faster, more practical, and more enjoyable thanks to better computational tools. This process is still an important field of research for which virtual reality and 3D printing techniques have been developed. Moreover, as the need for harvesting the large amounts of published data grows, the demand for methods for easily mining structures from papers and patent data is also growing. Optical Character Recognition (OCR) systems, relying on a variety of ML and probabilistic pattern recognition techniques, were created to translate 2D depictions of chemical structures to standard chemical representations [ 146 – 148 ]. Nonetheless, the development of OCR systems can be hindered by the images’ resolutions, the computational interpretations of chemical abbreviations, and the nature of the image representation, which can be embedded in text, in figures containing multiple structures, or in reaction pathways, and can be represented as either a skeletal formula or a Markush structure.”limitations[13]
Content tags
content-observations: finding · quantity · variable · definition · key-term — grounded in the full text
findingChemical representation design proliferated because computers advanced rapidly while molecules require many structural and chemical characteristics. — “The technological advances of the past century, marked by the computer revolution and the advent of high-throughput screening technologies in drug discovery, opened the path to the computational analysis and visualization of bioactive molecules. For this purpose, it became necessary to represent molecules in a syntax that would be readable by computers and understandable by scientists of various fields. A large number of chemical representations have been developed over the years, their numerosity being due to the fast development of computers and the complexity of producing a representation that encompasses all structural and chemical characteristics. We present here some of the most popular electronic molecular and macromolecular representations used in drug discovery, many of which are based on graph representations. Furthermore, we describe applications of these representations in AI-driven drug discovery. Our aim is to provide a brief guide on structural representations that are essential to the practice of AI in drug discovery. This review serves as a guide for researchers who have little experience with the handling of chemical representations and plan to work on applications at the interface of these fields.”content_tags.findings[0]
findingMost representation families covered by the review build on molecular graphs. — “In order to understand the chemical representations presented in this review, it is important that the reader first has a solid understanding of molecular graphs, as most molecular representations discussed in this work are built on the molecular graph representation. However, there is a distinction between the notations and file formats built using molecular graphs (e.g. SMILES strings, Molfiles), and the abstract mathematical structure/data structure of a graph itself. The latter is introduced here.”content_tags.findings[1]
findingA molecular graph maps atoms and bonds to nodes and edges but stores spatial information only as attributes. — “The idea behind the molecular graph representation lies in mapping the atoms and bonds that make up a molecule into sets of nodes and edges . Intuitively, one could imagine treating the atoms in a molecule as nodes and the bonds as edges , although there is no reason one could not consider other mappings. In typical graph representations, the nodes are represented using circles or spheres, and the edges using lines. In the case of molecular graphs, the nodes are instead often represented using letters indicating the atom type (as on the periodic table), or simply using points where the bonds meet (for carbon atoms).”content_tags.findings[2]
findingMatrix encodings require artificial node order even though mathematical graph sets are unordered. — “To map a graph from an abstract mathematical concept to a concrete representation that can be handled on a computer, one needs to map the sets of nodes and edges to linear data structures; a common way to do this is using data structures such as matrices or arrays. Linear data structures are necessary in order to specify the connectivity of the nodes. To do so, an artificial node-ordering must first be calculated for encoding a molecule using arrays, even though V and E are formally sets and the order of elements in sets is irrelevant. The information to be mapped can include (1) how the atoms in the molecule are connected, (2) the identity of the atoms, and (3) the identity of the bonds.”content_tags.findings[3]
findingGraph traversal and tie-breaking determine whether software regenerates a consistent representation. — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”content_tags.findings[4]
findingNo single representation is correct for every molecular task. — “Furthermore, when working with molecular graphs, there is not one correct way to represent any molecule, and the representation chosen must be appropriate for the task.”content_tags.findings[5]
findingGraph substructures remain interpretable, unlike arbitrary substrings of SMILES. — “The fact that one can naturally encode 3D information in a graph representation gives graphs many advantages over various linear notations, although some linear notations (such as SYBYL Line Notation) can also encode atomic 3D information. Additionally, the fact that all molecular subgraphs (i.e. subsets of G ) are interpretable can confer a particular advantage to graph notations over certain string notations, where, for example, substrings of a SMILES string (which we describe in the next section), do not necessarily correspond to a valid graph. In other words, all subgraphs are interpretable whereas all substrings are not. Nonetheless, there are also disadvantages to working directly with the molecular graph representation for many applications.”content_tags.findings[6]
findingPairwise molecular graphs cannot faithfully describe several delocalized, ionic, polycentric, or metal-bonded systems. — “There are many types of molecules which cannot be described by the graph model. This is any structure containing any form of delocalized bonds, such as coordination compounds, as well as any molecule containing any of the following: polycentric bonds, ionic bonds, or metal–metal bonds. For example, organometallic compounds such as metallocenes or metal carbonyl complexes are difficult to describe using molecular graphs because their bonding scheme cannot be explained by valence bond theory. In other words, it would be difficult to describe the bonds using only pairwise relationships between atoms.”content_tags.findings[7]
findingA single static graph can be detrimental when molecular bonding rearranges on the problem timescale. — “For molecules where the arrangement of atoms is constantly changing in 3D space, the graph representation might not be meaningful, especially if pairwise bonds are breaking and forming or if the structure is frequently rearranging. That is, for applications where one is limited to using a single static representation for a molecule that is in fact rearranging on the timescale of the problem (e.g. tautomers), then a single molecular graph representation would not be appropriate and could even be detrimental to solving the problem.”content_tags.findings[8]
findingLinear notations trade graph bulk for compact, searchable strings. — “This is not a problem with linear notations, which build upon the graph framework to create more compact and memory-efficient representations for molecules [ 38 ]. Linear notations have the advantage that they can be, for example, entries in a table, as well as easily searchable (for identity search, not substructure search), when a matrix representation is not convenient.”content_tags.findings[9]
findingSMILES is non-unique and unambiguous, while randomized SMILES supplies data augmentation through alternative atom orderings. — “There can be multiple atom numberings for a given molecule, leading to different SMILES. SMILES can thus be enumerated for data augmentation [ 50 ]. The ensemble of SMILES representing one molecule can be referred to as enumerated or randomized SMILES and are obtained by, for each molecule, randomly selecting an initial node for graph traversal while keeping the same graph traversal algorithm, thus leading to different atom orderings [ 51 ]. For clarity, we emphasize that randomized SMILES do not use a random search to generate representations, they rely on a depth-first search. To avoid conflicting SMILES representations for the same molecule, a unique SMILES can be designated, and several canonicalization methods exist to this end [ 38 , 52 , 53 ]. A schematic illustrating the difference between two SMILES variants is shown in Fig. 4 .”content_tags.findings[10]
findingProprietary canonicalization causes different SMILES implementations to vary. — “The OpenSMILES [ 56 ] specification was developed in 2007 to provide a SMILES standard form and to clarify some interpretations of corner cases present in the Daylight’s SMILES system. A major issue with Daylight’s SMILES is that its canonicalization algorithm is proprietary, and as such implementations vary between companies and research teams. A novel open source method to generate canonical SMILES was developed in 2012 [ 38 ]. Such SMILES are generated using the canonical label provided by the InChI representation [ 10 ], which is described later in this section. Using such “universal” SMILES seeks to facilitate the comparison between chemical models used by different toolkits.”content_tags.findings[11]
findingInChI is layered and canonical, while InChIKey is compact but can collide and InChI is not always graph-decodable. — “A hashed version of the InChI, the InChIKey, is used for open-web searching and library searching [ 58 ]. The first block of an InChIKey represents the molecular skeleton, and the second block encodes for isomerism. InChIKeys are designed to be unique representations of their corresponding parent InChI representations. However, an InChIKey can sometimes map to more than one InChI, the situation being referred to as an InChIKey collision [ 59 ]. Unlike SMILES, InChIs are not guaranteed to be decodable back to the molecular graphs from which they originate, and SMILES have the advantage of being more human-readable. For a detailed overview of the applications of InChIs and the underlying algorithm, readers are referred to the works of Heller [ 10 ] and Warr [ 60 ].”content_tags.findings[12]
findingDescriptors encode chemical properties rather than exact reconstructable structure. — “The representations presented above are atom-based, meaning it is possible to rebuild the molecule based on the representation. There exist, however, other types of notations which, rather than encoding the exact structure of a compound, instead encode the physicochemical, structural, topological, and/or electronic properties of a compound. These are referred to as molecular descriptors [ 11 ] among which two main classes are structural keys and the hashed fingerprints. Descriptors are unique and ambiguous notations widely used in cheminformatics, and their complete descriptions would require a review of their own. A non-exhaustive list can be found in association with the Dragon software [ 61 ], which can calculate 4885 descriptors.”content_tags.findings[13]
findingHashed fingerprints map molecule-derived patterns into fixed-length, potentially non-unique bits. — “Chemical fingerprints are vectors which contain indexed (ordered) elements encoding for physicochemical or structural properties. Hashed fingerprints differ from other descriptors by the fact that each feature is generated from the molecule itself, while in keys, patterns are pre-defined. Their lengths can be set prior to their generation and a hash function assigns molecular patterns to (non-unique) bits, hence the name. Topological or path-based fingerprints are represented by Daylight fingerprints, which usually consist of 512, 1024, or 2048 bits. The Daylight fingerprint encodes for every connectivity pathway within a molecule up to a given length. Circular fingerprints are representations of chemical structures by atom neighbourhoods and have been widely applied in Quantitative Structure–Activity Relationship (QSAR) analysis. A widely used class of circular fingerprints is ECFP (Extended Connectivity Fingerprints) [ 66 ], based on the Morgan algorithm. In ECFPs, heavy (i.e. non-hydrogen) atoms are encoded into multiple circular layers up to a given diameter.”content_tags.findings[14]
findingReaction representations inherit limitations from their underlying molecular representations. — “Many of the representations described in the previous sections natively allow for, can be extended, or have analogous representations for describing chemical reactions. As the description of reactions is that of a set of molecules, limitations in each of the previously described representations are inherited in the description of chemical reactions. A reaction is often represented graphically with the reactants written to the left of a reaction arrow , and a set of resulting products written to the right of this arrow. The conditions under which the transformation occurs are written above or below the arrow, including information such as reagents, catalysts, solvents, temperature, and so forth. The graphical illustrations of reaction schemes often found in publications are, however, not easily machine-readable. Therefore, there exist a series of reaction data exchange formats that enable reactions to be represented in a machine-readable format. There is no inherent requirement for one format or another, as this is dependent on the application, toolkit, or software package used. Commonly used formats include the RXN and RD files described in an earlier section.”content_tags.findings[15]
findingRInChI is order invariant and supports duplicate-reaction identification but lacks a generic-transformation equivalent. — “A proposed further extension to RInChI, ProcAuxInfo, enables the storage of metadata relating to yields, temperature, concentration, and other reaction conditions [ 71 ]. RInChI offers an alternative to Reaction SMILES that enables the identification of duplicate reactions, as the order in which molecules are listed in Reaction SMILES is arbitrary. Hashing the RInChI to yield the RInChI key provides a powerful tool for efficiently indexing and searching reaction data [ 18 , 71 ]. However, there is no SMARTS or SMIRKS equivalent for RInChI, limiting its use in substructure searching and in encoding generic chemical transformations. The RInChI and corresponding keys are shown in Fig. 6 .”content_tags.findings[16]
findingReaction fingerprints encode product-reactant structural change but do not readily convert back to reaction graphs. — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”content_tags.findings[17]
findingMacromolecule representation remains less studied and must bridge atomic and sequence descriptions. — “While there have been many advances in the representation of small molecules, in comparison very few studies [ 85 ] have addressed the representation of macromolecules, which are polymeric structures. In this section, we present representations made for biopolymers and bio-oligomers, like proteins and oligosaccharides, and synthetic polymers. The process of representing macromolecules can be hindered by the fact that, while many polymers are monodisperse (i.e. constituting monomers have the same chain length), others can be polydisperse, such that their stochastic nature results in an undefined chain length. Examples of macromolecules and their notations are shown on Fig. 8 .”content_tags.findings[18]
findingHELM combines SMILES-like monomers, simplified sequence forms, and graphs across a structure hierarchy. — “In the following lines, we provide further details on HELM, which was developed by Pfizer under the auspices of the Pistoia Alliance. The objective of the project was to design a system representing combinations of component structure types (e.g. peptides, antibodies, chemical modifiers). An example of HELM notation is shown in Fig. 9 . Initially, HELM was limited to well-defined structures; however, HELM2 overcame this limitation and can describe polymer mixtures and free-form annotations. HELM represents monomers in a SMILES-like format, simple polymers using a simplified version of CHUCKLES and complex polymers using graphs. Its structure hierarchy follows the granularity of the structures: Complex Polymer, Simple Polymer, Monomer, and Atom. HELM is implemented in many pharmaceutical companies [ 90 ], in public databases (in 2016, ChEMBL21 contained 20,000 peptides annotated with HELM [ 91 ]), as well as in various packages and software such as RDKit (limited to peptides), ChemDraw, the Biomolecule Toolkit, ChemAxon, and Sugar&Splice, which can all encode for peptides, DNA, and RNA.”content_tags.findings[19]
findingRepresentation learning creates internal vectors for prediction, making input information selection essential. — “Despite this being a review of molecular representations, many of these representations are themselves used in representation learning applications within deep learning. Representation learning is the idea of learning an internal representation (e.g. a vector) for a given object (e.g. a molecule) and then using that internal representation for a predictive task. These internal representations are learned, meaning models can be trained to create them using classic techniques such as backpropagation in neural networks. With representation learning tasks, it is key to first identify a suitable input representation of a molecule that contains as much of the desired/necessary information to solve a problem as possible. Of the applications described below, any using deep neural network (DNN) architectures are essentially carrying out representation learning tasks, whereas classical ML methods such as random forests (RFs) and support vector machines do not operate by learning internal representations.”content_tags.findings[20]
findingGraph embeddings, SMILES language models, learned fingerprints, reaction formats, sequences, and images all support distinct AI tasks. — “With the development of graph neural networks, a wave of recent work in drug discovery has focused on using the molecular graph representation directly for both property prediction and de novo design. As such, the molecular graph representation can be used for various applications within AI, and there is a large body of work discussing its use for molecular property prediction [ 26 , 116 – 119 ], and, more recently, molecular graph generation [ 120 – 125 ] and synthesis prediction [ 126 ]. In most cases this is done through graph representation learning, by which a graph embedding is obtained from the full graph representation using a graph network [ 127 , 128 ]; the learned graph embedding can be used as input to a property prediction model, such as a RF or DNN, in the same way a classic molecular fingerprint [ 66 , 129 , 130 ] is used. Until recently, more compact linear notations such as SMILES strings were favoured for many ML applications involving molecules, in part due to the larger memory requirement of molecular graph representations; this is, however, slowly changing. For two excellent reviews of deep learning applications in chemistry and drug discovery, we recommend [ 26 ] and [ 131 ]. For a good review on molecular generative models using AI, we recommend [ 132 ].”content_tags.findings[21]
findingMany drug-discovery workflows require several representations in sequence or simultaneously. — “At this point, it might become clear to the reader that many applications within drug discovery require multiple representations to be used simultaneously to solve a problem. For example, in protein structure prediction, one might start with the protein sequence, create a rudimentary 3D model of the structure, and then use advanced molecular dynamics methods to understand how the protein folds and what the final configuration/structure for the protein might be. The coordinates of the optimized protein structure (e.g. a PDB file) might then go on to be used in docking calculation, etc. Technical aspects may factor into the choice of representation(s) a researcher might make, such as the complexity of the method(s) for generating the representation(s), and if they are openly accessible.”content_tags.findings[22]
findingRepresentation persistence reflects computation, readability, history, and continuity as well as chemical expressiveness. — “It is interesting to note that some representations have held the test of time better than others. This can be partly explained by the evolution of computer technologies, which have improved in terms of storage capabilities, processor qualities, and parallel programming capabilities. Standard representations such as IUPAC-Dyson and WLN were sensible during their times and were made to be manipulated by humans, but difficult to work with on a computer. Computationally simpler representations are now frequently used. Furthermore, detailed representations which require greater computational time to compute (compared to molecular string representations) can nowadays be used; this is the case for hashed fingerprints. Another possible explanation for the endurance of certain molecular representation is that they are more human readable than others, and thus have been better received by the cheminformatics community. Lastly, another reason why some notations persist and others do not is that within different fields and subfields (e.g. cheminformatics, bioinformatics, or AI), different notations are often preferred for either historical or continuity reasons within groups.”content_tags.findings[23]
quantity2D — formal dimensionality of a molecular graph — “A molecular graph representation is formally a 2D object that can be used to represent 3D information (e.g. atomic coordinates, bond angles, chirality). However, any spatial relationships between the nodes must be encoded as node and/or edge attributes, as nodes in a graph (the mathematical object) do not formally have spatial positions, only pairwise relationships. There are of course limitations to this representation, which are discussed in a later section. The 2D and 3D representations of graphs can easily be visualized by many software packages, including ChemDraw [ 30 ], Mercury [ 31 ], Avogadro [ 32 ], VESTA [ 33 ], PyMOL [ 34 ], and VMD [ 35 ] (the latter 5 are suitable for small- and macro-molecules, and either free or open-source).”content_tags.quantities[0]
quantity6 — parts of a connection table — “Whilst graphs underlie the representation of molecules, the matrices by which they are described are not a compact representation, and scale as the square of the number of atoms. The connection table (Ctab) [ 39 ] is composed of six parts: (1) Counts line , (2) Atom block , (3) Bond block , (4) Atom list block , (5) Stext block , and (6) Properties block . Readers are referred to the referenced material for a detailed description of each component. The counts line is always the first line, and as such gives an overview of the structure by specifying the number of atoms, bonds, and atom lists, as well as the presence or absence of chirality. The version (V2000 or V3000) is also specified on this line. The atom block describes the identities of the atoms as a list with arbitrary index values, as well as the atomic symbols, mass differences, charge, stereochemistry, and associated hydrogens. Note that it is often practical to treat any hydrogens in a molecule as implicit —that is, not storing hydrogens as atom objects and instead implicitly defining the hydrogen count using a valence model. Treating hydrogens as properties of the heavy atoms rather than as explicit nodes significantly reduces the size of the atom and bond block, making the format more compact. These can be recalculated based on valence rules if required; in such cases, valency information must be given explicitly in the atom block. The bond block describes the connectivity of the atoms as well as the identity of the bonds connecting them. The atoms may be fully or partially connected by bonds, thereby supporting the description of fragments and unconnected atoms. The bond block is composed of the atom indices and bond types; the bond order is also provided as an additional column. There is no requirement for the bond block of the connection table to be ordered in a particular way. The two blocks are combined to form the core of the Ctab. Similarly to a matrix representation, the Ctab is extensible, meaning that lists describing supported properties may be added to the properties block. Notably, any entries associated with charges, radicals, or isotopes supersede those in the atom block, if present. As a result of backwards compatibility to previous versions and the prevalence programs utilising them, connection tables have become one of the standard formats for handling chemical structural information and underlie the widely used Molfile formats. It should be noted that connection tables are in themselves not a file format but are the core building block around which CT files are built.”content_tags.quantities[1]
quantity612 bytes — example Molfile size for d-alanine — “Matrix representations require a large amount of disk space and are not well adapted for basic cheminformatic analysis (i.e. generation of list of compounds, online query of compounds). As a result, molecules nowadays are often represented as strings of characters encoding the Ctab and that can be interpreted by systematic sets of rules. For example, using implicit hydrogen, representing d -alanine using a Molfile takes 612 bytes, while using linear notations such as SMILES or InChI, which are described in this section, takes 15 and 59 bytes, respectively. As mentioned above, linear notations have the advantage of being compact and easy to manipulate (e.g. to use as command-line option or copy in an Excel spreadsheet). The main linear notations introduced in this section are exemplified in Table 1 .”content_tags.quantities[2]
quantity15 bytes — example SMILES size for d-alanine — “Matrix representations require a large amount of disk space and are not well adapted for basic cheminformatic analysis (i.e. generation of list of compounds, online query of compounds). As a result, molecules nowadays are often represented as strings of characters encoding the Ctab and that can be interpreted by systematic sets of rules. For example, using implicit hydrogen, representing d -alanine using a Molfile takes 612 bytes, while using linear notations such as SMILES or InChI, which are described in this section, takes 15 and 59 bytes, respectively. As mentioned above, linear notations have the advantage of being compact and easy to manipulate (e.g. to use as command-line option or copy in an Excel spreadsheet). The main linear notations introduced in this section are exemplified in Table 1 .”content_tags.quantities[3]
quantity59 bytes — example InChI size for d-alanine — “Matrix representations require a large amount of disk space and are not well adapted for basic cheminformatic analysis (i.e. generation of list of compounds, online query of compounds). As a result, molecules nowadays are often represented as strings of characters encoding the Ctab and that can be interpreted by systematic sets of rules. For example, using implicit hydrogen, representing d -alanine using a Molfile takes 612 bytes, while using linear notations such as SMILES or InChI, which are described in this section, takes 15 and 59 bytes, respectively. As mentioned above, linear notations have the advantage of being compact and easy to manipulate (e.g. to use as command-line option or copy in an Excel spreadsheet). The main linear notations introduced in this section are exemplified in Table 1 .”content_tags.quantities[4]
quantity11 — IUPAC desiderata for an electronic notation — “Nonetheless, this nomenclature is not ideal for cheminformatics applications and, in 1949, the IUPAC requested an international standard for electronic chemical notations requiring 11 desirable properties or “desiderata” [ 28 ]: simplicity of use, ease of printing and typewriting, conciseness, recognizability, ability to generate a unique chemical nomenclature, compatibility with the accepted practices of inorganic chemical nomenclature, uniqueness, generation of an unambiguous and useful enumeration pattern, ease of manipulation by machine methods, exhibition of associations, and ability to deal with partial indeterminates.”content_tags.quantities[5]
quantity4 — IUPAC notation categories: unique, non-unique, ambiguous, unambiguous — “According to the IUPAC formalism set in 1964 [ 28 ], notations can be classified as being unique (i.e. one notation for a given compound), non-unique (i.e. more than one notation for a given compound), ambiguous (i.e. the notation will regenerate more than one compound), or/and unambiguous (i.e. the notation will regenerate only the original compound). This formalism is used to describe notations in this section.”content_tags.quantities[6]
quantity4885 — descriptors calculable by Dragon — “The representations presented above are atom-based, meaning it is possible to rebuild the molecule based on the representation. There exist, however, other types of notations which, rather than encoding the exact structure of a compound, instead encode the physicochemical, structural, topological, and/or electronic properties of a compound. These are referred to as molecular descriptors [ 11 ] among which two main classes are structural keys and the hashed fingerprints. Descriptors are unique and ambiguous notations widely used in cheminformatics, and their complete descriptions would require a review of their own. A non-exhaustive list can be found in association with the Dragon software [ 61 ], which can calculate 4885 descriptors.”content_tags.quantities[7]
quantity166 and 960 — common MACCS key lengths — “MACCS Keys The first set of keys is referred to as MACCS (Molecular ACCess System) keys or MDL keyset [ 62 , 63 ] and is frequently used for similarity searching. In MACCS keys, each bit indicates the presence or absence of a particular structural fragment. Many variants of the MACCS keys exist [ 64 ], with the most commonly used being 166 and 960-bits long. thus encoding for the presence or absence of 166 and 960 structural fragments. It should be noted that there are many software implementations of the 166-bit MACCS keys, thus one should be cautious as one substructure will not be assigned to the same bit from one software to the other.”content_tags.quantities[8]
quantity512, 1024, or 2048 — typical Daylight fingerprint lengths — “Chemical fingerprints are vectors which contain indexed (ordered) elements encoding for physicochemical or structural properties. Hashed fingerprints differ from other descriptors by the fact that each feature is generated from the molecule itself, while in keys, patterns are pre-defined. Their lengths can be set prior to their generation and a hash function assigns molecular patterns to (non-unique) bits, hence the name. Topological or path-based fingerprints are represented by Daylight fingerprints, which usually consist of 512, 1024, or 2048 bits. The Daylight fingerprint encodes for every connectivity pathway within a molecule up to a given length. Circular fingerprints are representations of chemical structures by atom neighbourhoods and have been widely applied in Quantitative Structure–Activity Relationship (QSAR) analysis. A widely used class of circular fingerprints is ECFP (Extended Connectivity Fingerprints) [ 66 ], based on the Morgan algorithm. In ECFPs, heavy (i.e. non-hydrogen) atoms are encoded into multiple circular layers up to a given diameter.”content_tags.quantities[9]
quantityapproximately 127 million — CAS reaction records from 1840 onward — “Chemical reactions represent the interconversion of one set of molecules into another related set, under a set of specified conditions. A vast body of reaction data has been amassed to date, with approximately 127 million reactions recorded from 1840 to the present day according to the Chemical Abstracts Service (CAS) [ 67 ].”content_tags.quantities[10]
quantity3 — HORACE abstraction levels — “HORACE [ 21 ] employs a machine learning algorithm for the classification of chemical reactions and is mentioned here because of the hierarchical description of chemical reactions that it uses. It was developed to describe specific reaction instances as well as abstractions of reaction types. Three levels of abstraction are employed. The lowest level describes the partial order of atom types, which gives an explicit hierarchy at the atom level by specifying the degree of similarity between atoms. Following the atom level description is the structural level description. This uses a list of functional groups as structural features by which to characterize individual molecules. The structural characterization is then used to specify which molecules correspond to atoms in the reaction centre. The highest level of abstraction specifies physiochemical properties, which describe the function of the corresponding structure. The hierarchy therefore enables a richer description of a chemical reaction than a purely structural one (as with SMILES).”content_tags.quantities[11]
quantity2 to 50 — amino-acid count defining peptides — “Peptides are chains of 2 to 50 AAs linked by peptide bonds. They can be antibiotics, immunosuppressants, or antitumor agents. This broad range of biological activity sparked the interest of the community.”content_tags.quantities[12]
quantity50 or more — amino-acid count defining proteins — “Proteins are polypeptides made up of 50 or more amino acids. They are generally biological targets; however, therapeutic protein drugs have been engineered [ 94 ]. The largest repository of 3D structures of proteins and nucleic acids is the Protein Data Bank (PDB) [ 17 ], which contains more than 150,000 structures. PDB entries contain the atomic coordinates of every atom in a protein structure as well as solvent molecules (if applicable). Each atom is identified by a sequential number, a specific atom name, the name and number of its corresponding residue, a one-letter code specifying the chain, its spatial coordinates ( x , y , and z ), and an occupancy and temperature factor. Furthermore, any notations mentioned in the Peptide section can be used for protein representations. In 2008, the Protein Line Notation (PLN) [ 16 ] was created by Biochemfusion and is implemented in PubChem. Pseudo-atoms were used to represent a simplified version of a residue structure, which enabled a lossless conversion between chemistry and sequence formats.”content_tags.quantities[13]
quantitymore than 150000 — protein and nucleic-acid structures in PDB — “Proteins are polypeptides made up of 50 or more amino acids. They are generally biological targets; however, therapeutic protein drugs have been engineered [ 94 ]. The largest repository of 3D structures of proteins and nucleic acids is the Protein Data Bank (PDB) [ 17 ], which contains more than 150,000 structures. PDB entries contain the atomic coordinates of every atom in a protein structure as well as solvent molecules (if applicable). Each atom is identified by a sequential number, a specific atom name, the name and number of its corresponding residue, a one-letter code specifying the chain, its spatial coordinates ( x , y , and z ), and an occupancy and temperature factor. Furthermore, any notations mentioned in the Peptide section can be used for protein representations. In 2008, the Protein Line Notation (PLN) [ 16 ] was created by Biochemfusion and is implemented in PubChem. Pseudo-atoms were used to represent a simplified version of a residue structure, which enabled a lossless conversion between chemistry and sequence formats.”content_tags.quantities[14]
variabletask (primary representation-choice constraint) — “Furthermore, when working with molecular graphs, there is not one correct way to represent any molecule, and the representation chosen must be appropriate for the task.”content_tags.variables[0]
variablenode order (matrix and string representation variant) — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”content_tags.variables[1]
variablenode features (atom identity and property encoding) — “The identity of the atoms can be represented in the form of a node features matrix X (Fig. 1 c). Each row of X corresponds to a node v i (i.e. an atom in the molecule) in G ; this row is also referred to as the node feature vector x i for that atom. The length of x i corresponds to the number of atom features one has chosen to encode (e.g. a one-hot 2 encoding of atom type and formal charge).”content_tags.variables[2]
variableedge features (bond identity and property encoding) — “The identity of the bonds can be represented in the form of an edge features matrix E (Fig. 1 d). Each row of E corresponds to an edge e ij = ( v i , v j ) in G , and is referred to as the edge feature vector e ij for that edge. The length of e ij corresponds to the number of edge features one has chosen to encode (e.g. a one-hot encoding of possible bond types {single, double, triple, aromatic}).”content_tags.variables[3]
variableuniqueness (notation classification dimension) — “According to the IUPAC formalism set in 1964 [ 28 ], notations can be classified as being unique (i.e. one notation for a given compound), non-unique (i.e. more than one notation for a given compound), ambiguous (i.e. the notation will regenerate more than one compound), or/and unambiguous (i.e. the notation will regenerate only the original compound). This formalism is used to describe notations in this section.”content_tags.variables[4]
variablereaction centre (reaction-change representation target) — “Regardless of the representation used, a key problem in the representation of chemical reactions is the identification of the reaction centre. One approach to reaction centre detection and atom mapping is finding the maximum common substructure (MCS) between reactant and product molecules. The determination of the MCS is an NP-complete problem, meaning that the solution is non-deterministic in polynomial time. Several reviews discuss these approaches and have been referenced for the interested reader [ 78 – 80 ].”content_tags.variables[7]
definitionchemical representation — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”content_tags.definitions[0]
definitionnotation — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”content_tags.definitions[1]
definitionmolecular graph — “The idea behind the molecular graph representation lies in mapping the atoms and bonds that make up a molecule into sets of nodes and edges . Intuitively, one could imagine treating the atoms in a molecule as nodes and the bonds as edges , although there is no reason one could not consider other mappings. In typical graph representations, the nodes are represented using circles or spheres, and the edges using lines. In the case of molecular graphs, the nodes are instead often represented using letters indicating the atom type (as on the periodic table), or simply using points where the bonds meet (for carbon atoms).”content_tags.definitions[2]
definitiongraph — “A graph 1 is formally defined as a tuple G = ( V , E ) of a set of nodes V and a set of edges E , where each edge e ∊ E connects pairs of nodes in V . In a molecular graph, V is intuitively the set of all atoms in a molecule, and E is the set of all bonds linking the atoms, although this does not have to be the case. Molecular graphs are generally undirected, meaning that the pairs in E are unordered. [ 36 ].”content_tags.definitions[3]
definitionadjacency matrix — “How the atoms are connected is commonly represented in the form of an adjacency matrix A ; given that a ij is an element of A , a ij = 1 means that there exists a bond between nodes v i and v j in molecular graph G , whereas a ij = 0 means that there exists no bond between them (Fig. 1 b). The adjacency matrix is also sometimes referred to as the connectivity matrix . Note that the adjacency matrix does not necessarily specify what type of bond is connecting each pair of nodes.”content_tags.definitions[4]
definitionSMILES — “WLN requires an extensive knowledge and understanding of the notation’s rule. A more intuitive notation, the Simplified Molecular Input Line Entry System (SMILES), was developed in 1988 by Weininger et al. [ 9 ] and has been the most popular line notation ever since. SMILES notation system was then incorporated into the Daylight Chemical Information Systems [ 48 ] toolkit; the company is still currently maintaining it. The SMILES representation, non-unique and unambiguous, is obtained by assigning a number to each atom in the molecule and then traversing the molecular graph using that order; in the case of RDKit [ 49 ], the graph traversal algorithm used is depth-first search.”content_tags.definitions[5]
definitionSMARTS — “There exists an extension of SMILES developed for substructure searching, named SMILES Arbitrary Target Specification (SMARTS) [ 57 ]. In SMILES there exist two types of symbols to signify atoms and bonds which describe the underlying connectivity of a given molecular graph. However, in SMARTS, the available symbols allow for a more general specification of the molecular graph. This can be likened to the use of regular expressions in computer science. Classical SMARTS can describe an ensemble of molecules that differ at one atom or bond position. It is also possible to include logical operators such as “OR” and “NOT”. Contrary to SMILES, SMARTS can specify different isotopes or bonds types (aromatic or aliphatic). Detailed information about an atom environment can be given using Recursive SMARTS (e.g. ortho, meta, or para substitution patterns in arenes). All SMILES can be valid SMARTS, however the reverse is not true, and decoding a SMILES as a SMARTS will generally not yield the same decoded pattern.”content_tags.definitions[6]
definitionInChI — “The best example of open-source canonical notation is the InChI (International Chemistry Identifier) representation [ 10 ], which was introduced in 2006 by NIST, under the auspices of the IUPAC, as a standard and freely available formula representation. InChI are composed of multiple layers, such as the Main , Charge , Stereochemical , and Isotopic layers, to name a few, which are themselves constituted of sublayers. For example, the Main layer is composed of the Chemical formula , Atom connections , and Hydrogen atoms sublayers (Fig. 5 ).”content_tags.definitions[7]
definitionstructural key — “Structural keys are bit strings, encoding for the absence (using a 0) and the presence (using a 1) of a specific chemical group. To provide a general understanding of the structural keys concept, we present here a few widely used keys.”content_tags.definitions[8]
definitionhashed fingerprint — “Chemical fingerprints are vectors which contain indexed (ordered) elements encoding for physicochemical or structural properties. Hashed fingerprints differ from other descriptors by the fact that each feature is generated from the molecule itself, while in keys, patterns are pre-defined. Their lengths can be set prior to their generation and a hash function assigns molecular patterns to (non-unique) bits, hence the name. Topological or path-based fingerprints are represented by Daylight fingerprints, which usually consist of 512, 1024, or 2048 bits. The Daylight fingerprint encodes for every connectivity pathway within a molecule up to a given length. Circular fingerprints are representations of chemical structures by atom neighbourhoods and have been widely applied in Quantitative Structure–Activity Relationship (QSAR) analysis. A widely used class of circular fingerprints is ECFP (Extended Connectivity Fingerprints) [ 66 ], based on the Morgan algorithm. In ECFPs, heavy (i.e. non-hydrogen) atoms are encoded into multiple circular layers up to a given diameter.”content_tags.definitions[9]
definitionSMIRKS — “SMIRKS belong to the same family as SMILES and SMARTS. Where SMARTS describe molecular patterns or substructures generically, SMIRKS patterns can be used to define generic reaction transformations. They can be used to describe the reaction centre, to enumerate virtual libraries, and to form the knowledge base for reaction and retrosynthetic prediction systems. If one considers that a reaction is a set of atoms and bonds that change during a reaction and the reactant or substrate upon which that change occurs, then SMIRKS must encode the same set of atoms and bonds that change during the reaction, and the site at which that change occurs in the substrate as specified by a SMARTS pattern. The SMARTS pattern is used to specify both the site at which the atom and bond changes occur, and to capture any indirect effects that may influence the reaction. The atomic expressions must be defined such that (a) for any part of a molecule that is to be considered in a generic transformation for which the bonding does not change, SMARTS are to be used, and (b) in cases where bonds change, SMILES are to be used. In this sense, SMIRKS is a hybrid approach between SMILES and SMARTS. There are some rules that must be followed in order to ensure that SMIRKS patterns can be applied. The two sides of the transformation, the reactant(s) and product(s), must contain the same number of mapped atoms, and they must correspond on either side of the reaction. Additionally, any explicit hydrogens must appear explicitly on either side of the reaction and have corresponding atom mapping numbers. SMIRKS are converted into a reaction graph for their subsequent use. The reaction SMILES and corresponding SMIRKS are shown in Fig. 6 .”content_tags.definitions[10]
definitionRInChI — “An extension of the InChI, RInChI [ 18 , 70 ], was developed between 2008 and 2018 and introduced a unique, order invariant identifier for reactions. It was developed in response to the growing size of reaction data to aid reproducibility, to consider more information than just the participating molecules, and to provide enough information such that practically identical reactions would be represented the same way. RInChI grammar, however, is relatively more complicated than that of Reaction SMILES.”content_tags.definitions[11]
definitionreaction fingerprint — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”content_tags.definitions[12]
definitionrepresentation learning — “Despite this being a review of molecular representations, many of these representations are themselves used in representation learning applications within deep learning. Representation learning is the idea of learning an internal representation (e.g. a vector) for a given object (e.g. a molecule) and then using that internal representation for a predictive task. These internal representations are learned, meaning models can be trained to create them using classic techniques such as backpropagation in neural networks. With representation learning tasks, it is key to first identify a suitable input representation of a molecule that contains as much of the desired/necessary information to solve a problem as possible. Of the applications described below, any using deep neural network (DNN) architectures are essentially carrying out representation learning tasks, whereas classical ML methods such as random forests (RFs) and support vector machines do not operate by learning internal representations.”content_tags.definitions[13]
Concepts
terms this paper carries, each with the sentence it was cut from — the layer that joins one paper to another. Terms with no quote yet are on CONCEPTS.html.
conceptchemical representation — encoding of a chemical compound — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”concepts[0]
conceptencoding of a chemical compound — not defined in this paper's own words; class defining chemical representation — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”concepts[1]
conceptlinear representations — chemical notations — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”concepts[2]
conceptnotations — not defined in this paper's own words; linear chemical representations — “The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representation as any encoding of a chemical compound; linear representations are referred to as notations.”concepts[3]
conceptmolecular graph representation — not defined in this paper's own words; atom-bond graph encoding — “The idea behind the molecular graph representation lies in mapping the atoms and bonds that make up a molecule into sets of nodes and edges . Intuitively, one could imagine treating the atoms in a molecule as nodes and the bonds as edges , although there is no reason one could not consider other mappings. In typical graph representations, the nodes are represented using circles or spheres, and the edges using lines. In the case of molecular graphs, the nodes are instead often represented using letters indicating the atom type (as on the periodic table), or simply using points where the bonds meet (for carbon atoms).”concepts[4]
concept2D object — not defined in this paper's own words; formal dimensional class of molecular graphs — “A molecular graph representation is formally a 2D object that can be used to represent 3D information (e.g. atomic coordinates, bond angles, chirality). However, any spatial relationships between the nodes must be encoded as node and/or edge attributes, as nodes in a graph (the mathematical object) do not formally have spatial positions, only pairwise relationships. There are of course limitations to this representation, which are discussed in a later section. The 2D and 3D representations of graphs can easily be visualized by many software packages, including ChemDraw [ 30 ], Mercury [ 31 ], Avogadro [ 32 ], VESTA [ 33 ], PyMOL [ 34 ], and VMD [ 35 ] (the latter 5 are suitable for small- and macro-molecules, and either free or open-source).”concepts[5]
conceptgraph — not defined in this paper's own words; tuple of nodes and edges — “A graph 1 is formally defined as a tuple G = ( V , E ) of a set of nodes V and a set of edges E , where each edge e ∊ E connects pairs of nodes in V . In a molecular graph, V is intuitively the set of all atoms in a molecule, and E is the set of all bonds linking the atoms, although this does not have to be the case. Molecular graphs are generally undirected, meaning that the pairs in E are unordered. [ 36 ].”concepts[6]
concepttuple — not defined in this paper's own words; formal class of a graph — “A graph 1 is formally defined as a tuple G = ( V , E ) of a set of nodes V and a set of edges E , where each edge e ∊ E connects pairs of nodes in V . In a molecular graph, V is intuitively the set of all atoms in a molecule, and E is the set of all bonds linking the atoms, although this does not have to be the case. Molecular graphs are generally undirected, meaning that the pairs in E are unordered. [ 36 ].”concepts[7]
conceptadjacency matrix — not defined in this paper's own words; pairwise node-connectivity matrix — “How the atoms are connected is commonly represented in the form of an adjacency matrix A ; given that a ij is an element of A , a ij = 1 means that there exists a bond between nodes v i and v j in molecular graph G , whereas a ij = 0 means that there exists no bond between them (Fig. 1 b). The adjacency matrix is also sometimes referred to as the connectivity matrix . Note that the adjacency matrix does not necessarily specify what type of bond is connecting each pair of nodes.”concepts[8]
conceptconnectivity matrix — not defined in this paper's own words; alternate name for adjacency matrix — “How the atoms are connected is commonly represented in the form of an adjacency matrix A ; given that a ij is an element of A , a ij = 1 means that there exists a bond between nodes v i and v j in molecular graph G , whereas a ij = 0 means that there exists no bond between them (Fig. 1 b). The adjacency matrix is also sometimes referred to as the connectivity matrix . Note that the adjacency matrix does not necessarily specify what type of bond is connecting each pair of nodes.”concepts[9]
conceptnode features matrix — not defined in this paper's own words; atom-identity feature matrix — “The identity of the atoms can be represented in the form of a node features matrix X (Fig. 1 c). Each row of X corresponds to a node v i (i.e. an atom in the molecule) in G ; this row is also referred to as the node feature vector x i for that atom. The length of x i corresponds to the number of atom features one has chosen to encode (e.g. a one-hot 2 encoding of atom type and formal charge).”concepts[10]
conceptedge features matrix — not defined in this paper's own words; bond-identity feature matrix — “The identity of the bonds can be represented in the form of an edge features matrix E (Fig. 1 d). Each row of E corresponds to an edge e ij = ( v i , v j ) in G , and is referred to as the edge feature vector e ij for that edge. The length of e ij corresponds to the number of edge features one has chosen to encode (e.g. a one-hot encoding of possible bond types {single, double, triple, aromatic}).”concepts[11]
conceptgraph traversal algorithm — not defined in this paper's own words; node-ordering method — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”concepts[12]
conceptdepth-first — not defined in this paper's own words; branch-completing graph traversal — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”concepts[13]
conceptbreadth-first — not defined in this paper's own words; neighbor-layer graph traversal — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”concepts[14]
conceptrandom search — not defined in this paper's own words; arbitrary-order traversal — “Although, formally, graphs are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphs are node order dependent. The node order used in a matrix representation is determined by a graph traversal algorithm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node order every time. To this end, one can use methods such as a depth-first or breadth-first search to generate graph matrix representations. The graph traversal algorithm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graph is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random search can be used.”concepts[15]
concepthypergraphs — not defined in this paper's own words; graphs whose edges may contain multiple atoms — “Solutions to the handling of multi-valent bonds have been introduced via the use of hypergraphs ; in a hypergraph, edges are sets of at least two atoms ( hyperedges ) instead of tuples of atoms [ 37 ]. However, the use of hypergraphs is not further discussed here as they are not currently widespread in the field.”concepts[16]
conceptlinear notations — not defined in this paper's own words; compact graph-derived strings — “This is not a problem with linear notations, which build upon the graph framework to create more compact and memory-efficient representations for molecules [ 38 ]. Linear notations have the advantage that they can be, for example, entries in a table, as well as easily searchable (for identity search, not substructure search), when a matrix representation is not convenient.”concepts[17]
conceptconnection table — not defined in this paper's own words; six-part chemical structure table — “Whilst graphs underlie the representation of molecules, the matrices by which they are described are not a compact representation, and scale as the square of the number of atoms. The connection table (Ctab) [ 39 ] is composed of six parts: (1) Counts line , (2) Atom block , (3) Bond block , (4) Atom list block , (5) Stext block , and (6) Properties block . Readers are referred to the referenced material for a detailed description of each component. The counts line is always the first line, and as such gives an overview of the structure by specifying the number of atoms, bonds, and atom lists, as well as the presence or absence of chirality. The version (V2000 or V3000) is also specified on this line. The atom block describes the identities of the atoms as a list with arbitrary index values, as well as the atomic symbols, mass differences, charge, stereochemistry, and associated hydrogens. Note that it is often practical to treat any hydrogens in a molecule as implicit —that is, not storing hydrogens as atom objects and instead implicitly defining the hydrogen count using a valence model. Treating hydrogens as properties of the heavy atoms rather than as explicit nodes significantly reduces the size of the atom and bond block, making the format more compact. These can be recalculated based on valence rules if required; in such cases, valency information must be given explicitly in the atom block. The bond block describes the connectivity of the atoms as well as the identity of the bonds connecting them. The atoms may be fully or partially connected by bonds, thereby supporting the description of fragments and unconnected atoms. The bond block is composed of the atom indices and bond types; the bond order is also provided as an additional column. There is no requirement for the bond block of the connection table to be ordered in a particular way. The two blocks are combined to form the core of the Ctab. Similarly to a matrix representation, the Ctab is extensible, meaning that lists describing supported properties may be added to the properties block. Notably, any entries associated with charges, radicals, or isotopes supersede those in the atom block, if present. As a result of backwards compatibility to previous versions and the prevalence programs utilising them, connection tables have become one of the standard formats for handling chemical structural information and underlie the widely used Molfile formats. It should be noted that connection tables are in themselves not a file format but are the core building block around which CT files are built.”concepts[18]
conceptCTfiles — not defined in this paper's own words; connection-table-based file family — “The Molfile format family developed by MDL are collectively known as CTfiles (chemical table files) as they use connection tables to describe molecular structures. In addition, CTfiles are highly extensible and as such have formed a series of file formats that have been widely used for chemical information transfer. The series is shown in Fig. 3 , which shows how the connection table is wrapped within the Molfile format, which can be subsequently wrapped into a structure/data (SD) file, containing both structural information and additional property data for any number of molecules.”concepts[19]
conceptSMILES — not defined in this paper's own words; non-unique unambiguous line notation — “WLN requires an extensive knowledge and understanding of the notation’s rule. A more intuitive notation, the Simplified Molecular Input Line Entry System (SMILES), was developed in 1988 by Weininger et al. [ 9 ] and has been the most popular line notation ever since. SMILES notation system was then incorporated into the Daylight Chemical Information Systems [ 48 ] toolkit; the company is still currently maintaining it. The SMILES representation, non-unique and unambiguous, is obtained by assigning a number to each atom in the molecule and then traversing the molecular graph using that order; in the case of RDKit [ 49 ], the graph traversal algorithm used is depth-first search.”concepts[20]
conceptrandomized SMILES — not defined in this paper's own words; alternative atom-order SMILES — “There can be multiple atom numberings for a given molecule, leading to different SMILES. SMILES can thus be enumerated for data augmentation [ 50 ]. The ensemble of SMILES representing one molecule can be referred to as enumerated or randomized SMILES and are obtained by, for each molecule, randomly selecting an initial node for graph traversal while keeping the same graph traversal algorithm, thus leading to different atom orderings [ 51 ]. For clarity, we emphasize that randomized SMILES do not use a random search to generate representations, they rely on a depth-first search. To avoid conflicting SMILES representations for the same molecule, a unique SMILES can be designated, and several canonicalization methods exist to this end [ 38 , 52 , 53 ]. A schematic illustrating the difference between two SMILES variants is shown in Fig. 4 .”concepts[21]
conceptOpenSMILES — not defined in this paper's own words; open SMILES specification — “The OpenSMILES [ 56 ] specification was developed in 2007 to provide a SMILES standard form and to clarify some interpretations of corner cases present in the Daylight’s SMILES system. A major issue with Daylight’s SMILES is that its canonicalization algorithm is proprietary, and as such implementations vary between companies and research teams. A novel open source method to generate canonical SMILES was developed in 2012 [ 38 ]. Such SMILES are generated using the canonical label provided by the InChI representation [ 10 ], which is described later in this section. Using such “universal” SMILES seeks to facilitate the comparison between chemical models used by different toolkits.”concepts[22]
conceptSMARTS — not defined in this paper's own words; substructure query language — “There exists an extension of SMILES developed for substructure searching, named SMILES Arbitrary Target Specification (SMARTS) [ 57 ]. In SMILES there exist two types of symbols to signify atoms and bonds which describe the underlying connectivity of a given molecular graph. However, in SMARTS, the available symbols allow for a more general specification of the molecular graph. This can be likened to the use of regular expressions in computer science. Classical SMARTS can describe an ensemble of molecules that differ at one atom or bond position. It is also possible to include logical operators such as “OR” and “NOT”. Contrary to SMILES, SMARTS can specify different isotopes or bonds types (aromatic or aliphatic). Detailed information about an atom environment can be given using Recursive SMARTS (e.g. ortho, meta, or para substitution patterns in arenes). All SMILES can be valid SMARTS, however the reverse is not true, and decoding a SMILES as a SMARTS will generally not yield the same decoded pattern.”concepts[23]
conceptInChI — not defined in this paper's own words; open layered canonical notation — “The best example of open-source canonical notation is the InChI (International Chemistry Identifier) representation [ 10 ], which was introduced in 2006 by NIST, under the auspices of the IUPAC, as a standard and freely available formula representation. InChI are composed of multiple layers, such as the Main , Charge , Stereochemical , and Isotopic layers, to name a few, which are themselves constituted of sublayers. For example, the Main layer is composed of the Chemical formula , Atom connections , and Hydrogen atoms sublayers (Fig. 5 ).”concepts[24]
conceptInChIKey — not defined in this paper's own words; hashed InChI representation — “A hashed version of the InChI, the InChIKey, is used for open-web searching and library searching [ 58 ]. The first block of an InChIKey represents the molecular skeleton, and the second block encodes for isomerism. InChIKeys are designed to be unique representations of their corresponding parent InChI representations. However, an InChIKey can sometimes map to more than one InChI, the situation being referred to as an InChIKey collision [ 59 ]. Unlike SMILES, InChIs are not guaranteed to be decodable back to the molecular graphs from which they originate, and SMILES have the advantage of being more human-readable. For a detailed overview of the applications of InChIs and the underlying algorithm, readers are referred to the works of Heller [ 10 ] and Warr [ 60 ].”concepts[25]
conceptInChIKey collision — not defined in this paper's own words; multiple InChIs mapping to one key — “A hashed version of the InChI, the InChIKey, is used for open-web searching and library searching [ 58 ]. The first block of an InChIKey represents the molecular skeleton, and the second block encodes for isomerism. InChIKeys are designed to be unique representations of their corresponding parent InChI representations. However, an InChIKey can sometimes map to more than one InChI, the situation being referred to as an InChIKey collision [ 59 ]. Unlike SMILES, InChIs are not guaranteed to be decodable back to the molecular graphs from which they originate, and SMILES have the advantage of being more human-readable. For a detailed overview of the applications of InChIs and the underlying algorithm, readers are referred to the works of Heller [ 10 ] and Warr [ 60 ].”concepts[26]
conceptmolecular descriptors — not defined in this paper's own words; property rather than exact-structure encodings — “The representations presented above are atom-based, meaning it is possible to rebuild the molecule based on the representation. There exist, however, other types of notations which, rather than encoding the exact structure of a compound, instead encode the physicochemical, structural, topological, and/or electronic properties of a compound. These are referred to as molecular descriptors [ 11 ] among which two main classes are structural keys and the hashed fingerprints. Descriptors are unique and ambiguous notations widely used in cheminformatics, and their complete descriptions would require a review of their own. A non-exhaustive list can be found in association with the Dragon software [ 61 ], which can calculate 4885 descriptors.”concepts[27]
conceptstructural keys — not defined in this paper's own words; predefined substructure bit strings — “Structural keys are bit strings, encoding for the absence (using a 0) and the presence (using a 1) of a specific chemical group. To provide a general understanding of the structural keys concept, we present here a few widely used keys.”concepts[28]
conceptbit strings — not defined in this paper's own words; class of structural keys — “Structural keys are bit strings, encoding for the absence (using a 0) and the presence (using a 1) of a specific chemical group. To provide a general understanding of the structural keys concept, we present here a few widely used keys.”concepts[29]
conceptMACCS — not defined in this paper's own words; widely used structural key family — “MACCS Keys The first set of keys is referred to as MACCS (Molecular ACCess System) keys or MDL keyset [ 62 , 63 ] and is frequently used for similarity searching. In MACCS keys, each bit indicates the presence or absence of a particular structural fragment. Many variants of the MACCS keys exist [ 64 ], with the most commonly used being 166 and 960-bits long. thus encoding for the presence or absence of 166 and 960 structural fragments. It should be noted that there are many software implementations of the 166-bit MACCS keys, thus one should be cautious as one substructure will not be assigned to the same bit from one software to the other.”concepts[30]
conceptchemical fingerprints — not defined in this paper's own words; ordered property or pattern vectors — “Chemical fingerprints are vectors which contain indexed (ordered) elements encoding for physicochemical or structural properties. Hashed fingerprints differ from other descriptors by the fact that each feature is generated from the molecule itself, while in keys, patterns are pre-defined. Their lengths can be set prior to their generation and a hash function assigns molecular patterns to (non-unique) bits, hence the name. Topological or path-based fingerprints are represented by Daylight fingerprints, which usually consist of 512, 1024, or 2048 bits. The Daylight fingerprint encodes for every connectivity pathway within a molecule up to a given length. Circular fingerprints are representations of chemical structures by atom neighbourhoods and have been widely applied in Quantitative Structure–Activity Relationship (QSAR) analysis. A widely used class of circular fingerprints is ECFP (Extended Connectivity Fingerprints) [ 66 ], based on the Morgan algorithm. In ECFPs, heavy (i.e. non-hydrogen) atoms are encoded into multiple circular layers up to a given diameter.”concepts[31]
conceptReaction SMILES — not defined in this paper's own words; SMILES-based reaction representation — “The SMILES format used for describing molecules has been extended to so-called Reaction SMILES by Daylight Chemical Information Systems. Each molecule in the reactants, agents, and products is represented by a SMILES string, and disconnected structures are separated by a period; this includes the individual molecules, ions and ligands, which are listed in an arbitrary manner. Reactants, agents, and products are separated by either the ‘>’ or ‘≫’ symbol (the latter used when agents are not given). Atom-mappings (i.e. mappings of atoms in the reactants to their equivalent atoms in the products) can be stored in Reaction SMILES as a non-negative integer following the character ‘:’ within an atom expression. Atom mappings do not apply to agents. Furthermore, the storage of additional textual information such as the reaction centre (i.e. the atom and bonds that change during a transformation) or reaction conditions is not supported. Nonetheless, formats such as the RXN and RD file formats, especially the latter, can store this additional metadata, as can other file formats or databases.”concepts[32]
conceptSMIRKS — not defined in this paper's own words; generic reaction-transformation language — “SMIRKS belong to the same family as SMILES and SMARTS. Where SMARTS describe molecular patterns or substructures generically, SMIRKS patterns can be used to define generic reaction transformations. They can be used to describe the reaction centre, to enumerate virtual libraries, and to form the knowledge base for reaction and retrosynthetic prediction systems. If one considers that a reaction is a set of atoms and bonds that change during a reaction and the reactant or substrate upon which that change occurs, then SMIRKS must encode the same set of atoms and bonds that change during the reaction, and the site at which that change occurs in the substrate as specified by a SMARTS pattern. The SMARTS pattern is used to specify both the site at which the atom and bond changes occur, and to capture any indirect effects that may influence the reaction. The atomic expressions must be defined such that (a) for any part of a molecule that is to be considered in a generic transformation for which the bonding does not change, SMARTS are to be used, and (b) in cases where bonds change, SMILES are to be used. In this sense, SMIRKS is a hybrid approach between SMILES and SMARTS. There are some rules that must be followed in order to ensure that SMIRKS patterns can be applied. The two sides of the transformation, the reactant(s) and product(s), must contain the same number of mapped atoms, and they must correspond on either side of the reaction. Additionally, any explicit hydrogens must appear explicitly on either side of the reaction and have corresponding atom mapping numbers. SMIRKS are converted into a reaction graph for their subsequent use. The reaction SMILES and corresponding SMIRKS are shown in Fig. 6 .”concepts[33]
conceptRInChI — not defined in this paper's own words; order-invariant reaction identifier — “An extension of the InChI, RInChI [ 18 , 70 ], was developed between 2008 and 2018 and introduced a unique, order invariant identifier for reactions. It was developed in response to the growing size of reaction data to aid reproducibility, to consider more information than just the participating molecules, and to provide enough information such that practically identical reactions would be represented the same way. RInChI grammar, however, is relatively more complicated than that of Reaction SMILES.”concepts[34]
conceptCGR — not defined in this paper's own words; condensed graph of reaction — “Varnek and co-workers have developed the CGR approach [ 19 ], whereby molecular structures are encoded in a matrix containing the occurrence of fragments of a given type. The CGR is a superposition of the reactant and product molecules, and additionally defines what atoms and bonds have changed as well as their properties. This builds on the description of organic reactions using imaginary transition states as described by Fujita [ 72 ]. In analogy to SMIRKS, the CGR can be used to describe a reaction transformation. An example CGR is shown in Fig. 6 .”concepts[35]
conceptBE-matrix — not defined in this paper's own words; bond-electron reaction matrix — “To exemplify the representation of reactions as matrices, the bond-electron matrix developed by Dugundji and Ugi was previously employed for reaction classification and has also been used as an inspiration for the representation used in programs such as the Elaboration of Reactions for Organic Synthesis (EROS) [ 74 ], and the Workbench for the Organisation of Data for Chemical Applications (WODCA). The BE-matrix is an N by N matrix, where N is the number of atoms in a molecule, and the diagonal entries specify the number of free valence electrons. The off-diagonals specify the bond orders between atoms as found in the bond matrix. The reaction is represented by an “R-matrix” which corresponds to bond changes or changes of non-bonded valence electrons. Positive values indicate bond formation, whereas negative values indicate bond breakage. Adding the “R-matrix” to the BE-matrix of a reactant gives the BE-matrix of a product. The “R-matrix” is therefore an alternate method for representation of the reaction centre [ 20 ]. The BE-matrix illustrates the concept of adding additional information into the matrix representation.”concepts[36]
conceptHORACE — not defined in this paper's own words; hierarchical reaction classifier — “HORACE [ 21 ] employs a machine learning algorithm for the classification of chemical reactions and is mentioned here because of the hierarchical description of chemical reactions that it uses. It was developed to describe specific reaction instances as well as abstractions of reaction types. Three levels of abstraction are employed. The lowest level describes the partial order of atom types, which gives an explicit hierarchy at the atom level by specifying the degree of similarity between atoms. Following the atom level description is the structural level description. This uses a list of functional groups as structural features by which to characterize individual molecules. The structural characterization is then used to specify which molecules correspond to atoms in the reaction centre. The highest level of abstraction specifies physiochemical properties, which describe the function of the corresponding structure. The hierarchy therefore enables a richer description of a chemical reaction than a purely structural one (as with SMILES).”concepts[37]
conceptreaction centre — not defined in this paper's own words; atoms and bonds changed by a reaction — “Regardless of the representation used, a key problem in the representation of chemical reactions is the identification of the reaction centre. One approach to reaction centre detection and atom mapping is finding the maximum common substructure (MCS) between reactant and product molecules. The determination of the MCS is an NP-complete problem, meaning that the solution is non-deterministic in polynomial time. Several reviews discuss these approaches and have been referenced for the interested reader [ 78 – 80 ].”concepts[38]
conceptreaction fingerprints — not defined in this paper's own words; vectors of reaction-centre structural changes — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”concepts[39]
conceptvector representations of reactions — not defined in this paper's own words; class of reaction fingerprints — “Reaction fingerprints are vector representations of reactions. They specifically represent the structural changes taking place in the reaction centre. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprint highlights an alternate approach to reaction centre detection and representation; however, it cannot be easily converted to a reaction graph. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].”concepts[40]
conceptmacromolecules — not defined in this paper's own words; polymeric chemical structures — “While there have been many advances in the representation of small molecules, in comparison very few studies [ 85 ] have addressed the representation of macromolecules, which are polymeric structures. In this section, we present representations made for biopolymers and bio-oligomers, like proteins and oligosaccharides, and synthetic polymers. The process of representing macromolecules can be hindered by the fact that, while many polymers are monodisperse (i.e. constituting monomers have the same chain length), others can be polydisperse, such that their stochastic nature results in an undefined chain length. Examples of macromolecules and their notations are shown on Fig. 8 .”concepts[41]
conceptamino acid sequences — not defined in this paper's own words; bioinformatics polymer representation — “This section places itself at the interface between bioinformatics and cheminformatics. While in cheminformatics small molecules are described on the atomic-level, in bioinformatics, polymers, such as a proteins or polynucleotide molecules, are more commonly defined using their nucleotide and amino acid sequences. Representations which combine atomic and sequence information are presented here.”concepts[42]
conceptPeptides — not defined in this paper's own words; short amino-acid chains — “Peptides are chains of 2 to 50 AAs linked by peptide bonds. They can be antibiotics, immunosuppressants, or antitumor agents. This broad range of biological activity sparked the interest of the community.”concepts[43]
conceptchains of 2 to 50 AAs — not defined in this paper's own words; class defining peptides — “Peptides are chains of 2 to 50 AAs linked by peptide bonds. They can be antibiotics, immunosuppressants, or antitumor agents. This broad range of biological activity sparked the interest of the community.”concepts[44]
conceptCHUCKLES — not defined in this paper's own words; sequence-SMILES translator — “A method named CHUCKLES [ 12 ] was developed in 1994 to infer SMILES of polymers from their sequences and vice versa. In cheminformatics, this method is particularly useful in inferring the SMILES from the peptide sequence, which is referred to as Forward Translation (FT). In FT, monomers sequences and SMILES are stored in a lookup table, with the SMILES excluding any atoms which would be involved in monomer bonding. For linear structures, SMILES corresponding to each residue are concatenated. In branched and cyclized structures, monomer indices are mapped to the SMILES, thus encoding for structures such as disulfide bridges. CHUCKLES is applicable to oligomeric structures and is used in BIOPEP-UWM [ 87 ]. An extension of CHUCKLES, CHORTLES, was designed to handle oligomeric mixtures. Two notations are well known for their ability to describe a broad range of macromolecules: the Hierarchical Editing Language for macromolecules (HELM) [ 14 , 88 ] and the Self-Contained Sequence Representation (SCSR) [ 89 ]. Both representations were developed concurrently, the first one relying on SMILES and the second one on the v3000 Molfile format. SCSR was developed by BIOVIA which provides automated interconversion between HELM and SCSR.”concepts[45]
conceptHELM — not defined in this paper's own words; hierarchical macromolecule notation — “In the following lines, we provide further details on HELM, which was developed by Pfizer under the auspices of the Pistoia Alliance. The objective of the project was to design a system representing combinations of component structure types (e.g. peptides, antibodies, chemical modifiers). An example of HELM notation is shown in Fig. 9 . Initially, HELM was limited to well-defined structures; however, HELM2 overcame this limitation and can describe polymer mixtures and free-form annotations. HELM represents monomers in a SMILES-like format, simple polymers using a simplified version of CHUCKLES and complex polymers using graphs. Its structure hierarchy follows the granularity of the structures: Complex Polymer, Simple Polymer, Monomer, and Atom. HELM is implemented in many pharmaceutical companies [ 90 ], in public databases (in 2016, ChEMBL21 contained 20,000 peptides annotated with HELM [ 91 ]), as well as in various packages and software such as RDKit (limited to peptides), ChemDraw, the Biomolecule Toolkit, ChemAxon, and Sugar&Splice, which can all encode for peptides, DNA, and RNA.”concepts[46]
conceptSMILES-like format — not defined in this paper's own words; HELM monomer representation — “In the following lines, we provide further details on HELM, which was developed by Pfizer under the auspices of the Pistoia Alliance. The objective of the project was to design a system representing combinations of component structure types (e.g. peptides, antibodies, chemical modifiers). An example of HELM notation is shown in Fig. 9 . Initially, HELM was limited to well-defined structures; however, HELM2 overcame this limitation and can describe polymer mixtures and free-form annotations. HELM represents monomers in a SMILES-like format, simple polymers using a simplified version of CHUCKLES and complex polymers using graphs. Its structure hierarchy follows the granularity of the structures: Complex Polymer, Simple Polymer, Monomer, and Atom. HELM is implemented in many pharmaceutical companies [ 90 ], in public databases (in 2016, ChEMBL21 contained 20,000 peptides annotated with HELM [ 91 ]), as well as in various packages and software such as RDKit (limited to peptides), ChemDraw, the Biomolecule Toolkit, ChemAxon, and Sugar&Splice, which can all encode for peptides, DNA, and RNA.”concepts[47]
conceptProteins — not defined in this paper's own words; long amino-acid polypeptides — “Proteins are polypeptides made up of 50 or more amino acids. They are generally biological targets; however, therapeutic protein drugs have been engineered [ 94 ]. The largest repository of 3D structures of proteins and nucleic acids is the Protein Data Bank (PDB) [ 17 ], which contains more than 150,000 structures. PDB entries contain the atomic coordinates of every atom in a protein structure as well as solvent molecules (if applicable). Each atom is identified by a sequential number, a specific atom name, the name and number of its corresponding residue, a one-letter code specifying the chain, its spatial coordinates ( x , y , and z ), and an occupancy and temperature factor. Furthermore, any notations mentioned in the Peptide section can be used for protein representations. In 2008, the Protein Line Notation (PLN) [ 16 ] was created by Biochemfusion and is implemented in PubChem. Pseudo-atoms were used to represent a simplified version of a residue structure, which enabled a lossless conversion between chemistry and sequence formats.”concepts[48]
conceptpolypeptides — not defined in this paper's own words; class of proteins — “Proteins are polypeptides made up of 50 or more amino acids. They are generally biological targets; however, therapeutic protein drugs have been engineered [ 94 ]. The largest repository of 3D structures of proteins and nucleic acids is the Protein Data Bank (PDB) [ 17 ], which contains more than 150,000 structures. PDB entries contain the atomic coordinates of every atom in a protein structure as well as solvent molecules (if applicable). Each atom is identified by a sequential number, a specific atom name, the name and number of its corresponding residue, a one-letter code specifying the chain, its spatial coordinates ( x , y , and z ), and an occupancy and temperature factor. Furthermore, any notations mentioned in the Peptide section can be used for protein representations. In 2008, the Protein Line Notation (PLN) [ 16 ] was created by Biochemfusion and is implemented in PubChem. Pseudo-atoms were used to represent a simplified version of a residue structure, which enabled a lossless conversion between chemistry and sequence formats.”concepts[49]
conceptProtein Data Bank — not defined in this paper's own words; 3D protein and nucleic-acid structure repository — “Proteins are polypeptides made up of 50 or more amino acids. They are generally biological targets; however, therapeutic protein drugs have been engineered [ 94 ]. The largest repository of 3D structures of proteins and nucleic acids is the Protein Data Bank (PDB) [ 17 ], which contains more than 150,000 structures. PDB entries contain the atomic coordinates of every atom in a protein structure as well as solvent molecules (if applicable). Each atom is identified by a sequential number, a specific atom name, the name and number of its corresponding residue, a one-letter code specifying the chain, its spatial coordinates ( x , y , and z ), and an occupancy and temperature factor. Furthermore, any notations mentioned in the Peptide section can be used for protein representations. In 2008, the Protein Line Notation (PLN) [ 16 ] was created by Biochemfusion and is implemented in PubChem. Pseudo-atoms were used to represent a simplified version of a residue structure, which enabled a lossless conversion between chemistry and sequence formats.”concepts[50]
conceptWURCS — not defined in this paper's own words; unique glycan notation — “Oligosaccharides and polysaccharides are glycans containing more than 3 and 20 monosaccharides (the smallest sugar unit), respectively. In drug discovery, glycans are interesting as receptors, small molecule glycomimetics, therapeutic glycopeptides, and vaccines. Glycan databases are used by carbohydrate researchers and structures are generally recorded using monosaccharide-based notations [ 97 – 100 ]. These representations do not allow for the analysis of the interactions between glycans and proteins using docking techniques, which require atom-based representations. Converter tools have been developed [ 101 , 102 ] that translate these notations to atom-based representations. With the aim of creating a linear and unique notation for glycan data, compatible with the usage of the semantic web, the Web3 Unique Representation of Carbohydrate Structures (WURCS) [ 15 ] was developed and combined bioinformatics and cheminformatics features. The newest version of WURCS [ 103 ], used by the International Glycan Structure Repository GlyTouCan [ 104 ], encodes the following features: the main carbon backbone of a monosaccharide residue, the backbone modifications (i.e. atoms belonging to a monosaccharide which are not part of the backbone), and the linkage information between the backbone and a modification. The notation provides explicit anomeric information and can handle ambiguous monosaccharide structures (e.g. unknown ring closure or anomeric information). Currently, WURCS is implemented in many databases but unsupported by most cheminformatics software.”concepts[51]
conceptBigSMILES — not defined in this paper's own words; stochastic polymer notation — “In the context of drug discovery, polymers are primarily used as drug deliverers. Nonetheless, some polymers have been used as active ingredients. Recently, the BigSMILES [ 107 ] syntax was introduced to encode for homopolymers, random- and block co-polymers, and molecules with different degrees of complexity in connectivity, such as linear polymers, ring polymers, and branched polymers. The stochastic unit of these polymers is identified by a pair of curly brackets. Repeated units are delimited by a comma and listed inside these brackets. Although BigSMILES are currently not canonical, a canonicalization scheme is under development. No application of this notation is available to this date; however, the development of polymeric drugs is expected to flourish [ 96 ], and ML models could be applied to aid in related studies.”concepts[52]
concept2D depictions — not defined in this paper's own words; skeletal raster or vector images — “Molecules as raster or vector images are very often represented by their skeletal structures, which are referred to as 2D depictions (Fig. 10 a). Many difficulties can be encountered when generating 2D depictions related to the layout (e.g. orientation, overlap) and rendering (e.g. font, abbreviations, atom labels alignment) of the image. In 2008, the IUPAC issued recommendations for the standard display (typography, orientation of structure, etc.) of 2D depictions [ 108 ]. Such obstacles are overcome by a range of algorithms; however, as of now, none of them can perfectly display every chemical structure. This was exemplified in 2008 in a comparative study of 2 proprietary toolkits (Cactvs [ 109 ], used by PubChem, and Molinspiration [ 110 ]), and 3 open-source toolkits: RDKit, OASA [ 111 ], and CDK [ 112 ]. In 2017, improvements were done in CDK to depict stereochemistry more accurately and to solve atomic overlap [ 112 ]; on the latter point, the algorithm went from a heuristic approach to a refinement process. For more up-to-date details and examples of 2D depiction algorithms and their limitations, we refer the readers to a 2016 presentation by John Mayfield [ 113 ].”concepts[53]
concept3D depictions — not defined in this paper's own words; spatial molecular displays — “Before the advent of computers, various molecular models were developed to visualize and manipulate molecules in 3D and were built by assembling balls and sticks made of materials such as plastics or metals. Nowadays, while physical molecular modelling kits are still used in educational environment to represent basic structures, visualization software has become a tool of choice for 3D graphical displays of molecules (examples of visualization software have been provided in the subsection Introduction to the molecular graph representation ). The software Avogadro, PyMOL, and VMD all offer the popular representations ball - and - stick , cartoon , and van der Waals (vdW), as well as many independent representations. Each representation is useful for the visualization of specific properties, be it the structure coloured by atom types (Fig. 10 d), the secondary biological structure (Fig. 10 b), or the space-filling vdW spheres (Fig. 10 c). The vdW spheres help visualize the surface on which the molecule can build interactions; using this depiction, interactions between proteins and ligands can be visualized in 3D (Fig. 10 f). 3D depictions are especially useful in docking and mechanistic studies, while 2D depictions are standard in structure–activity investigations.”concepts[54]
conceptrepresentation learning — not defined in this paper's own words; learning predictive internal vectors — “Despite this being a review of molecular representations, many of these representations are themselves used in representation learning applications within deep learning. Representation learning is the idea of learning an internal representation (e.g. a vector) for a given object (e.g. a molecule) and then using that internal representation for a predictive task. These internal representations are learned, meaning models can be trained to create them using classic techniques such as backpropagation in neural networks. With representation learning tasks, it is key to first identify a suitable input representation of a molecule that contains as much of the desired/necessary information to solve a problem as possible. Of the applications described below, any using deep neural network (DNN) architectures are essentially carrying out representation learning tasks, whereas classical ML methods such as random forests (RFs) and support vector machines do not operate by learning internal representations.”concepts[55]
conceptinternal representation — not defined in this paper's own words; learned object vector — “Despite this being a review of molecular representations, many of these representations are themselves used in representation learning applications within deep learning. Representation learning is the idea of learning an internal representation (e.g. a vector) for a given object (e.g. a molecule) and then using that internal representation for a predictive task. These internal representations are learned, meaning models can be trained to create them using classic techniques such as backpropagation in neural networks. With representation learning tasks, it is key to first identify a suitable input representation of a molecule that contains as much of the desired/necessary information to solve a problem as possible. Of the applications described below, any using deep neural network (DNN) architectures are essentially carrying out representation learning tasks, whereas classical ML methods such as random forests (RFs) and support vector machines do not operate by learning internal representations.”concepts[56]
conceptgraph embedding — not defined in this paper's own words; learned molecular-graph vector — “With the development of graph neural networks, a wave of recent work in drug discovery has focused on using the molecular graph representation directly for both property prediction and de novo design. As such, the molecular graph representation can be used for various applications within AI, and there is a large body of work discussing its use for molecular property prediction [ 26 , 116 – 119 ], and, more recently, molecular graph generation [ 120 – 125 ] and synthesis prediction [ 126 ]. In most cases this is done through graph representation learning, by which a graph embedding is obtained from the full graph representation using a graph network [ 127 , 128 ]; the learned graph embedding can be used as input to a property prediction model, such as a RF or DNN, in the same way a classic molecular fingerprint [ 66 , 129 , 130 ] is used. Until recently, more compact linear notations such as SMILES strings were favoured for many ML applications involving molecules, in part due to the larger memory requirement of molecular graph representations; this is, however, slowly changing. For two excellent reviews of deep learning applications in chemistry and drug discovery, we recommend [ 26 ] and [ 131 ]. For a good review on molecular generative models using AI, we recommend [ 132 ].”concepts[57]
conceptlearned fingerprints — not defined in this paper's own words; latent vectors learned by neural models — “Popular applications of linear notations such as SMILES and molecular fingerprints are in molecular property prediction and QSAR. SMARTS patterns have been used to define substructures with the aim of selecting or eliminating associated compounds [ 135 – 137 ]. Additionally, the use of string representations such as SMILES has seen a lot of unexpected success in the field of de novo molecular design using tools from NLP. Data augmentation can be done for many applications using randomized SMILES [ 51 , 138 ]. String representations have also seen success in property prediction using the learned latent space representations obtained using autoencoder frameworks [ 139 ]. As mentioned above, many of the aforementioned neural network models work by learning a vector representation for molecules in the training set, and using that learned representation to predict properties [ 116 , 118 , 140 ]; this is analogous to the older use of hashed fingerprint representations for molecular property prediction using traditional ML approaches, hence the term learned fingerprints .”concepts[58]
conceptretrosynthesis — not defined in this paper's own words; backward reaction planning — “Common applications of the reaction representations are in retrosynthesis and reaction prediction. This is an important field of research, as the synthesizability of proposed compounds is key to computational drug design and having suitable retrosynthesis tools would allow scientists to “close the loop” of AI-driven drug discovery. Many of these applications are also discussed in [ 26 , 69 ].”concepts[59]
conceptprotein structure prediction — not defined in this paper's own words; macromolecule AI application — “Popular applications of the macromolecular representations introduced in this work are in protein structure prediction, as having an accurate picture of a protein and the role it plays in a given disease can help scientists to develop molecules for the right target. Pillong and Schneider [ 141 ] successfully applied their pseudo-receptor model in a virtual screening study aiming to identify aminoglycoside scaffolds with antibacterial potential. The interactions between glycans and proteins have been investigated [ 142 , 143 ] using ML. An important field of investigation linked to glycans is the prediction of glycosylation sites. Many tools were developed to infer such predictions and have been applied recently in the pipeline for the prediction of oncology drug targets [ 144 ] and the characterisation of the novel coronavirus (2019-nCoV) [ 145 ].”concepts[60]
conceptOptical Character Recognition — not defined in this paper's own words; image-to-chemical-representation conversion — “We previously showed how the process of visualizing molecules has become faster, more practical, and more enjoyable thanks to better computational tools. This process is still an important field of research for which virtual reality and 3D printing techniques have been developed. Moreover, as the need for harvesting the large amounts of published data grows, the demand for methods for easily mining structures from papers and patent data is also growing. Optical Character Recognition (OCR) systems, relying on a variety of ML and probabilistic pattern recognition techniques, were created to translate 2D depictions of chemical structures to standard chemical representations [ 146 – 148 ]. Nonetheless, the development of OCR systems can be hindered by the images’ resolutions, the computational interpretations of chemical abbreviations, and the nature of the image representation, which can be embedded in text, in figures containing multiple structures, or in reaction pathways, and can be represented as either a skeletal formula or a Markush structure.”concepts[61]
concepthuman readable — not defined in this paper's own words; adoption property of representations — “It is interesting to note that some representations have held the test of time better than others. This can be partly explained by the evolution of computer technologies, which have improved in terms of storage capabilities, processor qualities, and parallel programming capabilities. Standard representations such as IUPAC-Dyson and WLN were sensible during their times and were made to be manipulated by humans, but difficult to work with on a computer. Computationally simpler representations are now frequently used. Furthermore, detailed representations which require greater computational time to compute (compared to molecular string representations) can nowadays be used; this is the case for hashed fingerprints. Another possible explanation for the endurance of certain molecular representation is that they are more human readable than others, and thus have been better received by the cheminformatics community. Lastly, another reason why some notations persist and others do not is that within different fields and subfields (e.g. cheminformatics, bioinformatics, or AI), different notations are often preferred for either historical or continuity reasons within groups.”concepts[62]

Full text — tagged

Molecular representations in AI-driven drug discovery: a reviewterm·mth and practical guide Abstract The technological advances of the past century, marked by the computer revolution and the advent of high-throughput screening technologies in drug discovery, opened the path to the computational analysis and visualization of bioactive molecules. For this purpose, it became necessary to represent molecules in a syntax that would be readable by computers and understandable by scientists of various fields. A large number of chemical representationsterm have been developed over the years, their numerosity being due to the fast development of computers and the complexity of producing a representation that encompasses all structural and chemical characteristics. We present here some of the most popular electronic molecular and macromolecular representations used in drug discovery, many of which are based on graphterm representations. Furthermore, we describe applications of these representations in AI-driven drug discovery. Our aim is to provide a brief guide on structural representations that are essential to the practice of AI in drug discovery. This reviewterm·mth serves as a guide for researchers who have little experience with the handling of chemical representationsterm and plan to work on applications at the interface of these fields.

Keywords: Molecular representation, Cheminformatics, Drug discovery, Small molecules, Macromoleculesterm, Linear notationterm, Molecular graphsterm·def, Reaction prediction, Artificial intelligence Introduction The representation of molecules has been of interest to scientists since the nineteenth century [ 1 , 2 ]. Traditionally, molecules are represented as structure diagrams with bonds and atoms, and this is likely the representation most people think of when they think of molecules. However, other representations are required for the computational processing of chemical structures in cheminformatics. Here, we define a chemical representationterm as any encoding of a chemical compoundterm; linear representationsterm are referred to as notationsterm.

Over the years, scientists have developed many notationsterm depicting various properties of a compound. A classic notationterm·def is the empirical formula, a non-standard form of Hill notationterm·def. Seemingly simple at first glance, the empirical formula of alanine, C 3 H 7 NO 2 , exemplifies the complexity of building a notationterm·def. Indeed, while information about the atoms is available, it is not possible to know how the atoms are linked from the molecular formula which, moreover, does not encode information related to the molecular geometry. As such, the molecular formula above can be associated to alanine as well as to sarcosine and lactamide. Variants of empirical formulas emphasizing any functional groups also exist but are loosely defined. In these group-centric representations, elements are grouped in the formula as they would be in the molecule so as to highlight any functional groups present e.g. CH 3 CH(NH 2 )COOH to represent alanine.

The advent of computers led to the development of a wide variety of machine-readable chemical representationsterm. Computers allowed for the rapid digital storage and querying of compounds and their structures, swift modifications of digital information, and greater physical storage efficiency. Algorithms were implemented to visualize compounds as 2D depictionsterm [ 3 , 4 ] and the computational visualization of compounds in 3D space was popularized with the development of specialized programs [ 5 – 7 ].

Many precursors to computer-readable notationsterm were introduced between 1947 and 1964 and were dedicated to small organic molecules [ 2 , 8 ]. At the time, memory efficiency was an important factor impacting the development of chemical notationsterm. Popular representations used nowadays, however, were largely developed in and since the 70′s to represent small molecules [ 9 – 11 ], macromoleculesterm [ 12 – 17 ] and chemical reactions [ 18 – 21 ].

In this reviewterm·mth, we focus on chemical representationsterm in cheminformatics and drug discovery. We first introduce the concept of a molecular graphterm·def, which is the most common machine-readable representation, and we give a brief overview of the main notationsterm which paved the way for the current cheminformatics notationsterm. We then focus on the representations that are used nowadays in the field of applying artificial intelligence (AI) to cheminformatics and drug discovery. Finally, we provide examples of AI-related applications using the chemical representationsterm discussed in this reviewterm·mth. This reviewterm·mth is intended to provide an overview of basic cheminformatics knowledge to practising cheminformaticians, students in chemistry, cheminformatics, bioinformatics, and computer science, and anyone interested to learn more about molecular representations in drug discovery. While the coverage of representations introduced herein is not intended to be exhaustive, we emphasise that the representation used to solve a problem is always dependent on the taskterm·var. Thus, the coverage is limited to areas where there is active research in applying machine learning (ML) and AI to cheminformatics and drug discovery. For readers interested in further reading on these topics we recommend references [ 22 – 29 ], in addition to the references cited in each section.

Graphterm representations for small molecules Introduction to the molecular graph representationterm In order to understand the chemical representationsterm presented in this reviewterm·mth, it is important that the reader first has a solid understanding of molecular graphsterm·def, as most molecular representations discussed in this work are built on the molecular graph representationterm. However, there is a distinction between the notationsterm and file formats built using molecular graphsterm·def (e.g. SMILESterm strings, Molfiles), and the abstract mathematical structure/data structure of a graphterm itself. The latter is introduced here.

The idea behind the molecular graph representationterm lies in mapping the atoms and bonds that make up a molecule into sets of nodes and edges . Intuitively, one could imagine treating the atoms in a molecule as nodes and the bonds as edges , although there is no reason one could not consider other mappings. In typical graphterm representations, the nodes are represented using circles or spheres, and the edges using lines. In the case of molecular graphsterm·def, the nodes are instead often represented using letters indicating the atom type (as on the periodic table), or simply using points where the bonds meet (for carbon atoms).

A molecular graph representationterm is formally a 2D objectterm that can be used to represent 3D information (e.g. atomic coordinates, bond angles, chirality). However, any spatial relationships between the nodes must be encoded as node and/or edge attributes, as nodes in a graphterm (the mathematical object) do not formally have spatial positions, only pairwise relationships. There are of course limitations to this representation, which are discussed in a later section. The 2D and 3D representations of graphsterm can easily be visualized by many software packages, including ChemDraw [ 30 ], Mercury [ 31 ], Avogadro [ 32 ], VESTA [ 33 ], PyMOL [ 34 ], and VMD [ 35 ] (the latter 5 are suitable for small- and macro-molecules, and either free or open-source).

Mathematical definition of a graphterm A graphterm 1 is formally defined as a tupleterm G = ( V , E ) of a set of nodes V and a set of edges E , where each edge e ∊ E connects pairs of nodes in V . In a molecular graphterm·def, V is intuitively the set of all atoms in a molecule, and E is the set of all bonds linking the atoms, although this does not have to be the case. Molecular graphsterm·def are generally undirected, meaning that the pairs in E are unordered. [ 36 ].

To map a graphterm from an abstract mathematical concept to a concrete representation that can be handled on a computer, one needs to map the sets of nodes and edges to linear data structures; a common way to do this is using data structures such as matrices or arrays. Linear data structures are necessary in order to specify the connectivity of the nodes. To do so, an artificial node-ordering must first be calculated for encoding a molecule using arrays, even though V and E are formally sets and the order of elements in sets is irrelevant. The information to be mapped can include (1) how the atoms in the molecule are connected, (2) the identity of the atoms, and (3) the identity of the bonds.

How the atoms are connected is commonly represented in the form of an adjacency matrixterm A ; given that a ij is an element of A , a ij = 1 means that there exists a bond between nodes v i and v j in molecular graphterm·def G , whereas a ij = 0 means that there exists no bond between them (Fig. 1 b). The adjacency matrixterm is also sometimes referred to as the connectivity matrixterm . Note that the adjacency matrixterm does not necessarily specify what type of bond is connecting each pair of nodes.

Example graphterm representation for acetic acid. a Graphterm representation of acetic acid with nodes numbered from one to four. b Example adjacency matrixterm, A , for an acetic acid graphterm with the corresponding node ordering on the left. c Example node features matrixterm, X , which one-hot encodes a few selected properties. d Example edge features matrixterm, E , where each edge featureterm·var vector is a one-hot encoding of single, double, or triple bonds. “Implicit Hs” stands for the number of implicit hydrogens on a given node The identity of the atoms can be represented in the form of a node features matrixterm X (Fig. 1 c). Each row of X corresponds to a node v i (i.e. an atom in the molecule) in G ; this row is also referred to as the node featureterm·var vector x i for that atom. The length of x i corresponds to the number of atom features one has chosen to encode (e.g. a one-hot 2 encoding of atom type and formal charge).

The identity of the bonds can be represented in the form of an edge features matrixterm E (Fig. 1 d). Each row of E corresponds to an edge e ij = ( v i , v j ) in G , and is referred to as the edge featureterm·var vector e ij for that edge. The length of e ij corresponds to the number of edge featuresterm·var one has chosen to encode (e.g. a one-hot encoding of possible bond types {single, double, triple, aromatic}).

Although common in AI applications, we would like to point out that it is not necessary to one-hot encode the various node and edge featuresterm·var. For example, the node features matrixterm shown in Fig. 1 c could instead have only 3 columns using integers to represent the same three properties (atom type, formal charge, and number of implicit Hs).

Graph traversal algorithmsterm Although, formally, graphsterm are non-linear data structures made up of sets of nodes and edges, in practice, matrix representations of graphsterm are node orderterm·var dependent. The node orderterm·var used in a matrix representation is determined by a graph traversal algorithmterm (Fig. 2 ). Depending on the application, it can be desirable to consistently generate the exact same representation for the same molecule. Reliably generating the same representation for a molecule is dependent on getting the same node orderterm·var every time. To this end, one can use methods such as a depth-firstterm or breadth-firstterm search to generate graphterm matrix representations. The graph traversal algorithmterm needs to include a consistent way to break ties when a node branches off and must therefore consistently select the same branch traversal order. In fact, the way in which different software packages break ties in traversing a graphterm is often what sets them apart. However, if consistency is not important (and, indeed, for some deep learning applications, one might want noisier data), a random searchterm can be used.

Graph traversal algorithmsterm. Three widespread graph traversal algorithmsterm are illustrated above for an example branched graphterm. The numbers correspond to the order in which the nodes are explored, starting at node 1. a A depth-firstterm search first explores each “branch” of a graphterm to the fullest extent, then goes back and explores branches at the last branched node, until all branches have been explored. b A breadth-firstterm search first explores all nearest neighbours of a node, and then the nearest neighbours of the nearest neighbours, and so on, until the whole graphterm has been explored. c A random searchterm explores nodes in the graphterm in an arbitrary order, regardless of how they are connected There are many ways to represent a graphterm The matrix representations discussed above are not the only way to represent graphsterm, as there are multiple ways to represent the same information. For example, as has been already mentioned, depending on what graph traversal algorithmterm is used, the order of the rows in the adjacency matrixterm (or atom/bond block) will be different.

Furthermore, when working with molecular graphsterm·def, there is not one correct way to represent any molecule, and the representation chosen must be appropriate for the taskterm·var.

Advantages of molecular graph representationsterm Graphsterm are formally 2D data structures with no spatial relationships between elements; nonetheless, 3D information (and information that is the “result” of a 3D structure e.g. stereochemistry) can be encoded into a graphterm representation. One natural place to put this data is in the node features matrixterm, X , for node information (such as if a chiral node is R or S), or in the edge features matrixterm, E , for edge information (such as the length of a bond).

The fact that one can naturally encode 3D information in a graphterm representation gives graphsterm many advantages over various linear notationsterm, although some linear notationsterm (such as SYBYL Line Notationterm·def) can also encode atomic 3D information. Additionally, the fact that all molecular subgraphs (i.e. subsets of G ) are interpretable can confer a particular advantage to graphterm notationsterm over certain string notationsterm, where, for example, substrings of a SMILESterm string (which we describe in the next section), do not necessarily correspond to a valid graphterm. In other words, all subgraphs are interpretable whereas all substrings are not. Nonetheless, there are also disadvantages to working directly with the molecular graph representationterm for many applications.

Limitations of molecular graph representationsterm Breakdown of graphterm model There are many types of molecules which cannot be described by the graphterm model. This is any structure containing any form of delocalized bonds, such as coordination compounds, as well as any molecule containing any of the following: polycentric bonds, ionic bonds, or metal–metal bonds. For example, organometallic compounds such as metallocenes or metal carbonyl complexes are difficult to describe using molecular graphsterm·def because their bonding scheme cannot be explained by valence bond theory. In other words, it would be difficult to describe the bonds using only pairwise relationships between atoms.

Solutions to the handling of multi-valent bonds have been introduced via the use of hypergraphsterm ; in a hypergraphterm, edges are sets of at least two atoms ( hyperedges ) instead of tuplesterm of atoms [ 37 ]. However, the use of hypergraphsterm is not further discussed here as they are not currently widespread in the field.

For molecules where the arrangement of atoms is constantly changing in 3D space, the graphterm representation might not be meaningful, especially if pairwise bonds are breaking and forming or if the structure is frequently rearranging. That is, for applications where one is limited to using a single static representation for a molecule that is in fact rearranging on the timescale of the problem (e.g. tautomers), then a single molecular graph representationterm would not be appropriate and could even be detrimental to solving the problem.

Challenges of working directly with the graphterm representation Another difficulty of working directly with graphterm representations is that they are not compact (both memory-wise and literally). To represent a molecular graphterm·def one would need, for example: an image, a tupleterm of matrices, lists, or tables; all these representations are generally more difficult to search through than a more compact linear representationterm (compare this to a string encoding a structure ID). They also become more and more cumbersome the bigger the graphsterm get, and their memory requirement would increase with the square of the number of nodes, at least.

This is not a problem with linear notationsterm, which build upon the graphterm framework to create more compact and memory-efficient representations for molecules [ 38 ]. Linear notationsterm have the advantage that they can be, for example, entries in a table, as well as easily searchable (for identity search, not substructure search), when a matrix representation is not convenient.

Connection tablesterm and the MDL file formats Below we discuss two formats closely related to the molecular graph representationterm: connection tablesterm and the MDL (now BIOVIA) file format.

Connection tablesterm Whilst graphsterm underlie the representation of molecules, the matrices by which they are described are not a compact representation, and scale as the square of the number of atoms. The connection tableterm (Ctab) [ 39 ] is composed of six parts: (1) Counts line , (2) Atom block , (3) Bond block , (4) Atom list block , (5) Stext block , and (6) Properties block . Readers are referred to the referenced material for a detailed description of each component. The counts line is always the first line, and as such gives an overview of the structure by specifying the number of atoms, bonds, and atom lists, as well as the presence or absence of chirality. The version (V2000 or V3000) is also specified on this line. The atom block describes the identities of the atoms as a list with arbitrary index values, as well as the atomic symbols, mass differences, charge, stereochemistry, and associated hydrogens. Note that it is often practical to treat any hydrogens in a molecule as implicit —that is, not storing hydrogens as atom objects and instead implicitly defining the hydrogen count using a valence model. Treating hydrogens as properties of the heavy atoms rather than as explicit nodes significantly reduces the size of the atom and bond block, making the format more compact. These can be recalculated based on valence rules if required; in such cases, valency information must be given explicitly in the atom block. The bond block describes the connectivity of the atoms as well as the identity of the bonds connecting them. The atoms may be fully or partially connected by bonds, thereby supporting the description of fragments and unconnected atoms. The bond block is composed of the atom indices and bond types; the bond order is also provided as an additional column. There is no requirement for the bond block of the connection tableterm to be ordered in a particular way. The two blocks are combined to form the core of the Ctab. Similarly to a matrix representation, the Ctab is extensible, meaning that lists describing supported properties may be added to the properties block. Notably, any entries associated with charges, radicals, or isotopes supersede those in the atom block, if present. As a result of backwards compatibility to previous versions and the prevalence programs utilising them, connection tablesterm have become one of the standard formats for handling chemical structural information and underlie the widely used Molfile formats. It should be noted that connection tablesterm are in themselves not a file format but are the core building block around which CT files are built.

The Molfile format The Molfile format family developed by MDL are collectively known as CTfilesterm (chemical table files) as they use connection tablesterm to describe molecular structures. In addition, CTfilesterm are highly extensible and as such have formed a series of file formats that have been widely used for chemical information transfer. The series is shown in Fig. 3 , which shows how the connection tableterm is wrapped within the Molfile format, which can be subsequently wrapped into a structure/data (SD) file, containing both structural information and additional property data for any number of molecules.

The MDL family of file formats are collectively known as CTfilesterm (chemical table files) as they are built upon connection tablesterm (Ctab), shown at the top of the figure. The connection tableterm is split into an atom and bond block, describing the atoms and their corresponding connectivity. The Ctab is built upon to form the Molfile for the description of single molecules, RGfile for handling queries, SDfile for structure and associated data, RXNfile for the description of single reactions, RDfile for either a series of molecules/reactions and their associated data, and the XDfile for the transfer of structure or reaction data based on the XML format Similarly, the RXNfile contains the description of single reactions and the RDfile enables storage of reactions or molecules as well as their associated data. RGfiles on the other hand have been designed for handling queries and the XDfile is an XML based format for the transfer of structures or reactions along with their associated metadata. Further details about each of the files and their structure can be found in the MDL documentation and various textbooks introducing the field of cheminformatics [ 40 ].

Linear notationsterm for small molecules Matrix representations require a large amount of disk space and are not well adapted for basic cheminformatic analysis (i.e. generation of list of compounds, online query of compounds). As a result, molecules nowadays are often represented as strings of characters encoding the Ctab and that can be interpreted by systematic sets of rules. For example, using implicit hydrogen, representing d -alanine using a Molfile takes 612 bytes, while using linear notationsterm such as SMILESterm or InChIterm, which are described in this section, takes 15 and 59 bytes, respectively. As mentioned above, linear notationsterm have the advantage of being compact and easy to manipulate (e.g. to use as command-line option or copy in an Excel spreadsheet). The main linear notationsterm introduced in this section are exemplified in Table 1 .

Examples of chemical representationsterm of alanine The IUPAC quest for a universal notationterm·def Over time, the way scientists name molecules has varied following the capabilities and needs of the scientific community. In the ages of alchemy, compounds and elements were named based on their properties; for example, aqua fortis and sweet oil of vitriol referred to nitric acid and diethyl ether, respectively. In the nineteenth century, the need for a systematic nomenclature of organic chemistry grew stronger, and a terminology was developed by the International Union of Pure and Applied Chemistry (IUPAC) [ 41 ]. This terminology is described at length in the IUPAC Color Books [ 42 ] and is universally used in the literature, patents, and government legislation. Nonetheless, this nomenclature is not ideal for cheminformatics applications and, in 1949, the IUPAC requested an international standard for electronic chemical notationsterm requiring 11 desirable properties or “desiderata” [ 28 ]: simplicity of use, ease of printing and typewriting, conciseness, recognizability, ability to generate a unique chemical nomenclature, compatibility with the accepted practices of inorganic chemical nomenclature, uniquenessterm·var, generation of an unambiguous and useful enumeration pattern, ease of manipulation by machine methods, exhibition of associations, and ability to deal with partial indeterminates.

According to the IUPAC formalism set in 1964 [ 28 ], notationsterm can be classified as being unique (i.e. one notationterm·def for a given compound), non-unique (i.e. more than one notationterm·def for a given compound), ambiguous (i.e. the notationterm·def will regenerate more than one compound), or/and unambiguous (i.e. the notationterm·def will regenerate only the original compound). This formalism is used to describe notationsterm in this section.

Although seven notationsterm 3 were proposed to IUPAC as potential standards, only two retained the interest of the committee: the Dyson cyphering [ 43 ] and the Wiswesser Line Notationterm·def (WLN) [ 44 ]. Descriptions and related references for the remaining five notationsterm can be found in two notable publications [ 2 , 45 ] which detail many chemical notationsterm introduced until 1984, and in a report by Alan Gelberg [ 8 ]. After many revisions, Dyson’s notationterm·def, originally developed in 1947, was adopted in 1961 as an international notationterm·def by IUPAC. The Dyson cyphering was not very popular among the scientific community as it could not be handled on standard typewriters or ordinary punched-card machines and contained many arbitrary rules. The most used notationterm·def by the community was WLN, which was created in 1949 and did not present the drawbacks of the Dyson cyphering. For a detailed comparison between WLN and Dyson cyphering, we refer the readers to the Survey of Chemical Notationsterm [ 28 ]. We do not provide further details on WLN and IUPAC-Dyson as the notationsterm have fallen into desuetude; however, we feel that the competition between both notationsterm illustrate the technological and technical aspects that were under consideration for the selection of a universal notationterm·def.

The advent of contemporary notationsterm Simplified Molecular Input Line Entry System WLN requires an extensive knowledge and understanding of the notationterm·def’s rule. A more intuitive notationterm·def, the Simplified Molecular Input Line Entry System (SMILESterm), was developed in 1988 by Weininger et al. [ 9 ] and has been the most popular line notationterm·def ever since. SMILESterm notationterm·def system was then incorporated into the Daylight Chemical Information Systems [ 48 ] toolkit; the company is still currently maintaining it. The SMILESterm representation, non-unique and unambiguous, is obtained by assigning a number to each atom in the molecule and then traversing the molecular graphterm·def using that order; in the case of RDKit [ 49 ], the graph traversal algorithmterm used is depth-firstterm search.

There can be multiple atom numberings for a given molecule, leading to different SMILESterm. SMILESterm can thus be enumerated for data augmentation [ 50 ]. The ensemble of SMILESterm representing one molecule can be referred to as enumerated or randomized SMILESterm and are obtained by, for each molecule, randomly selecting an initial node for graphterm traversal while keeping the same graph traversal algorithmterm, thus leading to different atom orderings [ 51 ]. For clarity, we emphasize that randomized SMILESterm do not use a random searchterm to generate representations, they rely on a depth-firstterm search. To avoid conflicting SMILESterm representations for the same molecule, a unique SMILESterm can be designated, and several canonicalization methods exist to this end [ 38 , 52 , 53 ]. A schematic illustrating the difference between two SMILESterm variants is shown in Fig. 4 .

Canonical ( a ) and randomized ( b ) SMILESterm representations of aspirin. Randomized SMILESterm correspond to the various representations of a molecule obtained by randomly selecting the starting node in the graph traversal algorithmterm, thus changing the order of the nodes traversed in the molecular graphterm·def (still using depth-firstterm search). Numbers represent the order of graphterm traversal, where 1 is the initial node (user defined). Considering a as being the canonical representation of aspirin, b shows a different ordering of the atoms of the molecule. The final SMILESterm is one possible SMILESterm among all the randomized SMILESterm which can be generated. Green arrows indicate how the molecular graphterm·def is traversed. Both SMILESterm strings shown represent the same molecule but, as the atom numberings are different, the generated SMILESterm strings are, too. The original figure can be found in [ 47 ] Initially, SMILESterm did not encode for stereochemistry. A specification, referred to as isomeric SMILESterm, was introduced later on and is now the default SMILESterm in many software. SMILESterm can thus encode isomeric specifications, configurations around double bonds (Z or E), and configurations around tetrahedral centres as well as many other types of chiral centres which are rarely supported (e.g. allene-like, octahedral). Nonetheless, a problematic set of structures to describe using SMILESterm notationterm·def is those which cannot be easily described using molecular graphsterm·def (see “ Limitations of molecular graph representationsterm ” section), such as organometallic compounds and ionic salts.

Generally, if the total sum of bond orders is not equal to one of the standard valences for a given atom in a molecule, this is addressed in the corresponding SMILESterm notationterm·def using square brackets. When the molecules involved in bonding are also aromatic, lowercase tokens may be used, though this becomes problematic with some cheminformatics software which do not allow “extra” bonds for aromatic atoms [ 54 ]. ChemAxon Extended SMILESterm (CXSMILES) can overcome some of these issues by storing special features [ 55 ]. These are stored after the SMILESterm string separated by a space or tab and can be ignored when parsing SMILESterm if necessary. In addition, several fields can be stored for any given SMILESterm string. One such feature is fragment grouping, which specifies which components are grouped together using a list of fragment indexes; this aids in the grouping of ions and salts. Additional specifications of ligand order and coordinate bonds aid in the description of organometallic compounds and are supported by CXSMILES. The atom-to-atom coordinate bonds are represented by single bonds in the SMILESterm but corrected by the additional information CXSMILES provides in the extension.

The OpenSMILESterm [ 56 ] specification was developed in 2007 to provide a SMILESterm standard form and to clarify some interpretations of corner cases present in the Daylight’s SMILESterm system. A major issue with Daylight’s SMILESterm is that its canonicalization algorithm is proprietary, and as such implementations vary between companies and research teams. A novel open source method to generate canonical SMILESterm was developed in 2012 [ 38 ]. Such SMILESterm are generated using the canonical label provided by the InChIterm representation [ 10 ], which is described later in this section. Using such “universal” SMILESterm seeks to facilitate the comparison between chemical models used by different toolkits.

SMILESterm Arbitrary Target Specification (SMARTSterm) There exists an extension of SMILESterm developed for substructure searching, named SMILESterm Arbitrary Target Specification (SMARTSterm) [ 57 ]. In SMILESterm there exist two types of symbols to signify atoms and bonds which describe the underlying connectivity of a given molecular graphterm·def. However, in SMARTSterm, the available symbols allow for a more general specification of the molecular graphterm·def. This can be likened to the use of regular expressions in computer science. Classical SMARTSterm can describe an ensemble of molecules that differ at one atom or bond position. It is also possible to include logical operators such as “OR” and “NOT”. Contrary to SMILESterm, SMARTSterm can specify different isotopes or bonds types (aromatic or aliphatic). Detailed information about an atom environment can be given using Recursive SMARTSterm (e.g. ortho, meta, or para substitution patterns in arenes). All SMILESterm can be valid SMARTSterm, however the reverse is not true, and decoding a SMILESterm as a SMARTSterm will generally not yield the same decoded pattern.

International chemistry identifier The best example of open-source canonical notationterm·def is the InChIterm (International Chemistry Identifier) representation [ 10 ], which was introduced in 2006 by NIST, under the auspices of the IUPAC, as a standard and freely available formula representation. InChIterm are composed of multiple layers, such as the Main , Charge , Stereochemical , and Isotopic layers, to name a few, which are themselves constituted of sublayers. For example, the Main layer is composed of the Chemical formula , Atom connections , and Hydrogen atoms sublayers (Fig. 5 ).

InChIterm notationterm·def of aspirin. Red letters are the standard beginning of the notationterm·def. The following 1 corresponds to the InChIterm version number, and S states that the notationterm·def is a standard InChIterm. Slashes (blue) are delimiters A hashed version of the InChIterm, the InChIKeyterm, is used for open-web searching and library searching [ 58 ]. The first block of an InChIKeyterm represents the molecular skeleton, and the second block encodes for isomerism. InChIKeysterm are designed to be unique representations of their corresponding parent InChIterm representations. However, an InChIKeyterm can sometimes map to more than one InChIterm, the situation being referred to as an InChIKey collisionterm [ 59 ]. Unlike SMILESterm, InChIsterm are not guaranteed to be decodable back to the molecular graphsterm·def from which they originate, and SMILESterm have the advantage of being more human-readable. For a detailed overview of the applications of InChIsterm and the underlying algorithm, readers are referred to the works of Heller [ 10 ] and Warr [ 60 ].

Using chemical descriptors to represent molecules The representations presented above are atom-based, meaning it is possible to rebuild the molecule based on the representation. There exist, however, other types of notationsterm which, rather than encoding the exact structure of a compound, instead encode the physicochemical, structural, topological, and/or electronic properties of a compound. These are referred to as molecular descriptorsterm [ 11 ] among which two main classes are structural keysterm and the hashed fingerprintsterm·def. Descriptors are unique and ambiguous notationsterm widely used in cheminformatics, and their complete descriptions would require a reviewterm·mth of their own. A non-exhaustive list can be found in association with the Dragon software [ 61 ], which can calculate 4885 descriptors.

Structural keysterm Structural keysterm are bit stringsterm, encoding for the absence (using a 0) and the presence (using a 1) of a specific chemical group. To provide a general understanding of the structural keysterm concept, we present here a few widely used keys.

MACCSterm Keys The first set of keys is referred to as MACCSterm (Molecular ACCess System) keys or MDL keyset [ 62 , 63 ] and is frequently used for similarity searching. In MACCSterm keys, each bit indicates the presence or absence of a particular structural fragment. Many variants of the MACCSterm keys exist [ 64 ], with the most commonly used being 166 and 960-bits long. thus encoding for the presence or absence of 166 and 960 structural fragments. It should be noted that there are many software implementations of the 166-bit MACCSterm keys, thus one should be cautious as one substructure will not be assigned to the same bit from one software to the other.

CATS For application in scaffold hopping, a topological pharmacophore descriptor, Chemically Advanced Template Search (CATS) [ 65 ], was developed. It can encode for six potential pharmacophore points: H-bond donor/acceptor, positively/negatively charged, aromaticity, and lipophilicity.

Hashed fingerprintsterm·def Chemical fingerprintsterm are vectors which contain indexed (ordered) elements encoding for physicochemical or structural properties. Hashed fingerprintsterm·def differ from other descriptors by the fact that each feature is generated from the molecule itself, while in keys, patterns are pre-defined. Their lengths can be set prior to their generation and a hash function assigns molecular patterns to (non-unique) bits, hence the name. Topological or path-based fingerprints are represented by Daylight fingerprints, which usually consist of 512, 1024, or 2048 bits. The Daylight fingerprint encodes for every connectivity pathway within a molecule up to a given length. Circular fingerprints are representations of chemical structures by atom neighbourhoods and have been widely applied in Quantitative Structure–Activity Relationship (QSAR) analysis. A widely used class of circular fingerprints is ECFP (Extended Connectivity Fingerprints) [ 66 ], based on the Morgan algorithm. In ECFPs, heavy (i.e. non-hydrogen) atoms are encoded into multiple circular layers up to a given diameter.

Whether fingerprints can be called a chemical notationterm·def per say is debatable and comes down to a matter of opinion between experts. Regardless, chemical fingerprintsterm are widely used in cheminformatics and drug discovery as they provide a quick and direct mapping from a graphterm to a vector representation that can be used as input to numerical models, such as QSAR models. It should be noted that fingerprints are flexible representations and can also encode physicochemical properties as integers (e.g. the hydrogen count) and floats (e.g. molecular weight).

Representations for chemical reactions Harnessing reaction data for drug discovery Chemical reactions represent the interconversion of one set of molecules into another related set, under a set of specified conditions. A vast body of reaction data has been amassed to date, with approximately 127 million reactions recorded from 1840 to the present day according to the Chemical Abstracts Service (CAS) [ 67 ].

In recent years, there has been a resurgence of interest in the development of models for the prediction of outcomes of chemical reactions, synthetic routes, and analysis of reaction networks, to name a few application areas. For a more comprehensive coverage of the representations of chemical reactions in databases and computer-aided synthesis design, we refer the reader to a reviewterm·mth by Warr and the bibliography therein [ 68 ]. In addition, for a more comprehensive coverage of applications within autonomous discovery, we refer the reader to an extensive reviewterm·mth by Jensen et al. [ 69 ].

Many of the representations described in the previous sections natively allow for, can be extended, or have analogous representations for describing chemical reactions. As the description of reactions is that of a set of molecules, limitations in each of the previously described representations are inherited in the description of chemical reactions. A reaction is often represented graphically with the reactants written to the left of a reaction arrow , and a set of resulting products written to the right of this arrow. The conditions under which the transformation occurs are written above or below the arrow, including information such as reagents, catalysts, solvents, temperature, and so forth. The graphical illustrations of reaction schemes often found in publications are, however, not easily machine-readable. Therefore, there exist a series of reaction data exchange formats that enable reactions to be represented in a machine-readable format. There is no inherent requirement for one format or another, as this is dependent on the application, toolkit, or software package used. Commonly used formats include the RXN and RD files described in an earlier section.

Reaction SMILESterm and SMIRKSterm The SMILESterm format used for describing molecules has been extended to so-called Reaction SMILESterm by Daylight Chemical Information Systems. Each molecule in the reactants, agents, and products is represented by a SMILESterm string, and disconnected structures are separated by a period; this includes the individual molecules, ions and ligands, which are listed in an arbitrary manner. Reactants, agents, and products are separated by either the ‘>’ or ‘≫’ symbol (the latter used when agents are not given). Atom-mappings (i.e. mappings of atoms in the reactants to their equivalent atoms in the products) can be stored in Reaction SMILESterm as a non-negative integer following the character ‘:’ within an atom expression. Atom mappings do not apply to agents. Furthermore, the storage of additional textual information such as the reaction centreterm (i.e. the atom and bonds that change during a transformation) or reaction conditions is not supported. Nonetheless, formats such as the RXN and RD file formats, especially the latter, can store this additional metadata, as can other file formats or databases.

SMIRKSterm belong to the same family as SMILESterm and SMARTSterm. Where SMARTSterm describe molecular patterns or substructures generically, SMIRKSterm patterns can be used to define generic reaction transformations. They can be used to describe the reaction centreterm, to enumerate virtual libraries, and to form the knowledge base for reaction and retrosynthetic prediction systems. If one considers that a reaction is a set of atoms and bonds that change during a reaction and the reactant or substrate upon which that change occurs, then SMIRKSterm must encode the same set of atoms and bonds that change during the reaction, and the site at which that change occurs in the substrate as specified by a SMARTSterm pattern. The SMARTSterm pattern is used to specify both the site at which the atom and bond changes occur, and to capture any indirect effects that may influence the reaction. The atomic expressions must be defined such that (a) for any part of a molecule that is to be considered in a generic transformation for which the bonding does not change, SMARTSterm are to be used, and (b) in cases where bonds change, SMILESterm are to be used. In this sense, SMIRKSterm is a hybrid approach between SMILESterm and SMARTSterm. There are some rules that must be followed in order to ensure that SMIRKSterm patterns can be applied. The two sides of the transformation, the reactant(s) and product(s), must contain the same number of mapped atoms, and they must correspond on either side of the reaction. Additionally, any explicit hydrogens must appear explicitly on either side of the reaction and have corresponding atom mapping numbers. SMIRKSterm are converted into a reaction graphterm for their subsequent use. The reaction SMILESterm and corresponding SMIRKSterm are shown in Fig. 6 .

A selection of representations for a simple esterification reaction. The atom mapped reaction is shown in the top left as a structural diagram. The atom maps are consistent between reactant and product as shown. The atom maps in the SMIRKSterm do not correspond to the atom maps in the full reaction. Rather, they are used to keep track of the atoms within the SMIRKSterm. The condensed reaction graphterm and corresponding signature was generated using CGRtools [ 73 ] RInChIterm An extension of the InChIterm, RInChIterm [ 18 , 70 ], was developed between 2008 and 2018 and introduced a unique, order invariant identifier for reactions. It was developed in response to the growing size of reaction data to aid reproducibility, to consider more information than just the participating molecules, and to provide enough information such that practically identical reactions would be represented the same way. RInChIterm grammar, however, is relatively more complicated than that of Reaction SMILESterm.

RInChIsterm use InChIsterm to describe each molecule. Where InChIsterm cannot be generated for a molecule, the RInChIterm tracks the number of “structureless” entities that are present in each of the reactants, agents, and products. In addition to specifying each molecule and reaction role, the RInChIterm must include information about equilibrium, unbalanced, or multi-step reactions. The RInChIterm employs a layering system, whereby each layer can describe a different aspect of the chemical reaction. Solvents and catalysts may be accounted for in a similar manner as in Reaction SMILESterm; however, RInChIsterm additionally allow for the direction of the reaction to be described. This is particularly useful, as different labs may conduct the same reaction under slightly different conditions, potentially reaching different conclusions about the direction of the reaction. The RInChIterm generated in this case would be the same, except for the direction flag. This aids in the identification of reactions that are in practical terms identical.

A proposed further extension to RInChIterm, ProcAuxInfo, enables the storage of metadata relating to yields, temperature, concentration, and other reaction conditions [ 71 ]. RInChIterm offers an alternative to Reaction SMILESterm that enables the identification of duplicate reactions, as the order in which molecules are listed in Reaction SMILESterm is arbitrary. Hashing the RInChIterm to yield the RInChIterm key provides a powerful tool for efficiently indexing and searching reaction data [ 18 , 71 ]. However, there is no SMARTSterm or SMIRKSterm equivalent for RInChIterm, limiting its use in substructure searching and in encoding generic chemical transformations. The RInChIterm and corresponding keys are shown in Fig. 6 .

Condensed graphterm of reaction (CGRterm) Varnek and co-workers have developed the CGRterm approach [ 19 ], whereby molecular structures are encoded in a matrix containing the occurrence of fragments of a given type. The CGRterm is a superposition of the reactant and product molecules, and additionally defines what atoms and bonds have changed as well as their properties. This builds on the description of organic reactions using imaginary transition states as described by Fujita [ 72 ]. In analogy to SMIRKSterm, the CGRterm can be used to describe a reaction transformation. An example CGRterm is shown in Fig. 6 .

With the renewed interest in chemical reactions within cheminformatics in recent years, Varnek and co-workers have developed an open source toolkit enabling the wider use of CGRterm [ 73 ].

Bond electron matrices (BE-matrixterm) To exemplify the representation of reactions as matrices, the bond-electron matrix developed by Dugundji and Ugi was previously employed for reaction classification and has also been used as an inspiration for the representation used in programs such as the Elaboration of Reactions for Organic Synthesis (EROS) [ 74 ], and the Workbench for the Organisation of Data for Chemical Applications (WODCA). The BE-matrixterm is an N by N matrix, where N is the number of atoms in a molecule, and the diagonal entries specify the number of free valence electrons. The off-diagonals specify the bond orders between atoms as found in the bond matrix. The reaction is represented by an “R-matrix” which corresponds to bond changes or changes of non-bonded valence electrons. Positive values indicate bond formation, whereas negative values indicate bond breakage. Adding the “R-matrix” to the BE-matrixterm of a reactant gives the BE-matrixterm of a product. The “R-matrix” is therefore an alternate method for representation of the reaction centreterm [ 20 ]. The BE-matrixterm illustrates the concept of adding additional information into the matrix representation.

Hierarchical organization of reactions through attribute and education (HORACEterm) HORACEterm [ 21 ] employs a machine learning algorithm for the classification of chemical reactions and is mentioned here because of the hierarchical description of chemical reactions that it uses. It was developed to describe specific reaction instances as well as abstractions of reaction types. Three levels of abstraction are employed. The lowest level describes the partial order of atom types, which gives an explicit hierarchy at the atom level by specifying the degree of similarity between atoms. Following the atom level description is the structural level description. This uses a list of functional groups as structural features by which to characterize individual molecules. The structural characterization is then used to specify which molecules correspond to atoms in the reaction centreterm. The highest level of abstraction specifies physiochemical properties, which describe the function of the corresponding structure. The hierarchy therefore enables a richer description of a chemical reaction than a purely structural one (as with SMILESterm).

InfoChem CLASSIFY The approaches used by Saller and co-workers to represent reactions underlies [ 75 ] and has inspired many of the approaches used for rule-based synthesis planning [ 76 , 77 ]. The first step is to identify and extract the reaction centreterm, defined as a set of atoms that have changed their number of implicit hydrogens, valency, number of π-electrons, atomic charges, or if at least one connecting bond belongs to the reaction centreterm. Bonds are defined as belonging to the reaction centreterm if they are made or broken. In order to identify such changing atoms and bonds, a mapping is used to identify equivalent atoms in the reactants and products.

Regardless of the representation used, a key problem in the representation of chemical reactions is the identification of the reaction centreterm. One approach to reaction centreterm detection and atom mapping is finding the maximum common substructure (MCS) between reactant and product molecules. The determination of the MCS is an NP-complete problem, meaning that the solution is non-deterministic in polynomial time. Several reviewsterm·mth discuss these approaches and have been referenced for the interested reader [ 78 – 80 ].

Having identified the reaction centreterm, atom hash codes are calculated for all atoms belonging to the reaction centreterm using a modified Morgan algorithm [ 53 ]. The hash codes include the following atom properties: atom type, valence state, total number of bonded hydrogen atoms (implicit and explicit), number of π-electrons, aromaticity, and formal charges as per the reaction centreterm definition. The hash codes generated for each atom in the reaction centreterm are summed for all reactants and one product of a reaction to provide a unique representation of the reaction centreterm.

The description of the reaction centreterm can be extended to include the neighbouring chemical environment depending on the level of specificity required (Fig. 7 ). The reaction centreterm alone corresponds to a “broad” or more general description of the reaction, whereas inclusion of alpha atoms (atoms adjacent to those in the reaction centreterm) corresponds to a “medium” description of the reaction centreterm. Expanding the description to include the next set of adjacent atoms “narrows” the description of the reaction owing to increased specificity. The generated hash codes have been used in reaction classification and the approaches for reaction centreterm extraction utilized in a variety of synthetic planning tools.

Atomic environments included in the description of the reaction centreterm. The reaction centreterm is used in calculations of atom hash codes for varying degrees of specificity Reaction fingerprintsterm Reaction fingerprintsterm are vector representations of reactionsterm. They specifically represent the structural changes taking place in the reaction centreterm. This information is captured by constructing fingerprints, such as the ECFP variant described previously, and taking the difference between the product and reactant vectors, optionally considering the agent. Schneider et al. [ 81 ] have used the difference fingerprint with the atom-pair variant to build a machine learning system for a 50-class reaction classification model. A similar approach to the computation of reaction vectors was described by Patel et al. [ 82 ] and has been used in de novo design and classification approaches [ 83 ]. The reaction fingerprintterm·def highlights an alternate approach to reaction centreterm detection and representation; however, it cannot be easily converted to a reaction graphterm. Lastly, the handling of stereochemistry has not been mentioned but is an active area of research [ 84 ].

Representations for macromoleculesterm While there have been many advances in the representation of small molecules, in comparison very few studies [ 85 ] have addressed the representation of macromoleculesterm, which are polymeric structures. In this section, we present representations made for biopolymers and bio-oligomers, like proteinsterm and oligosaccharides, and synthetic polymers. The process of representing macromoleculesterm can be hindered by the fact that, while many polymers are monodisperse (i.e. constituting monomers have the same chain length), others can be polydisperse, such that their stochastic nature results in an undefined chain length. Examples of macromoleculesterm and their notationsterm are shown on Fig. 8 .

Example of linear notationsterm for different types of macromoleculesterm. Cyclosporin is an immunosuppressant medication and natural product. Lactose is a disaccharide used in the food industry. Insulin is a peptideterm hormone which regulates the metabolism of carbohydrates, fats, and proteinterm. pHEMA or poly(2-hydroxyethyl methacrylate) is a polymer that forms hydrogel in water. Copolymers of pHEMA are used to make contact lenses This section places itself at the interface between bioinformatics and cheminformatics. While in cheminformatics small molecules are described on the atomic-level, in bioinformatics, polymers, such as a proteinsterm or polynucleotide molecules, are more commonly defined using their nucleotide and amino acid sequencesterm. Representations which combine atomic and sequence information are presented here.

Amino acid-based structures The building blocks of peptidesterm and proteinsterm are amino acids (AAs), which are each made up of an amine group, a carboxyl group, and a side chain specific to each AA. AAs are commonly represented by a one-letter symbol, which commonly imply the L configuration for chiral AAs, or a three-letter abbreviation [ 86 ]. A limitation of the one-letter symbol is that while the Latin alphabet is large enough to describe the 20 AAs which appear in known genetic code, there are far more naturally occurring AAs.

Peptidesterm Peptidesterm are chains of 2 to 50 AAsterm linked by peptideterm bonds. They can be antibiotics, immunosuppressants, or antitumor agents. This broad range of biological activity sparked the interest of the community.

A method named CHUCKLESterm [ 12 ] was developed in 1994 to infer SMILESterm of polymers from their sequences and vice versa. In cheminformatics, this method is particularly useful in inferring the SMILESterm from the peptideterm sequence, which is referred to as Forward Translation (FT). In FT, monomers sequences and SMILESterm are stored in a lookup table, with the SMILESterm excluding any atoms which would be involved in monomer bonding. For linear structures, SMILESterm corresponding to each residue are concatenated. In branched and cyclized structures, monomer indices are mapped to the SMILESterm, thus encoding for structures such as disulfide bridges. CHUCKLESterm is applicable to oligomeric structures and is used in BIOPEP-UWM [ 87 ]. An extension of CHUCKLESterm, CHORTLES, was designed to handle oligomeric mixtures. Two notationsterm are well known for their ability to describe a broad range of macromoleculesterm: the Hierarchical Editing Language for macromoleculesterm (HELMterm) [ 14 , 88 ] and the Self-Contained Sequence Representation (SCSR) [ 89 ]. Both representations were developed concurrently, the first one relying on SMILESterm and the second one on the v3000 Molfile format. SCSR was developed by BIOVIA which provides automated interconversion between HELMterm and SCSR.

In the following lines, we provide further details on HELMterm, which was developed by Pfizer under the auspices of the Pistoia Alliance. The objective of the project was to design a system representing combinations of component structure types (e.g. peptidesterm, antibodies, chemical modifiers). An example of HELMterm notationterm·def is shown in Fig. 9 . Initially, HELMterm was limited to well-defined structures; however, HELM2 overcame this limitation and can describe polymer mixtures and free-form annotations. HELMterm represents monomers in a SMILES-like formatterm, simple polymers using a simplified version of CHUCKLESterm and complex polymers using graphsterm. Its structure hierarchy follows the granularity of the structures: Complex Polymer, Simple Polymer, Monomer, and Atom. HELMterm is implemented in many pharmaceutical companies [ 90 ], in public databases (in 2016, ChEMBL21 contained 20,000 peptidesterm annotated with HELMterm [ 91 ]), as well as in various packages and software such as RDKit (limited to peptidesterm), ChemDraw, the Biomolecule Toolkit, ChemAxon, and Sugar&Splice, which can all encode for peptidesterm, DNA, and RNA.

Graphterm and HELMterm representation of a biphalin analog. Amino acids are coloured coded as followed: blue, green, red, and pink for tyrosine (Y), alanine (A), glycine (G), and phenylalanine (F), respectively) In comparison with purely atomic-based notationsterm such as SMILESterm, biocheminformatics representations can facilitate the development of modified drug peptidesterm. For example, the substitution of natural L-AA with D-AA can improve the oral bioavailability of a peptideterm [ 92 ]. Such modifications would be intuitive with HELMterm, which provides readability at the polymer level, whereas SMILESterm provides descriptions on the atomic level. While these methods constitute a step forward to a better understanding and unification of cheminformatics and bioinformatics, errors in the translation of peptideterm notationterm·def from biological into chemical language have been detected and practical solutions proposed [ 93 ].

Proteinsterm Proteinsterm are polypeptidesterm made up of 50 or more amino acids. They are generally biological targets; however, therapeutic proteinterm drugs have been engineered [ 94 ]. The largest repository of 3D structures of proteinsterm and nucleic acids is the Protein Data Bankterm (PDB) [ 17 ], which contains more than 150,000 structures. PDB entries contain the atomic coordinates of every atom in a proteinterm structure as well as solvent molecules (if applicable). Each atom is identified by a sequential number, a specific atom name, the name and number of its corresponding residue, a one-letter code specifying the chain, its spatial coordinates ( x , y , and z ), and an occupancy and temperature factor. Furthermore, any notationsterm mentioned in the Peptideterm section can be used for proteinterm representations. In 2008, the Proteinterm Line Notationterm·def (PLN) [ 16 ] was created by Biochemfusion and is implemented in PubChem. Pseudo-atoms were used to represent a simplified version of a residue structure, which enabled a lossless conversion between chemistry and sequence formats.

Key macromoleculesterm Most drugs are small organic molecules. However, drugs can also be macromolecular in nature, such as glycans (also referred to as carbohydrates) [ 95 ] or synthetic polymers [ 96 ].

Glycans Oligosaccharides and polysaccharides are glycans containing more than 3 and 20 monosaccharides (the smallest sugar unit), respectively. In drug discovery, glycans are interesting as receptors, small molecule glycomimetics, therapeutic glycopeptides, and vaccines. Glycan databases are used by carbohydrate researchers and structures are generally recorded using monosaccharide-based notationsterm [ 97 – 100 ]. These representations do not allow for the analysis of the interactions between glycans and proteinsterm using docking techniques, which require atom-based representations. Converter tools have been developed [ 101 , 102 ] that translate these notationsterm to atom-based representations. With the aim of creating a linear and unique notationterm·def for glycan data, compatible with the usage of the semantic web, the Web3 Unique Representation of Carbohydrate Structures (WURCSterm) [ 15 ] was developed and combined bioinformatics and cheminformatics features. The newest version of WURCSterm [ 103 ], used by the International Glycan Structure Repository GlyTouCan [ 104 ], encodes the following features: the main carbon backbone of a monosaccharide residue, the backbone modifications (i.e. atoms belonging to a monosaccharide which are not part of the backbone), and the linkage information between the backbone and a modification. The notationterm·def provides explicit anomeric information and can handle ambiguous monosaccharide structures (e.g. unknown ring closure or anomeric information). Currently, WURCSterm is implemented in many databases but unsupported by most cheminformatics software.

Independent representations have been developed to address specific challenges. Pillong and Schneider [ 105 ] published a representation of monosaccharides based on pharmacophoric properties. Bojar et al. [ 106 ] developed a language model based on natural language processing (NLP) providing information on glycans connectivity and composition.

Polymeric drugs In the context of drug discovery, polymers are primarily used as drug deliverers. Nonetheless, some polymers have been used as active ingredients. Recently, the BigSMILESterm [ 107 ] syntax was introduced to encode for homopolymers, random- and block co-polymers, and molecules with different degrees of complexity in connectivity, such as linear polymers, ring polymers, and branched polymers. The stochastic unit of these polymers is identified by a pair of curly brackets. Repeated units are delimited by a comma and listed inside these brackets. Although BigSMILESterm are currently not canonical, a canonicalization scheme is under development. No application of this notationterm·def is available to this date; however, the development of polymeric drugs is expected to flourish [ 96 ], and ML models could be applied to aid in related studies.

Graphical representations for molecules and macromoleculesterm The representations presented in the previous sections are designed for the storage and the cheminformatics analysis of compounds. In this section, representations which are made for direct visualization of compounds or/and their physicochemical properties are introduced.

2D depictionsterm Molecules as raster or vector images are very often represented by their skeletal structures, which are referred to as 2D depictionsterm (Fig. 10 a). Many difficulties can be encountered when generating 2D depictionsterm related to the layout (e.g. orientation, overlap) and rendering (e.g. font, abbreviations, atom labels alignment) of the image. In 2008, the IUPAC issued recommendations for the standard display (typography, orientation of structure, etc.) of 2D depictionsterm [ 108 ]. Such obstacles are overcome by a range of algorithms; however, as of now, none of them can perfectly display every chemical structure. This was exemplified in 2008 in a comparative study of 2 proprietary toolkits (Cactvs [ 109 ], used by PubChem, and Molinspiration [ 110 ]), and 3 open-source toolkits: RDKit, OASA [ 111 ], and CDK [ 112 ]. In 2017, improvements were done in CDK to depict stereochemistry more accurately and to solve atomic overlap [ 112 ]; on the latter point, the algorithm went from a heuristic approach to a refinement process. For more up-to-date details and examples of 2D depictionterm algorithms and their limitations, we refer the readers to a 2016 presentation by John Mayfield [ 113 ].

Examples of various molecules drawn using different display types. b – d Generated with Avogadro [ 32 ]. a Skeletal structure of the Fe-porphyrin subunit of haem B. b Ribbon diagram of haemoglobin. c Space-filling model of the Fe-porphyrin subunit of haem B. d Ball-and-stick model of the Fe-porphyrin subunit of haem B. Note the different orientations. e 2D visualization of proteinterm–ligand interactions (PDB code: 2HPS). Reprinted with permission from [ 115 ]. Copyright 2020 American Chemical Society. f 3D visualization of proteinterm–ligand interactions (PDB code: 6KYA) Apart from the 2D depictionsterm of the structures themselves, molecules can be depicted in various ways for reactions and interaction studies (Fig. 10 e). In the latter, the aim is to investigate the environment or the behaviour of a molecule rather than its structure. A specific 2D depictionterm worth mentioning is the Markush structure, especially useful in patents, which depicts a specific series of compounds. A Markush structure possesses a fixed core with one or several variable parts which can be described by -R groups, bonds, atoms, etc. For macromoleculesterm, different types of depictions are needed as the visualization often focuses on the polymer or peptideterm structures rather than the atomic structure. Associated to HELMterm, the Pfizer Macromoleculeterm Editor (PME) was developed to visualize polymer structures and calculate molecular properties. A notable nomenclature for the depiction of glycans is provided by the Consortium for Functional Glycomics [ 114 ].

3D depictionsterm Before the advent of computers, various molecular models were developed to visualize and manipulate molecules in 3D and were built by assembling balls and sticks made of materials such as plastics or metals. Nowadays, while physical molecular modelling kits are still used in educational environment to represent basic structures, visualization software has become a tool of choice for 3D graphical displays of molecules (examples of visualization software have been provided in the subsection Introduction to the molecular graph representationterm ). The software Avogadro, PyMOL, and VMD all offer the popular representations ball - and - stick , cartoon , and van der Waals (vdW), as well as many independent representations. Each representation is useful for the visualization of specific properties, be it the structure coloured by atom types (Fig. 10 d), the secondary biological structure (Fig. 10 b), or the space-filling vdW spheres (Fig. 10 c). The vdW spheres help visualize the surface on which the molecule can build interactions; using this depiction, interactions between proteinsterm and ligands can be visualized in 3D (Fig. 10 f). 3D depictionsterm are especially useful in docking and mechanistic studies, while 2D depictionsterm are standard in structure–activity investigations.

AI applications within drug discovery using molecular representations Most of the representations we have discussed above have seen widespread use within the fields of drug discovery and artificial intelligence. If there are any molecular representations which the reader feels were not discussed, it is because we, the authors, were not aware of the widespread use of that representation within our specialized fields of research. The omission of some representations may have been intentional, or it may have been due to the fast rate of change and developments in this field as the availability of useful datasets for drug discovery applications grows. Lastly, several concepts that were historically used may see a resurgence as they are adapted to suit current methods.

Graphterm representations for small molecules Despite this being a reviewterm·mth of molecular representations, many of these representations are themselves used in representation learningterm applications within deep learning. Representation learningterm is the idea of learning an internal representationterm (e.g. a vector) for a given object (e.g. a molecule) and then using that internal representationterm for a predictive taskterm·var. These internal representationsterm are learned, meaning models can be trained to create them using classic techniques such as backpropagation in neural networks. With representation learningterm tasksterm·var, it is key to first identify a suitable input representation of a molecule that contains as much of the desired/necessary information to solve a problem as possible. Of the applications described below, any using deep neural network (DNN) architectures are essentially carrying out representation learningterm tasksterm·var, whereas classical ML methods such as random forests (RFs) and support vector machines do not operate by learning internal representationsterm.

With the development of graphterm neural networks, a wave of recent work in drug discovery has focused on using the molecular graph representationterm directly for both property prediction and de novo design. As such, the molecular graph representationterm can be used for various applications within AI, and there is a large body of work discussing its use for molecular property prediction [ 26 , 116 – 119 ], and, more recently, molecular graphterm·def generation [ 120 – 125 ] and synthesis prediction [ 126 ]. In most cases this is done through graphterm representation learningterm, by which a graph embeddingterm is obtained from the full graphterm representation using a graphterm network [ 127 , 128 ]; the learned graph embeddingterm can be used as input to a property prediction model, such as a RF or DNN, in the same way a classic molecular fingerprint [ 66 , 129 , 130 ] is used. Until recently, more compact linear notationsterm such as SMILESterm strings were favoured for many ML applications involving molecules, in part due to the larger memory requirement of molecular graph representationsterm; this is, however, slowly changing. For two excellent reviewsterm·mth of deep learning applications in chemistry and drug discovery, we recommend [ 26 ] and [ 131 ]. For a good reviewterm·mth on molecular generative models using AI, we recommend [ 132 ].

Another popular use of molecular graphsterm·def both within and outside drug discovery lies in part outside AI, where graphsterm are used as input for atomistic simulations (e.g. molecular dynamics) where atomic coordinates and periodic boundary conditions are used as the starting point for program-specific file formats which contain not only all atom coordinates, but also detailed bond information (e.g. bond length, dihedral angles, torsional angles) necessary to calculate the energy of a given molecular configuration using force fields. As such, the molecular graph representationterm has widespread use in molecular dynamics applications within drug discovery, such as docking, proteinterm folding, and free energy perturbation calculations. These applications have been assisted by recent developments in AI [ 133 , 134 ].

Linear notationsterm for small molecules Popular applications of linear notationsterm such as SMILESterm and molecular fingerprints are in molecular property prediction and QSAR. SMARTSterm patterns have been used to define substructures with the aim of selecting or eliminating associated compounds [ 135 – 137 ]. Additionally, the use of string representations such as SMILESterm has seen a lot of unexpected success in the field of de novo molecular design using tools from NLP. Data augmentation can be done for many applications using randomized SMILESterm [ 51 , 138 ]. String representations have also seen success in property prediction using the learned latent space representations obtained using autoencoder frameworks [ 139 ]. As mentioned above, many of the aforementioned neural network models work by learning a vector representation for molecules in the training set, and using that learned representation to predict properties [ 116 , 118 , 140 ]; this is analogous to the older use of hashed fingerprintterm·def representations for molecular property prediction using traditional ML approaches, hence the term learned fingerprintsterm .

Representations for chemical reactions Common applications of the reaction representations are in retrosynthesisterm and reaction prediction. This is an important field of research, as the synthesizability of proposed compounds is key to computational drug design and having suitable retrosynthesisterm tools would allow scientists to “close the loop” of AI-driven drug discovery. Many of these applications are also discussed in [ 26 , 69 ].

Representations for macromoleculesterm Popular applications of the macromolecular representations introduced in this work are in protein structure predictionterm, as having an accurate picture of a proteinterm and the role it plays in a given disease can help scientists to develop molecules for the right target. Pillong and Schneider [ 141 ] successfully applied their pseudo-receptor model in a virtual screening study aiming to identify aminoglycoside scaffolds with antibacterial potential. The interactions between glycans and proteinsterm have been investigated [ 142 , 143 ] using ML. An important field of investigation linked to glycans is the prediction of glycosylation sites. Many tools were developed to infer such predictions and have been applied recently in the pipeline for the prediction of oncology drug targets [ 144 ] and the characterisation of the novel coronavirus (2019-nCoV) [ 145 ].

Graphical representations for molecules and macromoleculesterm We previously showed how the process of visualizing molecules has become faster, more practical, and more enjoyable thanks to better computational tools. This process is still an important field of research for which virtual reality and 3D printing techniques have been developed. Moreover, as the need for harvesting the large amounts of published data grows, the demand for methods for easily mining structures from papers and patent data is also growing. Optical Character Recognitionterm (OCR) systems, relying on a variety of ML and probabilistic pattern recognition techniques, were created to translate 2D depictionsterm of chemical structures to standard chemical representationsterm [ 146 – 148 ]. Nonetheless, the development of OCR systems can be hindered by the images’ resolutions, the computational interpretations of chemical abbreviations, and the nature of the image representation, which can be embedded in text, in figures containing multiple structures, or in reaction pathways, and can be represented as either a skeletal formula or a Markush structure.

Discussion At this point, it might become clear to the reader that many applications within drug discovery require multiple representations to be used simultaneously to solve a problem. For example, in protein structure predictionterm, one might start with the proteinterm sequence, create a rudimentary 3D model of the structure, and then use advanced molecular dynamics methods to understand how the proteinterm folds and what the final configuration/structure for the proteinterm might be. The coordinates of the optimized proteinterm structure (e.g. a PDB file) might then go on to be used in docking calculation, etc. Technical aspects may factor into the choice of representation(s) a researcher might make, such as the complexity of the method(s) for generating the representation(s), and if they are openly accessible.

It is interesting to note that some representations have held the test of time better than others. This can be partly explained by the evolution of computer technologies, which have improved in terms of storage capabilities, processor qualities, and parallel programming capabilities. Standard representations such as IUPAC-Dyson and WLN were sensible during their times and were made to be manipulated by humans, but difficult to work with on a computer. Computationally simpler representations are now frequently used. Furthermore, detailed representations which require greater computational time to compute (compared to molecular string representations) can nowadays be used; this is the case for hashed fingerprintsterm·def. Another possible explanation for the endurance of certain molecular representation is that they are more human readableterm than others, and thus have been better received by the cheminformatics community. Lastly, another reason why some notationsterm persist and others do not is that within different fields and subfields (e.g. cheminformatics, bioinformatics, or AI), different notationsterm are often preferred for either historical or continuity reasons within groups.

Conclusions Molecules are complex structures and their representations must account not only for a wide variety of properties, such as stereochemistry and valence, but also for the different nature of these small molecules and macromoleculesterm. The rise of cheminformatics and bioinformatics has led to a faster and more efficient drug discovery process as well as to a better understanding of molecular behaviour. In this reviewterm·mth, we presented various popular notationsterm and representations for small molecules, polymers, and proteinsterm and their most common uses related to AI within computational drug discovery. We hope that this reviewterm·mth will benefit practising cheminformaticians, students, and anyone else interested to learn more about the underlying molecular representations in cheminformatics that can be used in AI-driven drug discovery applications.

Acknowledgements L.D. and A.T. would like to thank the European Union’s Horizon 2020 research and innovation program. R.M. would like to thank the AstraZeneca Postdoc Program. Third-party materials used in figures [ 149 – 157 ] are licensed under CC BY [ 158 ]. The authors would like to thank the editor and the reviewers, two anonymous and Dr. Noel O’Boyle, for their extensive comments, suggestions, and patience throughout the many rounds of reviewterm·mth.

Abbreviations 2-dimensional 3-dimensional Amino acids Artificial intelligence Chemically Advanced Template Search Connection tablesterm ChemAxon Extended SMILESterm Extended Connectivity Fingerprints Forward Translation Hierarchical Editing Language for Macromoleculesterm International Chemistry Identifier International Union of Pure and Applied Chemistry Molecular Design Limited, Inc Machine-learning Natural Language Processing Optical character recognitionterm Proteinterm Line Notationterm·def Quantitative structure activity relationship Reaction-Data Files Reaction InChIterm Reaction SMILESterm Arbitrary Target Specification Simplified Molecular Input Line Entry System SMILESterm ReaKtion Specification Wiswesser Line Notationterm·def Web Unique Representation of Carbohydrate Structures Authors’ contributions RM and AT wrote the section entitled “ Graphterm representations for small molecules ”. All the authors contributed to the sections “ Notationsterm for small molecules ” and “ AI applications within drug - discovery using molecular representations ”. The section “ Representations for chemical reactions ” was written by AT; LD wrote the sections “ Notationsterm for macromoleculesterm ” and “ Graphical representations for molecules and macromoleculesterm ”. All authors read and approved the final manuscript.

Funding L.D. and A.T. have received funding from the European Union’s Horizon 2020 research and innovation program under the Marie Sklodowska Curie grant agreement No 676434, “Big Data in Chemistry” (“BIGCHEM”, http://bigchem.eu ). The article reflects only the authors view and neither the European Commission nor the Research Executive Agency (REA) are responsible for any use that may be made of the information it contains.

Availability of data and materials Not applicable.

Competing interests All the authors were employed by AstraZeneca and declare no competing interests.

Footnotes References Associated Data Data Availability Statement Not applicable.

Interpretive notes.
• Highlighted spans are tagged entities: persName (author), title (venue), placeName (place), date (year), and term (a key concept: domain / ai / method).
• Eponymous or retrospective terms (e.g. “Nash equilibrium”, “segregation”) do not appear in the original source and so are not highlighted — a deliberate choice (see Report 4).
• Some entries begin with a word in capitals. EVIDENCE CORRECTED means the finding still stands and it was our quotation that was wrong — it has been replaced. RETRACTED means the entry itself was wrong; it stays on the page, marked, with its reason, rather than being deleted. WITHDRAWN AND REPLACED means a corrected version of it appears in the entries below. Each mark carries its own reason, because the reasons differ from one entry to the next. An entry we have WITHDRAWN is removed from this page and kept in the record, with its reason. A line reading Audit and a date is a later re-reading of the entry against its whole sentence: DOUBTFUL means it was kept, and the reason says what is loose about it.
• Quotation marks inside the tagger's sentence. Where a tag is the tagger's own sentence, a phrase in quotation marks inside it is borrowed from the paper — the tagger's wording around it is not. The paper's own sentence is the evidence quote shown on the same row, so the borrowing can be checked against the thing borrowed from without leaving this page. Nothing inside quotation marks anywhere on this page is ours: if it is quoted, it is the paper's. Whose words a concept carries. A concept entry records a term the paper itself uses, so the term, the sense given for it, and its evidence are the paper's own words, quoted where the paper fixes them. This is the opposite of a sense entry in the tag table, which is the tagger's sentence about how the paper uses a term. Where a concept entry could not be grounded in the paper's words, the entry says so on its own row.
• Counts: 1 work · 1 date.
Meta-Tagging Project · record david2020-molecular-representations-ai-drug-discovery-review.
© 2026 Shir Sivroni