Reconstruction model and scope
XYZ records the element and position of each atom. MolGR uses distances to identify likely bonds, then uses total charge and spin multiplicity to assign bond orders and formal charges. The returned RDKit molecule retains the original coordinates for tasks such as substructure searches and descriptor calculations.
Why supply total charge and spin multiplicity?
The formal charges of all atoms in the reconstructed graph must sum to the input total charge.
Spin multiplicity constrains the electronic assignments. MolGR uses multiplicity minus one as its target number of unpaired electrons. A singlet therefore has a target of zero. Two local radicals coupled to a singlet fall outside this representation.
Which structures are suitable?
MolGR accepts organic molecules and metal complexes with known total charge and multiplicity. Include every atom, including hydrogens, in the XYZ input. Coordinate quality affects which bonds the algorithm can infer.
The same geometry can admit several plausible bond orders or charge distributions. MolGR selects one graph. Identifying the electronic ground state requires independent evidence. Search and ranking rules