CIFlat

Crystal structure in · chemical diagram out

From CIF to diagram, flattened.

CIFlat reads the CIF of a metal complex and writes an editable two-dimensional chemical diagram. It completes the molecule by symmetry, resolves disorder, and works out the bonds, charges and oxidation states. The diagram comes as CDXML that opens in ChemDraw, with MOL, SMILES, SVG and PNG files and a report of every choice it made.

  • .cdxml
  • .mol
  • .smi
  • .svg
  • .png
  • report.json

1/5The CIF: the asymmetric unit.

  1. The CIF. The file lists only the asymmetric unit: one copper atom, one 2,2′-biimidazole and one water molecule.
  2. Completed by symmetry. A twofold axis generates the other half. The two copper atoms, 2.596 Å apart, are bonded.
  3. Inside CIFlat. Bond orders, hydrogens, charges and oxidation states are derived from the coordinates: copper(I), a 2+ cation.
  4. Layout. Hydrogens fold into their atoms, rings become regular, and the twofold symmetry is kept on the page.
  5. Out. An editable diagram, here with status ready; the long Cu–OH2 contacts are dotted.
Open the black box: watch every step on a harder structure →
Real data, not an illustration: the 3D positions are those of COD 2224481 as read from its CIF, and the 2D positions are CIFlat's own drawing (version 0.6.0). The sulfate counter-ion is drawn as a separate fragment and is left out here.

What it does with a CIF

  1. 01

    Read

    Cell, symmetry operators, atom sites, occupancies and disorder labels.

  2. 02

    Complete

    Chooses among disordered positions, generates symmetry images and bonds atoms by distance.

  3. 03

    Perceive

    Bond orders, hydrogen atoms, ligand charges and metal oxidation states. The deposited formula is used only as a check.

  4. 04

    Lay out

    A search for coordinates that obey stated drawing rules, judged by an independent validator.

  5. 05

    Check

    The written files are read back and compared, and the result is marked ready, needs_review or invalid.

Drawn by CIFlat, unedited

More in the interpretive cases →

Tested on structures it had never seen

Validation →

240 structures of 33 metals were drawn at random from the Crystallography Open Database and kept out of development.

198 / 239

drawn with exactly the deposited non-hydrogen formula; every other difference is traced to named sites or to the file.

94.8 %

of the metal–ligand bonds listed by the depositors are drawn.

218 / 238

drawings free of overlapping labels and obscured bonds.

195 / 238

charge-neutral as read. Charges are the weakest part; see Limitations.

Read further