PenicillinX

Development preview. Not validated. Not for clinical decision making.

No cross-reactivity Cross-reactivity Discrepancy No data Same drug R1-driven R2-exclusive Both

Please select an antibiotic.

PenicillinX

This is a development preview for PenicillinX (Penicillin Cross reactivity). It demonstrates similar molecular substructures across beta-lactam antibiotics.

Use case

Where a patient has a history of hypersensitivity to more than one beta-lactam, there is an opportunity to examine shared molecular structures to determine the causative substructure. This can aid specialist clinicians in selecting beta-lactams less likely to result in hypersensitivity for potential challenge.

Warning

PenicillinX is still under development. The results presented are not validated and must not be used to assist in any kind of clinical decision making.

Provided free under the terms of the AGPL v3.0 licence. By using this software you agree to the terms of the licence and agree to not use any results output by this program to any extent in any clinical decision making.

Decline

About

PenicillinX predicts which beta-lactam antibiotics are likely to cross-react, by measuring how chemically similar their side chains are. It is a companion to a chemoinformatics manuscript, and displays precomputed results — no analysis runs in your browser.

Why side chains

Every drug here shares the same beta-lactam core, so the core cannot explain why a patient reacts to one drug and tolerates another. Hypersensitivity is instead largely driven by the side chains hanging off that core: the R1 group, and for cephalosporins the R2 group. Each molecule is drawn with its beta-lactam ring shaded blue so you can see the shared anatomy, and matched side chain atoms circled in red (R1) or blue (R2).

Using the site

Compare answers "my patient reacted to these drugs — what do they share?". Pick up to three antibiotics and see them drawn side by side, with the prediction for every pair underneath.

Matrix shows all 51 antibiotics against each other at once. Cell colour is the published ground truth from Hutten et al. (2025); the dot on top is this model's prediction. The interesting cells are where the two disagree.

Matrix cell colours — Hutten et al. (2025)
No cross-reactivity
Cross-reactivity
Discrepancy between source studies
No data
Same drug
Prediction dots — which side chain drove the match
R1-driven
R2-exclusive — R1 similarity fell below threshold
R1 and R2 both fired independently

The R2-exclusive case is the novel finding of the accompanying work: pairs that look unrelated by their R1 groups, but share an R2 group closely enough to matter.

The ensemble

Seven algorithms vote, combined by logical OR — a pair is predicted to cross-react if any of them fires. Four compare whole-molecule fingerprints and return a single similarity score; three identify the specific atoms responsible and can therefore drive the highlighting.

AlgorithmThresholdHighlights atoms
Direct Matching (DM)substructure testyes
Permissive SMARTS Direct Matching (PDM)substructure testyes
Maximum Common Substructure (MCS)0.8998yes
Morgan Dice (MD)0.4798no
Pharmacophore Dice0.6714no
MACCS Dice0.7745no
Atom Pairs Dice (AP)0.5281no

Thresholds were optimised by differential evolution against a specificity floor of 0.95. DM and PDM are unthresholded binary substructure tests.

Because the four fingerprint methods fire on aggregate similarity, they have no per-atom attribution. A pair can therefore report a high algorithm count with no atoms highlighted at all — the molecules are broadly similar without sharing one specific region. This is expected, not a fault.

Limitations

Results must not inform clinical decision making to any extent.

SourceAGPL v3.0