pathml

Convert whole-slide and multiparametric pathology images into normalized tiles, masks, and model-ready datasets.

74|5|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/dralkh/seerai --skill pathml-dralkh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pathml
Source: https://github.com/dralkh/seerai/tree/main/skills/pathml
Command: npx skills add https://github.com/dralkh/seerai --skill pathml-dralkh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PathML removes the manual burden of analyzing large pathology and spatial biology datasets by turning raw slides and multiplex images into structured, machine-learning-ready outputs.

Core Features & Use Cases

  • Whole-slide image loading: Open and tile 160+ pathology formats for brightfield, DICOM, OME-TIFF, CODEX, and Vectra workflows.
  • Preprocessing pipelines: Normalize staining, detect tissue and nuclei, clean masks, and run quality-control transforms in reproducible sequences.
  • Spatial and ML workflows: Segment cells, quantify markers, build cell graphs, store results in HDF5, and train or deploy pathology models.
  • Use Case: A researcher can load a batch of slides, normalize H&E staining, segment cells in multiplex images, and export graph features for downstream analysis.

Quick Start

Use the pathml skill to load your pathology slides, run the appropriate preprocessing pipeline, and summarize the resulting masks, features, or cell data for downstream analysis.

Frequently Asked Questions about pathml

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I normalize staining and segment cells in whole-slide pathology images?

To normalize staining and segment cells, load whole-slide images, apply preprocessing pipelines for stain normalization and tissue detection, then run cell segmentation to export model-ready datasets.

What is the best way to process multiplex imaging data like CODEX and Vectra for spatial analysis?

Spatial analysis of CODEX and Vectra multiplex images involves marker quantification, spatial graph construction, and structured feature export for computational pathology workflows.

Does this pathology image pipeline support distributed batch processing for large-scale slide datasets?

Large-scale pathology slide batch processing uses Dask distributed execution to tile, normalize, and process over 160 slide formats into structured datasets efficiently.

Can I train PyTorch or ONNX models directly on pathology image datasets?

PyTorch and ONNX model training and inference are supported on HDF5 datasets generated from normalized tiles, tissue masks, and segmented cell graphs for pathology workflows.

What whole-slide image formats are supported for computational pathology preprocessing?

Computational pathology preprocessing supports 160-plus whole-slide formats including brightfield, DICOM, OME-TIFF, CODEX, and Vectra for tiling and stain normalization.