Abstract
Molassembler is an open-source C++ library (with Python bindings) that provides a robust graph-based framework for representing, modifying, and generating 3D conformers for the entire periodic table. By abstracting stereochemistry into permutations on polyhedral shapes, it enables the automated handling of complex inorganic complexes and haptic ligands that traditional organic-centric tools often fail to describe.
The Challenge of Inorganic Cheminformatics
Most cheminformatics tools were born in the world of drug discovery, which is dominated by organic molecules. Consequently, these tools are excellent at handling tetrahedral carbons and double bonds (R/S and E/Z stereochemistry) but struggle with the "wild west" of inorganic chemistry.
Transition metal complexes can have coordination numbers ranging from 2 to 12, adopting shapes like octahedral, trigonal bipyramidal, or square antiprismatic. Furthermore, inorganic chemistry frequently involves "haptic" ligands—where a metal bonds to a cloud of electrons across multiple atoms (like the pi-system in ferrocene)—and multidentate ligands that "wrap" around a central atom. The authors developed Molassembler to provide a unified, general-purpose tool capable of representing these complex structures for the automated exploration of chemical reaction networks.
Methodology: Stereopermutators and Polyhedral Shapes
Molassembler uses a hybrid model that splits a molecule into two parts: a molecular graph and stereopermutators. The molecular graph is an undirected graph where vertices are atoms and edges are bonds (including a special "eta" bond for haptic connectivity).
The core innovation lies in the Stereopermutators. Instead of hard-coding rules for every possible type of chirality, Molassembler abstracts spatial orientation into an "index of permutation" for a set of 30 idealized polyhedral shapes. This allows the software to handle complex transition metal centers with high coordination numbers and diverse geometries.
Key Algorithms
- Shape Recognition: To convert 3D coordinates back into a graph, the software uses Continuous Shape Measures (CShM). The authors implemented a heuristic that considers a fixed number of point pairings to keep the computation efficient despite the factorial complexity of the problem.
- Chiral Propagation: When a user modifies a molecule, Molassembler uses an edit-distance metric to map old substituents to new ones, attempting to preserve the chiral state through the transition.
- Conformer Generation: The library uses 4D Distance Geometry. By allowing the molecule to temporarily "expand" into a fourth spatial dimension during optimization, chiral centers can "un-invert" themselves more easily, avoiding high-energy barriers found in 3D space.
Key Insights: Handling Hapticity and Fluxionality
One of the most significant features of Molassembler is its treatment of haptic ligands. By treating a haptic ligand as a single "pseudo-atom" located at its centroid, complex organometallic bonding can be mapped onto standard polyhedral shapes without breaking the underlying graph model.
Additionally, the software acknowledges that some stereocenters are fluxional (like nitrogen inversion or Berry pseudorotation). It includes an optional "thawing" protocol to thermalize these centers, treating them as non-stereogenic if they can easily interconvert at room temperature.
Results and Integration
The authors evaluated Molassembler using standard IUPAC examples and a specialized dataset of 44 iron complexes with diverse bonding patterns. The software demonstrated extensive distortion tolerance for common shapes and correctly identified stereoisomers in complex cases like [Fe(oxalate)3], where it ruled out physically impossible trans-arranged isomers.
Molassembler is now a core component of the SCINE project, serving as the "equivalence oracle" that determines if two structures discovered during a reaction search are actually the same molecule. While future work aims to address axial chirality and systematic electronic distortions like the Jahn-Teller effect, Molassembler currently represents a major step forward in unifying organic and inorganic cheminformatics.
Summary updated