Skip to main content

Napari plugin for spatial quantification of senescence markers in tissue imaging

Project description

SenoQuant

tests PyPI version Python 3.11+ License

SenoQuant is a versatile Napari plugin designed for comprehensive, accurate, and unbiased spatial quantification and prediction of senescence markers across diverse tissue contexts.

Features

  • Multi-Model Segmentation: Nuclear and cytoplasmic segmentation with 5 built-in models
    • StarDist ONNX (2D/3D)
    • Cellpose SAM
    • Morphological operations (dilation, perinuclear rings)
  • Spot Detection: Detect and quantify punctate senescence markers
    • Undecimated B3-spline wavelet (UDWT)
    • Rotational morphological processing (RMP)
  • Quantification: Extract intensity, morphology, and spot metrics
    • Per-cell marker intensities
    • Morphological descriptors
    • Spot counting and colocalization
  • Batch Processing: Automated analysis of entire image folders
    • Profile save/load for reproducibility
    • Multi-scene file support
  • File Format Support: Microscopy formats via BioIO
    • OME-TIFF, ND2, LIF, CZI, Zarr, and more

Installation

Prerequisites

SenoQuant requires Python 3.11+ and napari:

conda create -n senoquant python=3.11
conda activate senoquant
pip install "napari[all]"

Or using uv (faster installer):

conda create -n senoquant python=3.11
conda activate senoquant
pip install uv
uv pip install "napari[all]"

Install SenoQuant

pip install senoquant

Or with uv:

uv pip install senoquant

Model files are downloaded automatically on first use from Hugging Face. To override the model repository, set SENOQUANT_MODEL_REPO environment variable.

For GPU acceleration (Windows/Linux with CUDA):

pip install senoquant[gpu]

Note: The first launch of napari and the SenoQuant plugin will be slower as napari initializes and SenoQuant downloads model files (~1.3 GB) from Hugging Face. Subsequent launches will be faster as models are cached locally.

Quick Start

  1. Launch napari and open your image:

    napari
    

    File → Open File(s)... → Select your image

  2. Open SenoQuant plugin:
    Plugins → SenoQuant

  3. Run segmentation:
    Segmentation tab → Select nuclear channel → Choose model → Run

  4. Detect spots (optional):
    Spots tab → Select channel → Choose detector → Run

  5. Export quantification:
    Quantification tab → Configure features → Export

  6. Batch process (optional):
    Batch tab → Configure settings → Run Batch

Documentation

Full documentation is available at https://haamsree.github.io/senoquant-dev/

Development

See the Contributing Guide for development setup instructions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

senoquant-1.0.0b1-py3-none-any.whl (334.9 kB view details)

Uploaded Python 3

File details

Details for the file senoquant-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: senoquant-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 334.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for senoquant-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 800e7636d676ee53b4c1ef269aefe5dd030b1e61cda14ba2135f08fbe5d2c02e
MD5 2d1cab04db07207c2cad672494ef4fcc
BLAKE2b-256 5bf97fdcf9cad1113a5c146419e3256b6f1a94fd99ed281553d7533d12fa16d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for senoquant-1.0.0b1-py3-none-any.whl:

Publisher: publish-pypi.yml on HaamsRee/senoquant-dev

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page