alterlab-pathml

Run end-to-end computational pathology workflows from image loading to ML deployment.

58|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-pathml
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alterlab-pathml
Source: https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/bioinformatics/alterlab-pathml
Command: npx skills add https://github.com/AlterLab-IEU/AlterLab-Academic-Skills --skill alterlab-pathml

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PathML-based toolkit for end-to-end computational pathology workflows, unifying image loading, preprocessing, segmentation, graph construction, and ML deployment into a modular framework.

Core Features & Use Cases

  • End-to-end PathML pipelines for loading, preprocessing, segmentation, graph analysis, and model inference.
  • Multiparametric imaging support (CODEX, Vectra, MERFISH) with integrated QC and data management.
  • Scalable processing for large whole-slide datasets via tile-based processing, distributed computing, and HDF5/AnnData export.
  • Real-world use case: construct cell graphs from tissue sections and run ML models to classify cell types.

Quick Start

Load a pathology slide, apply a predefined PathML pipeline, and export results to disk.

Frequently Asked Questions about alterlab-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?

An end-to-end computational pathology workflow unifies image loading, preprocessing, segmentation, graph construction, and ML model inference into a modular framework. PathML pipelines process large pathology datasets using tile-based processing and export results to HDF5 or AnnData formats.

Can I process multiparametric imaging data like CODEX or MERFISH in a pathology pipeline?

Multiparametric imaging support for CODEX, Vectra, and MERFISH is integrated into the computational pathology workflow. The framework provides quality control and data management for multiparametric imaging alongside standard whole-slide image processing.

What Python libraries do I need to run PathML graph analysis on tissue sections?

Running PathML graph analysis requires Python and PathML, with optional libraries including PyTorch, OpenSlide, h5py, and AnnData. These dependencies support scalable tile-based processing, graph construction, and HDF5 or AnnData export for large pathology datasets.

What is the best way to classify cell types from tissue section graphs in computational pathology?

The best way to classify cell types is constructing cell graphs from tissue sections and running ML models for inference. This computational pathology approach uses PathML pipelines to segment cells, build graphs, and deploy models for classification tasks.

Does this computational pathology framework support scalable analysis for large whole-slide datasets?

Scalable analysis for large whole-slide datasets is supported through tile-based processing and distributed computing. The PathML workflow enables efficient handling of large pathology images and exports results to HDF5 or AnnData formats for downstream use.

How do I load and preprocess pathology slides before running ML model inference?

Loading and preprocessing pathology slides uses predefined PathML pipelines that handle image loading and preprocessing steps. After applying the pipeline, results can be exported to disk for subsequent segmentation, graph construction, and ML model deployment.