Skip to main content

Tests PyPI Docs License: MIT

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

scbix is on PyPI with prebuilt wheels for Python 3.10 and later:

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

or with pip:

pip install scbix
pip install 'scbix[all]'

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.

From source, with a Rust toolchain:

git clone https://github.com/GregorLueg/scbix && cd scbix
uv sync
uv run maturin develop --release

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.1

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.1
File Actions
scbix-0.1.1-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.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
scbix-0.1.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for scbix-0.1.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
scbix-0.1.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for scbix-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
scbix-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for scbix-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 8.9 MB

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

Download URL scbix-0.1.1-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
fbb575fbe7ec1e6af6a2f4262dc0a03b2a927022b0608b5364f153072ed724ed
BLAKE2b-256 checksum
How to use checksums
1c8269397416f998b1a74e8d0e39b492454adc31f0685be3582bbbea088671d7
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.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL scbix-0.1.1-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
1a9c3b363266b83cdd362d9bcbb85723905e8bd56fd69f05eb3b116f4ebe039f
BLAKE2b-256 checksum
How to use checksums
f7e5151b0605808d43129afef05eb9c8e5f024654976095d79a03eef7becf368
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.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL scbix-0.1.1-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
b0e16db6bb522f0ae953616c76ac344c0acb5fe53a978885b88e2b7059cd045f
BLAKE2b-256 checksum
How to use checksums
e73e46e7d237f8687a42d058d674ceeaa0009953ac22a5cf6204793a40abfb95
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.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL scbix-0.1.1-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
8a505f1491b5f9dd69af4f666b3544c6b45f84d261ef6adb212490ac8123b9d9
BLAKE2b-256 checksum
How to use checksums
c4669a7fd30938aa52e4ca4ab3561a71c7c33143fafdf103bb3eb9f80717e72b
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.1

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.1-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.1 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