Advertisement

If you have an ACS member number, please enter it here so we can link this account to your membership. (optional)

ACS values your privacy. By submitting your information, you are gaining access to C&EN and subscribing to our weekly newsletter. We use the information you provide to make your reading experience better, and we will never sell your data to third party members.

ENJOY UNLIMITED ACCES TO C&EN

Computational Chemistry

Software makes hand-drawn chemical structures machine readable

Machine-learning tool recognizes molecules 3 times out of 4

by Sam Lemonick
March 12, 2021 | A version of this story appeared in Volume 99, Issue 9

 

Photograph of a hand-drawn chemical structure on a piece of paper.
Credit: Hayley Weir
Machine-learning software can turn photographs of hand-drawn chemical structures into code.

Software like ChemDraw lets chemists draw chemical structures on computers, but drawing them by hand on a piece of paper is easier much of the time. While those drawings are convenient, they can’t be easily transferred to a computer to use computational tools. So Todd J. Martínez of SLAC National Accelerator Laboratory and Stanford University and colleagues developed a machine-learning technique that can recognize hand-drawn hydrocarbon structures from pictures and convert them to the computer-readable SMILES (simplified molecular-input line-entry system) format (ChemRxiv 2021, DOI: 10.26434/chemrxiv.14156957.v1). Called ChemPix, the tool uses neural network algorithms adapted from image captioning software. In the group’s tests, ChemPix could correctly identify hand-drawn molecules from photographs about 85% of the time. Hayley Weir, a PhD student at Stanford who led the work, says the team deliberately trained and tested the software on blurry, low-quality images to mimic real-world use. ChemPix can recognize aromatic rings, double bonds, and assumed hydrogens, but the researchers foresee differences in handwriting complicating efforts to extend its abilities to heteroatoms.

Article:

This article has been sent to the following recipient:

0 /1 FREE ARTICLES LEFT THIS MONTH Remaining
Chemistry matters. Join us to get the news you need.