← Imaging & pathology

THREADS

THREADS is an imaging & pathology tool whose code is published by mahmoodlab on GitHub, first public in 2026, described in Nature Cancer (2026). Mahmood lab slide encoder that turns CONCH v1.5 patch embeddings of H&E whole-slide images into 1,024-d slide embeddings, pretrained by aligning morphology with RNA-seq or DNA panel profiles.

Visit website ↗

CategoryImaging & pathology
Developer (GitHub)mahmoodlab
InputH&E whole-slide images (CONCH v1.5 patch embeddings, 512 px patches at 20x)
InterfacePython package threadsmodel (pip install from GitHub); weights via hf_hub:MahmoodLab/threads
Websitehuggingface.co/MahmoodLab/threads
GitHubmahmoodlab/threadsmodel
Released2026-11-20 (source)
Paperhttps://doi.org/10.1038/s43018-026-01252-w · Nature Cancer (2026)
Code licenseCC-BY-NC-ND-4.0
Weights licenseweights CC-BY-NC-ND-4.0, gated on Hugging Face (registration and terms required)
What this allowsUnknown
No confirmed terms from a primary source; ask the authors before using it in a product. What do these mean?
License sourcegithub.com/mahmoodlab/threadsmodel#license-and-terms-of-use · checked 2026-11-25
PricingOpen source (non-commercial)
Tags#pathology#foundation-model#whole-slide-image#oncology#multimodal
Last checked · links verified

Can I use THREADS commercially?

Unclear. We could not confirm the terms from a primary source; check with the authors before commercial use.

What the license types mean · not legal advice.

Specs

2D / 3D2D (whole-slide images)
ModalityH&E whole-slide images (CONCH v1.5 patch embeddings, 512 px patches at 20x)
Segmentation typeN/A (slide-level embedding model)
GitHub stars1
InterfacePython package threadsmodel (pip install from GitHub); weights via hf_hub:MahmoodLab/threads

Compare with…

Pick 1–3 other Imaging & pathology tools to compare side by side with THREADS.

Select 1–3 tools

Related

CHIEF

Pathology foundation model for cancer detection, tumor-origin and molecular-profile prediction and prognosis from whole slides.

Imaging & pathologyOpen source (non-commercial)Non-commercial#pathology

QuPath

Open-source software for digital pathology and whole slide image analysis.

Imaging & pathologyOpen sourceCopyleft (commercial OK, share-alike)#pathology

Allen Institute cell foundation model that embeds single-cell RNA and ATAC profiles into a shared 1,024-d space, trained on whole mouse brain data; inference CLI for cell embeddings.

Single-cell & foundation modelsOpen source (non-commercial)Mixed (code vs weights differ)#foundation-model