pathml

Provides modular tools for loading, preprocessing, analyzing graphs and ML on WSIs and multiplex imaging data for pathology workflows.

6|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill pathml-pur3v4d3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pathml
Source: https://github.com/pur3v4d3r/pur3-pkb-codebase/tree/main/.claude/skills/__scientific-skills/pathml
Command: npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill pathml-pur3v4d3r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PathML enables researchers and developers to build and deploy end-to-end computational pathology workflows, consolidating image loading, preprocessing, graph analytics, and machine learning for whole-slide images and multiplex imaging.

Core Features & Use Cases

  • Image loading across 160+ formats and multi-modal data (WSI, CODEX, Vectra, MERFISH)
  • Modular preprocessing pipelines and transform catalog for reproducible workflows
  • Spatial graph construction and analysis for cellular and tissue interactions
  • Built-in ML models for nucleus detection/segmentation and downstream analysis
  • CODEX, Vectra, and MERFISH data handling and quantification workflows
  • Efficient data management with HDF5 and batch processing

Quick Start

Install PathML, load a slide with SlideData.from_slide, and run a simple preprocessing pipeline to generate tiles and basic features.

Frequently Asked Questions about pathml

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

FAQPage Schema
How do I build an end-to-end computational pathology workflow for whole-slide images?

Build computational pathology workflows by loading whole-slide images, applying modular preprocessing pipelines, constructing spatial tissue graphs, and training machine learning models. PathML consolidates these steps from image loading through to model deployment.

What is the best way to preprocess and analyze CODEX and Vectra multiplex imaging data?

Analyze CODEX and Vectra multiplex imaging data using modular preprocessing pipelines, spatial graph construction, and built-in machine learning models. PathML supports these specific multiparametric formats alongside MERFISH for cellular and tissue interaction analysis.

Can I perform nucleus segmentation and tissue graph construction within a single pipeline?

Perform nucleus segmentation and tissue graph construction within a single pipeline using PathML. It provides built-in machine learning models for nucleus detection and spatial graph analysis tools to map cellular interactions directly from preprocessed image tiles.

Does this computational pathology tool support staining normalization across different image formats?

Staining normalization is supported across 160+ image formats for whole-slide and multiplex imaging. PathML enforces reproducible workflows through a modular transform catalog, ensuring consistent preprocessing before downstream graph analytics and model training.

How do I manage large multiparametric imaging datasets efficiently during model training?

Manage large multiparametric imaging datasets efficiently using HDF5-based data management and batch processing. PathML utilizes this approach to handle high-volume whole-slide images and multiplex data, enabling smooth machine learning model training and deployment.