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.
| Category | Imaging & pathology |
|---|---|
| Developer (GitHub) | mahmoodlab |
| Input | H&E whole-slide images (CONCH v1.5 patch embeddings, 512 px patches at 20x) |
| Interface | Python package threadsmodel (pip install from GitHub); weights via hf_hub:MahmoodLab/threads |
| Website | huggingface.co/MahmoodLab/threads |
| GitHub | mahmoodlab/threadsmodel |
| Released | 2026-11-20 (source) |
| Paper | https://doi.org/10.1038/s43018-026-01252-w · Nature Cancer (2026) |
| Code license | CC-BY-NC-ND-4.0 |
| Weights license | weights CC-BY-NC-ND-4.0, gated on Hugging Face (registration and terms required) |
| What this allows | Unknown No confirmed terms from a primary source; ask the authors before using it in a product. What do these mean? |
| License source | github.com/mahmoodlab/threadsmodel#license-and-terms-of-use · checked 2026-11-25 |
| Pricing | Open 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.
- Code: CC-BY-NC-ND-4.0
- Weights: weights CC-BY-NC-ND-4.0, gated on Hugging Face (registration and terms required)
- Source: github.com/mahmoodlab/threadsmodel#license-and-terms-of-use · license checked 2026-11-25
What the license types mean · not legal advice.
Specs
| 2D / 3D | 2D (whole-slide images) |
|---|---|
| Modality | H&E whole-slide images (CONCH v1.5 patch embeddings, 512 px patches at 20x) |
| Segmentation type | N/A (slide-level embedding model) |
| GitHub stars | 1 |
| Interface | Python 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.
Related
Pathology foundation model for cancer detection, tumor-origin and molecular-profile prediction and prognosis from whole slides.
Open-source software for digital pathology and whole slide image analysis.
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.