
03Runs here
Nucleus
A Rust chemistry engine compiled to WebAssembly, running in your browser
Jul 2026 · solo
01ProofThe single statement
What it proves
31.7 KB of WebAssembly screens 13,577 EGFR molecules by Tanimoto similarity, here, on your machine.
02FiguresEach figure and its file
The figures, with their sources
31.7 KB
molcore.wasm, the whole engine
13,577
fingerprints screened in the browser
03ProductThe real app
The product, screen by screen
A Rust chemistry engine compiled to WebAssembly, running in your browser

Guided tour
- 01
Analyse a molecule. Paste a SMILES code or pick an example; its properties and its similarity are computed by the Rust engine compiled to WebAssembly.
Real capture, the public pages of ai-for-molecular-design.vercel.app, 27 Nov 2026
- 02
The hit finder. One reference molecule, and the engine ranks the whole library in one pass, weighing similarity, known potency and drug-likeness.
Real capture, the public pages of ai-for-molecular-design.vercel.app, 27 Nov 2026
- 03
The chemical space map. Each point is a tested molecule; search one to see its nearest neighbours, or import your own.
Real capture, the public pages of ai-for-molecular-design.vercel.app, 27 Nov 2026
- 04
The lab in figures, on another dataset. The dataset and the models compared side by side on one dashboard.
Real capture, the public pages of ai-for-molecular-design.vercel.app, 27 Nov 2026
04ArchitectureThe flow, from the summary
How the data flows
ChEMBL EGFR data, Morgan fingerprints and Tanimoto screening in a Rust crate with a JavaScript fallback, benchmarked against itself live. Part of AI for Molecular Design, with RDKit notebooks behind it.
The flow, as text
- ChEMBL EGFR data → RDKit notebooks
- RDKit notebooks → Morgan fingerprints
- Morgan fingerprints → Rust crate
- Rust crate → molcore.wasm
- molcore.wasm → in the browser
- Rust crate → JavaScript fallback
- JavaScript fallback → in the browser
- in the browser: Next.js, TypeScript
04bThe worldIllustration of the computation
The fingerprint
Two Morgan fingerprints slide together; the bits they share light up, and the Tanimoto bar fills with the share of bits in common.

public/egfr_fps.bin, 13,577 x 64 bytes · Illustration of the computation
04cHow it worksNucleus
How it works
Nucleus finds the molecules most similar to a known drug, with a chemistry engine written in Rust that runs in your browser.

01
Start from a cancer drug
The query is Gefitinib, an EGFR inhibitor, written as its SMILES formula.

02
Compare it with 13,577 molecules
molcore.wasm, 31,752 bytes of Rust, scores every EGFR molecule by Tanimoto similarity, from 0 to 1.

03
Keep the closest ones
972 molecules score 0.7 or more; 875 of them are labelled active.
Open the full instrument
Where the numbers come from
- Repository
- Ayoubhm07/AI-for-Molecular-Design-
- Commit
- 0c50bc0c
- molcore.wasm
- 31,752 B · sha256 a824b3f0588ee927bf6bfec4d3cdc8e2ec2b46b20e1eb1b98a6b2081f179fd0f
- egfr_fps.bin
- 868,928 B · sha256 a8dc243e8b4bed9d76f2e57fcc2b2065fd21a1d28569934d69f92be3dee22ad6
- egfr_map.json
- 300,491 B · sha256 e978f92d9cf284ffc395b4e2f870f91ce6915be8dc25744564c39ffb0c89bba2
- egfr_smiles.json
- 838,463 B · sha256 7177c18059f0b974238d73a5b051f9558e7b242bf1d09520c4d0b1aefcb41bce
05StackEach tool and its role
What it is built with
Rust
- Morgan fingerprints and Tanimoto screening in a Rust crate
WebAssembly
- molcore.wasm, the whole engine
TypeScript
Next.js
- RDKit
- RDKit notebooks behind it
- ChEMBL
- ChEMBL EGFR data
06ExitThe next door
