Skip to main content

Stars PyPI Total downloads Monthly downloads

PIASO

Precise Integrative Analysis of Single-cell Omics

PIASO is a Python and Rust toolkit for single-cell omics (scRNA-seq, scATAC-seq and spatial transcriptomics), covering the analysis from raw counts through to the figures in a paper. Performance-critical routines are implemented in Rust.

Installation

Install from PyPI (stable release):

pip install piaso-tools

PIASO needs Python 3.10 or later. Pre-compiled wheels are built for Linux on x86_64, CPython 3.10, 3.11 and 3.12, and there pip install has nothing to build. On any other platform or Python (macOS, Windows, Linux on ARM, Python 3.13 or later), pip builds PIASO from its source distribution, which needs a Rust toolchain and a C compiler; without them the installation stops with a build error.

This also installs cytome, the on-disk dataset format PIASO reads and writes. Nothing extra to install to work with .cytome files.

Install from GitHub (latest development version; builds from source, so it needs Rust on every platform):

pip install git+https://github.com/genecell/PIASO.git

Install from Bioconda (built for Linux on x86_64 and ARM and for macOS on Intel and Apple silicon; a new release arrives a few days after PyPI, and conda search -c conda-forge -c bioconda piaso shows the version it has):

conda install -c conda-forge -c bioconda piaso

Documentation

piaso.org: tutorials, API reference and release notes.

Using PIASO with a coding agent

PIASO-for-agents makes the PIASO ecosystem available to coding agents from one canonical knowledge base, generating Claude skills, Cursor rules, AGENTS.md, llms.txt, and an MCP server. Useful if you work in Claude Code, Cursor, Copilot, Codex, Windsurf, Cline, or Aider and want the agent to know the current API rather than guess it.

Any model with web access can be pointed straight at:

https://piaso.org/llms.txt
https://piaso.org/llms-full.txt

A first analysis

import piaso, cosg

piaso.tl.infog(adata, n_top_genes=3000)                       # normalize + select
piaso.tl.runSVD(adata, layer="infog", n_components=50, key_added="X_svd")
piaso.tl.neighbors(adata, use_rep="X_svd"); piaso.tl.leiden(adata)
piaso.tl.umap(adata, use_rep="X_svd")
cosg.cosg(adata, groupby="leiden")                            # marker genes
piaso.pl.embedding(adata, color="leiden")

That whole workflow runs on a plain pip install piaso-tools, with no scanpy required.

Who this is for

  • You have a single-cell dataset and want an analysis, not a toolchain. Reading, QC, normalization, dimensionality reduction, clustering, marker genes, annotation and plotting are one package with one set of conventions.
  • Your data outgrew memory. The same function calls run on an AnnData in RAM or stream from a cytome file on disk, where peak memory is set by the batch size instead of the cell count. Validated to several million cells.
  • You care what the figure looks like. The plotting suite and piaso.settings are built for publication figures rather than for quick looks.
  • You work with a coding agent. The API is published in an agent-readable form (see above), so the agent works from the current signatures.

If you only need one method, the pieces are usable on their own: cosg for markers, cytome for storage.

The ecosystem

PIASO is the analysis layer of a small set of packages that fit together, and each is useful alone:

PIASO analysis: normalization, dimensionality reduction, clustering, annotation, plotting
cytome · cytome-r a single-file format for single-cell multi-omics; what PIASO streams from · the same files from R
COSG fast, accurate marker gene and marker region identification
cytorete cell type-specific gene regulatory networks: regulons, their activity and their specificity
PIASO-data genome references and tutorial datasets, fetched and cached on demand
PIASO-for-agents the ecosystem in a form coding agents can read
LARIS · Emergene spatial ligand-receptor analysis · per-cell differential analysis across conditions

Contributing

Issues and pull requests are welcome at github.com/genecell/PIASO. Bug reports are most useful with the output of piaso.__version__ and a minimal example.

Citation

If PIASO is useful for your research, please consider citing Wu, S.J., Dai, M. et al. Pyramidal neurons proportionately alter cortical interneuron subtypes. Nature (2026). https://doi.org/10.1038/s41586-025-09996-8

Contact

Min Dai dai@broadinstitute.org

Metadata

Release files for piaso-tools 1.2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piaso-tools 1.2.9
File Size Uploaded Provenance Actions
piaso_tools-1.2.9.tar.gz 1.0 MB With provenance Details for piaso_tools-1.2.9.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for piaso-tools 1.2.9
File Interpreter ABI Platform Actions
piaso_tools-1.2.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for piaso_tools-1.2.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
piaso_tools-1.2.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for piaso_tools-1.2.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
piaso_tools-1.2.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for piaso_tools-1.2.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Total release size: 9.8 MB

Release files / piaso_tools-1.2.9.tar.gz

Download URL piaso_tools-1.2.9.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
abe74e6c73986b2cc331bb2c83dd60a86831bd6cbc3a22c0e5bf7a5534330bc6
BLAKE2b-256 checksum
How to use checksums
ab5c2a6d966db033b7319386eaa4758a86f2128933b2f1a4e5fdabc12d9f4d6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / piaso_tools-1.2.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL piaso_tools-1.2.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.9 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
3d0c6208a8bfa0a1551dce8dcd66f48da5aa72b2508c635dbc63b32bcab1802e
BLAKE2b-256 checksum
How to use checksums
ffa11da01b11d50aa2b671663e0b5666b10ccaf6245c20d99fe87ade028576bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / piaso_tools-1.2.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL piaso_tools-1.2.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.9 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d9fd11e233603edb8cd8a1d324135385ed85ec9bd14ce01d841e1a0158d2ba76
BLAKE2b-256 checksum
How to use checksums
accc0b222bacfe2626bbfb465015e989dbd03a26eab998174e5b3fa49e700216
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / piaso_tools-1.2.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL piaso_tools-1.2.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.9 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
dd55df8bba19df80ddabdc257a5552f4194ef844bd5f13b12c6b2a1d2db9d131
BLAKE2b-256 checksum
How to use checksums
609fb83714d2cdc95d5c4cbeb649e2d4170cc36b48feee85ab00848d3213f320
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for piaso-tools 1.2.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for piaso_tools-1.2.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page