Thymol in β-cyclodextrin forms one O–H···O contact and no resolvable charge transfer
Thymol and carvacrol are isomers (C₁₀H₁₄O) with the hydroxyl group at different ring positions. Which fits β-cyclodextrin better, and what does the electronic structure of the thymol complex show about charge transfer, reactive sites and the host-guest contact? A g-xTB pose search compares eight fixed-host poses. The best thymol complex is then analysed at PBE/def2-SVP on all 172 atoms.
Method: g-xTB (Metal GPU, host fixed) for poses; PBE/def2-SVP with density fitting on the CPU for the analysis, vertical at the g-xTB geometry, gas phase, no dispersion or counterpoise correction. Bader, MBIS and NCI use 0.10 Å grids.
Runnable study and results · Build · Run · Analysis · Figures
Build the model
Section titled “Build the model”The host is the RCSB ideal β-cyclodextrin, C₄₂H₇₀O₃₅ (147 atoms). Each 25-atom guest is centred in the cavity in four rigid orientations. The build step reads coordinates and writes eight starting complexes. It uses no calculator.
host = load_molecule(inputs / "beta_cyclodextrin.xyz")for name in ("thymol", "carvacrol"): guest = load_molecule(inputs / f"{name}.xyz") for index, rotation in enumerate(ROTATIONS): pose = guest.copy() pose.set_positions(guest.get_positions() @ rotation.T) write(output / f"{name}-start-{index}.xyz", combine(host, pose))Starting model: thymol at the centre of the beta-cyclodextrin cavity
Starting pose 0 of thymol, viewed down the cavity axis. All 172 atoms are drawn.
Calculate
Section titled “Calculate”The run script optimizes the host and both free guests, then each pose with the 147 host atoms fixed.
atoms.calc = XTB(method="gxtb", device="gpu")atoms.set_constraint(FixAtoms(indices=list(range(147))))if not BFGS(atoms).run(fmax=0.05, steps=300): raise RuntimeError("The pose did not converge")binding = atoms.get_potential_energy() - host_energy - guest_energyg-xTB binding energies of eight guest poses
Binding energies of the eight optimized poses; diamonds mark the best pose of each guest.
| Guest | Best pose | Binding energy (eV) | Spread over four poses (eV) |
|---|---|---|---|
| Thymol | 2 | −0.6639 | 1.7376 |
| Carvacrol | 1 | −0.6642 | 0.3172 |
The best poses differ by 0.31 meV, far below the pose spread, so the search does not rank the guests. At PBE//g-xTB the interaction energies are also tied: −0.467 eV for thymol and −0.475 eV for carvacrol. The analysis uses thymol because its best pose has a screened contact (H···O below 2.7 Å, O–H···O above 120°): H···O 2.397 Å at 127.69°. The best carvacrol pose has none.
Best thymol pose with its hydrogen-bond contact
Best thymol pose (pose 2) with the O–H···O contact labelled.
Best carvacrol pose
Best carvacrol pose (pose 1), which has no screened contact.
Electronic analysis
Section titled “Electronic analysis”The full-complex SCF takes about 3 min on the CPU (684 electrons). The GPU density-fitting path stops with a workgroup-limit error at this size, so every analysis below is a CPU calculation on the whole complex, not a reduced model. Guest atoms are numbered 1 to 25 in file order: O1 is the hydroxyl oxygen, C6 carries it, C3 carries the isopropyl group and C10 is para to the hydroxyl.
Charge transfer
Section titled “Charge transfer”| Scheme (guest net charge, e) | Thymol | Carvacrol |
|---|---|---|
| g-xTB (native) | +0.0063 | +0.0034 |
| Mulliken | +0.0139 | −0.0033 |
| Löwdin | −0.0445 | −0.0293 |
| NPA | −0.0465 | −0.0172 |
| Bader, change vs isolated guest | −0.0008 | +0.0047 |
| MBIS, change vs isolated guest | −0.0361 | not run |
| Density difference, guest cell | +0.0058 | +0.0039 |
The schemes disagree in sign and none exceeds 0.05 e, so no net charge transfer is resolved. Grid integration misses 2.97 of the 684 electrons, so Bader and MBIS are reported as the change from the isolated guest evaluated on the same grid. The density-difference row integrates complex minus host minus guest over the nearest-atom cell of the guest.
Electron density difference of the thymol complex
Complex minus host minus guest at the complex geometry: blue is density gained, orange lost (0.004 e/ų, adjustable). Lobes of both signs surround the guest ring and the host atoms facing it, with no net flow between the fragments.
Bader charges
Section titled “Bader charges”| Atom | Charge in complex (e) | Change vs isolated guest (e) |
|---|---|---|
| O1 | −1.133 | −0.071 |
| C2 | +0.024 | −0.013 |
| C3 | +0.143 | +0.033 |
| C4 | +0.342 | −0.000 |
| C5 | −0.013 | +0.005 |
| C6 | +0.404 | −0.048 |
| C7 | +0.033 | +0.016 |
| C8 | +0.036 | −0.002 |
| C9 | +0.077 | −0.003 |
| C10 | +0.016 | −0.044 |
| C11 | +0.339 | +0.000 |
| 14 H, sum | −0.008 | +0.126 |
| Guest | +0.259 | −0.001 |
The raw charges include grid integration error: the isolated guest sums to +0.260 e on the same grid. The change column cancels it. The hydroxyl oxygen gains 0.071 e while its hydrogen H25 loses 0.051 e, consistent with an O–H that donates a hydrogen bond. Every other single-atom change is below 0.06 e.
Fukui functions
Section titled “Fukui functions”Condensed Fukui functions of thymol
Condensed Fukui functions of isolated thymol at its complexed geometry (frontier-orbital weights, Löwdin populations).
f⁻ is largest on C10 (0.243), O1 (0.225) and C3 and C6 (0.160 each); f⁺ on C7 (0.253), C9 (0.234), C3 (0.177) and C8 (0.176). Finite-difference Fukui functions from the N±1 states rank the same three atoms first for f⁻ (C10 0.150, O1 0.138, C3 0.107). The anion is unbound in def2-SVP (vertical electron affinity −1.70 eV), so the finite-difference f⁺ is less reliable.
Thymol atoms colored by f minus
Thymol atoms colored by f plus
Atoms colored by f⁻ (top) and f⁺ (bottom) relative to the largest value; labels give values of at least 0.1.
Inside the complex the PBE HOMO (−4.74 eV) sits on the host (guest share of f⁻ 0.0006) while the LUMO (−0.72 eV) is on the guest (f⁺ 0.984). The isolated-guest values above describe the guest alone.
Non-covalent interactions
Section titled “Non-covalent interactions”NCI surface between thymol and the cavity
Reduced-density-gradient surface at s = 0.6 colored by sign(λ₂)ρ (blue attractive, red repulsive), restricted to points between guest and host, within 2.0 Å of a guest atom and outside bonded regions. Host atoms within 4.5 Å of the guest are drawn.
Reduced density gradient against sign(λ₂)ρ for the host-guest interface
The same interface points (8000 sampled); red points lie along the H···O contact.
Of the 1313 interface points with s below 0.5, 458 are attractive (sign(λ₂)ρ below −0.02 e/ų), 651 are van der Waals-like (within ±0.02) and 204 are repulsive. The most negative value is −0.070 e/ų (−0.0104 a.u.) and lies on the screened H···O contact, so that hydrogen bond is the strongest feature of the interface. The next, at −0.060 e/ų, joins a host C–H (H109) to the guest hydroxyl oxygen (H···O 2.53 Å, 172°): a C–H···O contact outside the O–H···O screen.
Reproduce and extend
Section titled “Reproduce and extend”python cyclodextrin-build.py --inputs ../inputs --output ../models/cyclodextrinpython cyclodextrin-run.py --models ../models/cyclodextrin --output cyclodextrin-resultspython cyclodextrin-analysis.py --results cyclodextrin-results --work cd-analysispython cyclodextrin-figures.py --results cyclodextrin-results --models ../models/cyclodextrin --work cd-analysis --figures figuresThe pose optimizations are the long step (GPU); the analysis script takes about 20 min on the CPU, of which the MBIS fit is 11 min. Pose energies · Thymol analysis · Carvacrol analysis
These are fixed-host gas-phase energies. Solvation, host flexibility, conformer sampling and association entropy can change the guest preference.