Skip to content

scbix

scbix brings Rust implementations of single cell methods to AnnData, in memory and scanpy style: sb.tl.umap(adata) writes where sc.tl.umap(adata) would, so the rest of your scanpy workflow doesn't notice.

scbix works on data that fits in memory. For atlas-scale data, bixverse runs the same Rust core out of core from an on-disk store, reads h5ad and Zarr directly and writes results back to h5ad.

What's in

function from extra status
tl.umap, tl.tsne manifolds-rs manifolds shipped
tl.nebula edge-rs nebula shipped
tl.sanity, tl.bonsai bonsai-rs bonsai shipped
tl.scdblfinder bixverse none shipped
tl.seacells bixverse none shipped

The re-exported functions are the sibling package's own: same signature, same docstring, maintained there.

Install

uv add scbix                 # scDblFinder and SEACells
uv add 'scbix[manifolds]'    # UMAP and t-SNE
uv add 'scbix[nebula]'       # NEBULA, Python 3.11 or later
uv add 'scbix[bonsai]'       # Sanity and Bonsai
uv add 'scbix[all]'          # everything

Call a function without its extra and you get an ImportError naming it. edge-rs needs Python 3.11, so on 3.10 the nebula extra installs nothing and sb.tl.nebula says why.

Quick start

import scanpy as sc
import scbix as sb

adata = sc.datasets.pbmc3k_processed()
sb.tl.umap(adata)
sc.pl.umap(adata, color="louvain")

More in the embeddings and doublets and metacells vignettes. The re-exported tools have theirs upstream: NEBULA, Sanity and Bonsai and manifolds-rs.