Related Experiment Video
Updated: Dec 20, 2025

Applying Cheminformatics to Develop a Structure Searchable Database of Analytical Methods
Published on: June 6, 2025
Extracting chemical reactions from text using Snorkel
Emily K Mallory1, Matthieu de Rochemonteix2, Alex Ratner3
1Biomedical Informatics Training Program, Stanford University, Stanford, CA, USA.
Background:
Enzymatic and chemical reactions are key for understanding biological processes in cells. Curated databases of chemical reactions exist but these databases struggle to keep up with the exponential growth of the biomedical literature. Conventional text mining pipelines provide tools to automatically extract entities and relationships from the scientific literature, and partially replace expert curation, but such machine learning frameworks often require a large amount of labeled training data and thus lack scalability for both larger document corpora and new relationship types.
Results:
We developed an application of Snorkel, a weakly supervised learning framework, for extracting chemical reaction relationships from biomedical literature abstracts. For this work, we defined a chemical reaction relationship as the transformation of chemical A to chemical B. We built and evaluated our system on small annotated sets of chemical reaction relationships from two corpora: curated bacteria-related abstracts from the MetaCyc database (MetaCyc_Corpus) and a more general set of abstracts annotated with MeSH (Medical Subject Headings) term Bacteria (Bacteria_Corpus; a superset of MetaCyc_Corpus). For the MetaCyc_Corpus, we obtained 84% precision and 41% recall (55% F1 score). Extending to the more general Bacteria_Corpus decreased precision to 62% with only a four-point drop in recall to 37% (46% F1 score). Overall, the Bacteria_Corpus contained two orders of magnitude more candidate chemical reaction relationships (nine million candidates vs 68,0000 candidates) and had a larger class imbalance (2.5% positives vs 5% positives) as compared to the MetaCyc_Corpus. In total, we extracted 6871 chemical reaction relationships from nine million candidates in the Bacteria_Corpus.
Conclusions:
With this work, we built a database of chemical reaction relationships from almost 900,000 scientific abstracts without a large training set of labeled annotations. Further, we showed the generalizability of our initial application built on MetaCyc documents enriched with chemical reactions to a general set of articles related to bacteria.
Related Concept Videos
Chemical Reactions
The relative amounts of reactants and products represented in a balanced chemical equation are often referred to as stoichiometric amounts. However, in...
Chemical Reactions
Chemical Reactions Rearrange Atoms into New Substances
A chemical reaction takes starting materials—the reactants—and changes them...
Chemical Reactions in Aqueous Solutions
Introduction to Chemical Reactions
SN1 Reaction: Mechanism
Firstly, the haloalkane ionizes to generate a carbocation intermediate and a halide ion. This heterolytic cleavage is highly endothermic with large activation energy. The ionization of the substrate, facilitated by a...
SN2 Reaction: Mechanism
The presence of the more electronegative halogen in the substrate creates a polarized carbon-halide bond. The halide pulls the electron cloud generating an electrophilic center at the carbon atom. Thus, the carbon atom carries a partial positive charge while the halide has a...

