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; pre-compiled wheels ship for Linux, macOS (Intel and Apple Silicon) and Windows, so there is nothing to build.
Installation
Install from PyPI (stable release):
pip install piaso-tools
This also installs cytome, the on-disk
dataset format PIASO reads and writes. Nothing extra to install to work with
.cytome files.
Install from bioconda (stable release):
conda install -c conda-forge -c bioconda piaso
Install from GitHub (latest development version):
pip install git+https://github.com/genecell/PIASO.git
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
AnnDatain 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.settingsare 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.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| piaso_tools-1.2.5.tar.gz | 681.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| piaso_tools-1.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
| piaso_tools-1.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| piaso_tools-1.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 7.4 MB
Release files / piaso_tools-1.2.5.tar.gz
| Download URL | piaso_tools-1.2.5.tar.gz |
|---|---|
| Size | 681.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ea169a47d63a9ab1f05bf7dbdc367edbe39693c4086f9e828e5ca756449251c
|
|
BLAKE2b-256 checksum How to use checksums |
0179bf5251cf9b9b0abe5d375e45b79a51ef79200471cdfa085526d173809975
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 23, 2026.
Transparency logRelease files / piaso_tools-1.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | piaso_tools-1.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fa7c8d8ef2e7de86e44984d0f89db36048edb5f2e0ebe114daf01d87e998a473
|
|
BLAKE2b-256 checksum How to use checksums |
640ed1931454a5f8ef92f656e4f694322bf7b55205e1025df84a44d5bf5cd0d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 23, 2026.
Transparency logRelease files / piaso_tools-1.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | piaso_tools-1.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ba8034dff46c0bfcdee523306a90fc0e140e8313276def807a1562ff22740ac
|
|
BLAKE2b-256 checksum How to use checksums |
2a78797a26700de1b3eba856de73c14a13b7d07666a3ff0f24d8e878acdf2dba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 23, 2026.
Transparency logRelease files / piaso_tools-1.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | piaso_tools-1.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0cb96ff11828fbab36015e7fdc5f27e0722343bff4a9d8cf01cf9e333f82df73
|
|
BLAKE2b-256 checksum How to use checksums |
45c3897205ca7387fa32cc6057ddd33050fa8f0fb27eb82e823064daa8164c1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 23, 2026.
Transparency log