Skip to main content

ACE-OF-Clust (ace-of-clust)

ACE-OF-Clust (Alignment, Comparison, and Evaluation of Omics Features in Clustering) is a Python package built on top of clumppling that streamlines clustering-alignment workflows and supports downstream comparisons, summaries, and feature-level analyses for single-cell omics clustering results.

  • PyPI name (install): ace-of-clust
  • Python import (module): ace_of_clust
  • Current Version: 0.3.2
  • Last Update: Nov 2026

Tutorials and API reference: documentation site.

Preprint

Liu, X., et al. (2026). Systematic clustering alignment and feature characterization for single-cell omics using ACE-OF-Clust. https://doi.org/10.64898/2026.03.09.710668

Installation

pip install ace-of-clust

Optional, to repel overlapping labels in some plots:

pip install "ace-of-clust[adjusttext]"

Quickstart

import ace_of_clust as aoc

cls_dir = "path/to/clustering_results"   # one .Q file per run (plus .P for mixed membership)
align_dir = "path/to/alignment_results"

aoc.run_clumppling(input_dir=cls_dir, output_dir=align_dir, fmt="generalQ", extension=".Q", vis=False)
results = aoc.load_clumppling_results(align_dir=align_dir, suffix="rep", cls_dir=cls_dir, load_P=True)

fig, axes = aoc.plot_cluster_overlay(results, coords=X_coords, val_threshold=0.5)

X_coords holds 2D coordinates of the data points (e.g. UMAP). See the documentation site for model comparison with compModels and feature analysis.

Reproducing Examples

The examples reproduce the figures in the paper. Install the package if you just want to use the tool, and clone this repository for examples/ if you want to look at the data examples used in the paper.

The raw 10x Genomics datasets below are free to download after registering on the 10x Genomics website.

Toy example

  • examples/toy_example.ipynb: walkthrough on simulated data
  • examples/prep_toy/generate_toy.ipynb: generates the toy data

PBMC3k scRNA-seq

  • Raw data: 3k PBMCs from a Healthy Donor (10x Genomics)
  • examples/pbmc3k_scRNAseq_clumppling.py: Clumppling alignment of hard-clustering results
  • examples/pbmc3k_scRNAseq_compModels.py: comparison across models
  • examples/pbmc3k_scRNAseq_hc_aligned.ipynb: analysis of aligned hard-clustering results
  • examples/pbmc3k_scRNAseq_gs.ipynb and examples/run_gene_set_analysis.py: gene set analysis of mixed-membership results

HBC spatial transcriptomics (data not included)

PBMC10k Multiome (data not included)

Clustering and alignment scripts

  • examples/run_scanpy_clustering.py, examples/run_seurat_clustering.R, examples/run_fasttopics_clustering.R: clustering with Scanpy, Seurat and fastTopics
  • examples/scripts/new/: bash scripts for clustering, Clumppling, compModels and gene set analysis on any data

Bug Reports and Feedback

If you encounter any issues using the tool, have suggestions for additional functions to include in the package, or have general feedback on our method, please contact the author at xiran_liu1 at brown dot edu.

Metadata

Release files for ace-of-clust 0.3.2

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

Source distribution (sdist)

Source distribution for ace-of-clust 0.3.2
File Size Uploaded Provenance Actions
ace_of_clust-0.3.2.tar.gz 89.1 kB Without provenance Details for ace_of_clust-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ace-of-clust 0.3.2
File Interpreter ABI Platform Actions
ace_of_clust-0.3.2-py3-none-any.whl Python 3 none any Details for ace_of_clust-0.3.2-py3-none-any.whl

Total release size: 183.2 kB

Release files / ace_of_clust-0.3.2.tar.gz

Download URL ace_of_clust-0.3.2.tar.gz
Size 89.1 kB
Tags Source
SHA-256 checksum
How to use checksums
55ac735c395ba6c3425b1f7fdb78e6cd3124cdce4c88ae2852e81976dcf874fe
BLAKE2b-256 checksum
How to use checksums
1f094c53675b70333d64966bba867d5e47b844d06972535e3b7cf5c8b419635d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.4 Darwin/25.5.0

Release files / ace_of_clust-0.3.2-py3-none-any.whl

Download URL ace_of_clust-0.3.2-py3-none-any.whl
Size 94.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c59fe61a10d5d3ab65705309684afe312c9828f15deaf51b54b88f1919dd58d
BLAKE2b-256 checksum
How to use checksums
649206f281816ba8b2c5c23600c77f78b9a92180315a03569047968c305935c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.4 Darwin/25.5.0

Security for ace-of-clust 0.3.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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