Skip to content

Introduction#

cuisto is an open-source Python package aiming at facilitating the quantification of histological data, eg. the characterization of objects of interest in 2D images such as cells or neuronal processes revealed by immunohistochemistry or endogenously fluorescent proteins in brain slices.

It leverages QuPath measurements export to collate data from different slices and subjects, derive quantifying metrics within regions of interest, compute spatial distributions and generate graphs, featuring human-readable configuration files to easily customize cuisto behavior to best match your use-case.

Examples of graphs generated with cuisto

In theory, cuisto should work with any measurements table with the required columns, but has been designed with QuPath in mind, especially used alongisde ABBA to align 2D images on a reference brain atlas.

For atlas-related features, including ontology-based blacklisting and structures contours drawing for heatmaps, cuisto relies on the Brainglobe Atlas API, thus supporting all atlases packaged in Brainglobe.

After ABBA registration of 2D histological slices and QuPath objects' detection, cuisto is used to :

  • compute metrics, such as objects density in each brain regions,
  • compute objects distributions in three three axes (rostro-caudal, dorso-ventral and medio-lateral),
  • compute averages and sem across animals,
  • display all the above.

cuisto processing abilities revolve around two QuPath core concepts, Annotations (regions of interest) and Detections (objects of interest). The repository hosting the cuisto package provides QuPath utility scripts to help you process and format the data within QuPath before export.

Histological slices analysis pipeline

This documentation covers the whole process depicted above, including cuisto installation instructions, ABBA installation instructions, guides to prepare images for the pipeline, detect objects with QuPath, register 2D slices on a 3D atlas with ABBA, and cuisto usage along with examples.

Due to the IT environment of the laboratory, this documentation is very Windows-oriented but most of it should be applicable to Linux and MacOS as well by slightly adapting terminal commands.

Documentation navigation#

The documentation outline is on the left panel, you can click on items to browse it. In each page, you'll get the table of contents on the right panel.

Useful external resources#

Credits#

cuisto has been primarly developed by Guillaume Le Goc in Julien Bouvier's lab at NeuroPSI. The clever name was found by Aurélie Bodeau.

The documentation itself is built with MkDocs using the Material theme.