Skip to content
A molecule of amber points of light, reflected in black water

03Runs here

Nucleus

A Rust chemistry engine compiled to WebAssembly, running in your browser

Jul 2026 · solo

Role
Solo
Period
Jul 2026
Status
Runs here

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

03ProductThe real app

The product, screen by screen

A Rust chemistry engine compiled to WebAssembly, running in your browser

The home page of Nucleus, a molecule drawn beside the title
The home page of AI for Molecular Design.Real capture, the public pages of ai-for-molecular-design.vercel.app, 27 Nov 2026

Guided tour

  1. 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
    Analyse a molecule: a SMILES field and example molecules
  2. 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
    The hit finder: a reference molecule and three sliders
  3. 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
    The chemical space map: a cloud of points coloured by activity
  4. 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
    The lab in figures: counters, a donut chart and a bar chart of three models

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
  1. ChEMBL EGFR data → RDKit notebooks
  2. RDKit notebooks → Morgan fingerprints
  3. Morgan fingerprints → Rust crate
  4. Rust crate → molcore.wasm
  5. molcore.wasm → in the browser
  6. Rust crate → JavaScript fallback
  7. JavaScript fallback → in the browser
  8. 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.

Illustration: a ball-and-stick molecule model on white

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.

  1. 01

    Start from a cancer drug

    The query is Gefitinib, an EGFR inhibitor, written as its SMILES formula.

  2. 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.

  3. 03

    Keep the closest ones

    972 molecules score 0.7 or more; 875 of them are labelled active.

Try it yourself

Choose how similar a molecule must be to Gefitinib: you will see how many of the 13,577 pass, and how many are labelled active.

Minimum similarity
  1. 4 of 13,577 molecules pass 1.0; 4 of them are labelled active.
  2. 59 of 13,577 molecules pass 0.9; 58 of them are labelled active.
  3. 300 of 13,577 molecules pass 0.8; 277 of them are labelled active.
  4. 972 of 13,577 molecules pass 0.7; 875 of them are labelled active.
  5. 2,075 of 13,577 molecules pass 0.6; 1,822 of them are labelled active.
  6. 4,829 of 13,577 molecules pass 0.5; 3,965 of them are labelled active.
  1. 1.04 molecules, 4 active
  2. 0.959 molecules, 58 active
  3. 0.8300 molecules, 277 active
  4. 0.7972 molecules, 875 active
  5. 0.62,075 molecules, 1,822 active
  6. 0.54,829 molecules, 3,965 active
Molecules that pass each similarity, drawn to scale. Amber: labelled active. Bronze: the others.
Open the full instrument
Where the numbers come from
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

Where to next