Skill / SKILL.md

Alterlab Histolab

AlterLab-IEU/AlterLab-Academic-Skills

Extract and preprocess tiles from whole-slide images (WSI) with histolab — OpenSlide-backed slide loading, tissue detection and masks, Random/Grid/Score tile extraction, and image/morphological filters for H&E preprocessing. Use when the user needs lightweight WSI slide preprocessing — building tile datasets for ML training, tissue segmentation, or quick tile-based inspection of histopathology slides. For end-to-end computational-pathology, deep-learning model training, nucleus segmentation, or multiplexed/spatial-proteomics (CODEX, Vectra) pipelines prefer alterlab-pathml instead. Part of the AlterLab Academic Skills suite.
2 views 86 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Extract and preprocess tiles from whole-slide images (WSI) with histolab — OpenSlide-backed slide loading, tissue detection and masks, Random/Grid/Score tile extraction, and image/morphological filters for H&E preprocessing. Use when the user needs lightweight WSI slide preprocessing — building tile datasets for ML training, tissue segmentation, or quick tile-based inspection of histopathology slides. For end-to-end computational-pathology, deep-learning model training, nucleus segmentation, or multiplexed/spatial-proteomics (CODEX, Vectra) pipelines prefer alterlab-pathml instead. Part of the AlterLab Academic Skills suite.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/AlterLab-IEU/AlterLab-Academic-Skills' skill-source

Use the complete skill-source/skills/bioinformatics/alterlab-histolab directory with your client’s skill installer.

  • skills/bioinformatics/alterlab-histolab

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/bioinformatics/alterlab-histolab

Compatibility & requirements

Declared compatibility

Runs under `uv run python` with histolab 0.7.0 (still the latest release, Feb 2024) in a **dedicated environment**: it requires Python >= 3.8, < 3.12 and pins numpy <= 1.24.4, scipy < 1.10.1, scikit-image < 0.19.4 and openslide-python 1.3.1 — it will not co-install with a modern numpy 2.x / Python 3.12+ stack. The OpenSlide C library must also be present (`uv pip install openslide-bin`, or `brew install openslide` / `apt install libopenslide0`). No API key or account required.

Declared tools

Read Write Edit Bash(python:*) Bash(uv:*)

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
57af2fb50172bed4b563d54d3c7e44e9f3d82ba4e61df430cb04f87a763ff689
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills