Related Experiment Video
Updated: Oct 27, 2026

Curation of Computational Chemical Libraries Demonstrated with Alpha-Amino Acids
Published on: April 13, 2022
TMC-LewisGen: Automated Generation of Lewis-like Structures for Transition-Metal Complexes
Farshad Shiri1, Jingyuan Zhu1, Sin Hang Tong1
1Department of Chemistry, The Hong Kong University of Science and Technology, Clear Water Bay, Kowloon, Hong Kong SAR999077, China.
Abstract:
Lewis structures constitute a foundational language in chemical education, mechanistic reasoning, synthesis, and modern cheminformatics. With the accelerating shift toward data-driven and AI-assisted molecular science, the ability to rapidly generate Lewis-like representations, including RDKit-parsable SMILES, has become essential for large-scale analysis and predictive modeling. While mature tools exist for organic molecules, transition-metal complexes (TMCs) remain systematically underserved owing to their inherently diverse coordination patterns. To address this gap, we develop TMC-LewisGen, an automated tool for generating Lewis-like structures of TMCs directly from Cartesian coordinates. The task is formulated as a discrete variable optimization problem, where a comprehensive set of explicit chemical rules defines the feasible solution space and integer linear programming (ILP) identifies a globally optimal assignment of bond orders, lone pairs, and formal charges, followed by postprocessing corrections. The final outputs include Lewis-like structures, RDKit-parsable SMILES, and interpretive bonding reports framed within the covalent bond classification (CBC) formalism, in which ligands are categorized as L-, X-, or Z- type donors. Benchmarking on nearly 29,000 TMCs demonstrates robust performance, with valid SMILES generated for 100% of the structures and subsecond ILP solution times in most cases. Representative examples, including Werner-type complexes, η-coordinated π-ligands, and metal-carbene motifs, demonstrate broad applicability. The framework supports large-scale structural annotation, automated chemical interpretation, and data-driven modeling of TMCs. A freely accessible web server for 3D TMC analysis and visualization is available at https://tmc-lewis-structure.streamlit.app/.
Related Concept Videos
Lewis Structures of Molecular Compounds and Polyatomic Ions
Lewis Symbols and the Octet Rule
Predicting Molecular Geometry
Valence Bond Theory
Crystal Field Theory - Octahedral Complexes
To explain the observed behavior of transition metal complexes (such as colors), a model involving electrostatic interactions between the electrons from the ligands and the electrons in the unhybridized d orbitals of the central metal atom has been developed. This electrostatic model is crystal field theory (CFT). It helps to understand, interpret, and predict the colors, magnetic behavior, and some structures of coordination compounds of transition metals.
CFT focuses on...
Metal-Ligand Bonds
In these complexes, transition metals form coordinate covalent bonds, a kind of Lewis acid-base interaction in which both of the electrons in the bond are contributed by a donor (Lewis base) to an electron acceptor (Lewis acid). The Lewis acid in...

