Computational pathology toolkit: tiling, feature extraction, and annotation for whole-slide images using foundation models
https://pypi.org/project/mussel-pathology/ โ// momentum
+1โ since featured on SilentStars (2026-06-21)
featured in
- Edition #17 back first commit in 53 days
- Edition #8 back first commit in 51 days
// why it's here
- Built almost entirely by one person
// how to help
// readme
Mussel
This is a fork of Faisal Mahmoodโs CLAM repository (GPL v3 license), with a handful of modifications:
- Added additional foundation models for generating embeddings
- Added zero-shot tissue-type annotation of tiles
- Added caching of images for inference right on the tiles (rather than on embeddings)
- Added microns per pixel (mpp) as parameter for tiling, supported regardless of native slide resolution
- Made usable for job submission (one script run, one slide)
- Removed modeling
- Updated the tiling algorithm
Installation
System requirements
Supported systems:
- Mac OS (x86 and ARM) (cpu only)
- Linux (x86) (cpu and gpu)
Supported slide formats
Mussel reads whole-slide images via tiffslide (backed by tifffile). The following formats are supported: