liveBook · Manning

SMILES

SMILES is a textual notation standard that encodes molecular atoms, bonds, and connectivity using defined symbols and grammar rules.

How 2 Manning books explain it

Build AI Drug Discovery Pipelines

SMILES is a line notation that encodes molecular atoms, bonds, and connectivity as a text string using defined symbols and grammar rules.

How it is used
Uses compact molecular strings as input representations for machine-learning models in drug discovery.
How deep it goes
Explains symbols, bonds, branches, rings, stereochemistry, equivalent strings, and RDKit graph conversion, but defers complete grammar details.
Examples
Demonstrates aspirin, methane, ethane, carbon dioxide, hydrogen cyanide, acetic acid, cyclohexane, benzene, and triethylamine.
What you can do after
Build molecular graph inputs from SMILES using RDKit, including atom features, bonds, directed edges, and self-loops.

Read how Build AI Drug Discovery Pipelines explains SMILES →

Graph Neural Networks in Action

SMILES is a textual notation for encoding the structure of chemical compounds as molecular strings.

How it is used
Converts molecular records into graph objects for graph neural networks and molecular generation workflows.
How deep it goes
Explains notation use through parsing and graph conversion, but does not detail SMILES syntax or chemical validation rules.
Examples
Uses ZINC drug molecules, SMILES-to-graph code, molecular graph visualizations, and QED-based candidate generation.
What you can do after
Build it from scratch by parsing SMILES with RDKit and packaging atom-bond graphs for PyTorch Geometric models.

Read how Graph Neural Networks in Action explains SMILES →

Related concepts

Questions about SMILES

What is SMILES?

SMILES is a textual notation standard that encodes molecular atoms, bonds, and connectivity using defined symbols and grammar rules.

Which Manning books explain SMILES?

Build AI Drug Discovery Pipelines and Graph Neural Networks in Action.

What is the difference between SMILES and molecular graph?

SMILES is a textual notation standard that encodes molecular atoms, bonds, and connectivity using defined symbols and grammar rules. A molecular graph is a graph representation of a molecule in which atoms are nodes and chemical bonds are edges.

What kinds of SMILES are there?

Kinds of SMILES include canonical SMILES, isomeric SMILES and SMARTS.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.