Skip to main content

scbix

scbix brings Rust implementations of single cell methods to AnnData, in memory and scanpy style: doublet detection via scDblFinder, SEACells metacells, UMAP and t-SNE from manifolds-rs, NEBULA from edge-rs and Sanity/Bonsai from bonsai-rs, with optional GPU acceleration via wgpu.

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.

Install

uv add scbix
uv add 'scbix[all]'  # include UMAP, t-SNE, NEBULA and Sanity/Bonsai

The base install includes NumPy, SciPy, AnnData, and tl.scdblfinder and tl.seacells. The extras pull in the sibling wheels:

extra adds from
manifolds tl.umap, tl.tsne manifolds-rs
nebula tl.nebula edge-rs, Python 3.11 or later
bonsai tl.sanity, tl.bonsai bonsai-rs

Accessing a function without its extra raises an ImportError naming the extra. On Python 3.10 the nebula extra installs nothing, since edge-rs needs 3.11.

Usage

Same slots as scanpy, so sc.pl.umap and friends work unchanged:

import scanpy as sc
import scbix as sb

adata = sc.datasets.pbmc3k_processed()
sb.tl.umap(adata)  # on the sc.pp.neighbors graph
sb.tl.tsne(adata, approx="fft")
sc.pl.umap(adata, color="louvain")

device="gpu" switches to the GPU estimators where the wheel was built with them. Everything else the manifolds-rs estimators take goes through as keyword arguments.

scbix.tl.scdblfinder accepts CSR and CSC raw counts and can score captures independently via group_by. Pass a ScdblfinderParams object through scdblfinder_params to configure the algorithm. See the API documentation.

Fit CPU SEACells on an AnnData embedding:

import scbix as sb

sb.tl.seacells(adata, seacells_params=sb.tl.SeacellsParams(n_sea_cells=500))

Assignments are stored in adata.obs["seacells"] and fit diagnostics in adata.uns["seacells"]. See the tools documentation.

NEBULA, Sanity and Bonsai are the sibling wheels' own AnnData functions. They read raw counts from adata.layers["counts"], leave adata alone and return a result object:

fit = sb.tl.nebula(adata, "donor", "~ condition", genes=hvgs)
res = fit.test(coef="condition[T.treated]")  # pandas frame, one row per gene

tree = sb.tl.bonsai(adata, layer="counts")
tree.to_newick()  # leaves labelled by obs_names

Docs

gregorlueg.github.io/scbix, with the API reference and vignettes.

Licence

MIT.

Metadata

Release files for scbix 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for scbix 0.1.0
File Actions
scbix-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for scbix-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
scbix-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for scbix-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
scbix-0.1.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for scbix-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
scbix-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for scbix-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 8.9 MB

Release files / scbix-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL scbix-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 2.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
f6f824b78653752a069f022c4a0724de39cd8936019acb14432d7248ca91979e
BLAKE2b-256 checksum
How to use checksums
bb0afc6ace622c31257cde4a4b31cb2a3570ba3f8d446de13235275ad9352d52
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 2, 2026.

Transparency log

Release files / scbix-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL scbix-0.1.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 2.1 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
ce5a29ecbe38749d947d0e7abef1bbfaf62a9f582e0490d2da9aaf4ae269fe48
BLAKE2b-256 checksum
How to use checksums
67a1271dfc0fdba23a94867473d8fa819c5f386854bed5baf8d4d719ba5a0c4c
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 2, 2026.

Transparency log

Release files / scbix-0.1.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL scbix-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Size 2.0 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
70db42f354599602b2a61db543f65e9a7578425cdb546c164a577d5aaec3adf8
BLAKE2b-256 checksum
How to use checksums
9847523f0907306d9ea74125166bca0718aeaa175ed2158e5871a6429509d255
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 2, 2026.

Transparency log

Release files / scbix-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL scbix-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 2.3 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ae375c1c5604ccb4370b9c29ef1b11eaf8bc9e5939fe381b2965e368a87bd5b9
BLAKE2b-256 checksum
How to use checksums
03b97a2c9730c5bb7ee95236fcaf07643efefe50114e5047fe9d6d72bc2a92df
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 2, 2026.

Transparency log

Security for scbix 0.1.0

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 scbix-0.1.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

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 2, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

4 release files Full provenance

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