liveBook · Manning

SMILES

As explained in Graph Neural Networks in Action

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

SMILES (Simplified Molecular Input Line Entry System) encodes a molecule’s structure as an ASCII molecular string. It provides a practical bridge from chemical records to molecular graphs used in graph-learning workflows. section 5.4.1

A typical SMILES-to-graph workflow proceeds as follows:

  • Package the resulting graphs as PyTorch Geometric data objects for model training. section 5.4.1

Drug-candidate generation

A variational graph autoencoder can encode SMILES-derived molecular graphs into a latent space, predict QED there, and decode optimized representations into candidate molecules. section 5.4.2

How Graph Neural Networks in Action covers it

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.
How it connects
Connects SMILES with molecular graphs, RDKit, PyTorch Geometric, graph autoencoders, latent spaces, and QED.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Graph Neural Networks in Action. The section links point to the parts of the book it draws on.