GPU-accelerated single-cell integration benchmarking metrics using RAPIDS (cuML, CuPy)
Project description
scib-rapids
GPU-accelerated metrics for benchmarking single-cell integration outputs using RAPIDS (cuML, CuPy).
This package provides the same metrics as scib-metrics but replaces JAX with RAPIDS (CuPy, cuML) for GPU acceleration. All implementations leverage CuPy for device-level computation on NVIDIA GPUs.
Metrics
- Silhouette:
silhouette_label,silhouette_batch,bras - LISI:
lisi_knn,ilisi_knn,clisi_knn - kBET:
kbet,kbet_per_label - Clustering:
nmi_ari_cluster_labels_kmeans,nmi_ari_cluster_labels_leiden - Graph connectivity:
graph_connectivity - Isolated labels:
isolated_labels - PCR comparison:
pcr_comparison
Getting started
Please refer to the documentation.
Installation
You need to have Python 3.11 or newer and a CUDA-capable GPU.
We recommend installing rapids-singlecell and scib-rapids using uv pip rather than conda, as conda often causes dependency conflicts (e.g. cupy vs cupy-cuda12x).
uv pip install rapids-singlecell scib-rapids
Alternatively, install the latest development version:
uv pip install rapids-singlecell git+https://github.com/maarten-devries/scib-rapids.git@main
Release notes
See the changelog.
Contact
For questions and help requests, you can reach out in the scverse Discourse. If you found a bug, please use the issue tracker.
Citation
If you use scib-rapids, please cite the original single-cell integration benchmarking work:
@article{luecken2022benchmarking,
title={Benchmarking atlas-level data integration in single-cell genomics},
author={Luecken, Malte D and B{\"u}ttner, Maren and Chaichoompu, Kridsadakorn and Danese, Anna and Interlandi, Marta and M{\"u}ller, Michaela F and Strobl, Daniel C and Zappia, Luke and Dugas, Martin and Colom{\'e}-Tatch{\'e}, Maria and others},
journal={Nature methods},
volume={19},
number={1},
pages={41--50},
year={2022},
publisher={Nature Publishing Group}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scib_rapids-0.2.0.tar.gz.
File metadata
- Download URL: scib_rapids-0.2.0.tar.gz
- Upload date:
- Size: 42.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76c04cbec44a9128b8597304fbcbda40e34897e17cd9a47cae980fdb4e36f600
|
|
| MD5 |
ec7fdd2d133ddda89cf4295c28810117
|
|
| BLAKE2b-256 |
fa9ad9fbff1dd9f53c04ea06e31fb632063ce312a1f65c8c4e8e262e5999301e
|
Provenance
The following attestation bundles were made for scib_rapids-0.2.0.tar.gz:
Publisher:
release.yaml on maarten-devries/scib-rapids
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scib_rapids-0.2.0.tar.gz -
Subject digest:
76c04cbec44a9128b8597304fbcbda40e34897e17cd9a47cae980fdb4e36f600 - Sigstore transparency entry: 1280903724
- Sigstore integration time:
-
Permalink:
maarten-devries/scib-rapids@208f2e3a25f6e8ce16d3f30331c517fce01899de -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/maarten-devries
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@208f2e3a25f6e8ce16d3f30331c517fce01899de -
Trigger Event:
release
-
Statement type:
File details
Details for the file scib_rapids-0.2.0-py3-none-any.whl.
File metadata
- Download URL: scib_rapids-0.2.0-py3-none-any.whl
- Upload date:
- Size: 27.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc30c9fcd031f06c1c4adf7996c5cd0f8b0c27935004e5520c5665ab79ceffc9
|
|
| MD5 |
6fd36a4444690001ca9e99bb2906e56a
|
|
| BLAKE2b-256 |
62d9b38af56db62edbb4a7b37f90e97a2528e9add2671f010c5621cd20e342e1
|
Provenance
The following attestation bundles were made for scib_rapids-0.2.0-py3-none-any.whl:
Publisher:
release.yaml on maarten-devries/scib-rapids
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scib_rapids-0.2.0-py3-none-any.whl -
Subject digest:
dc30c9fcd031f06c1c4adf7996c5cd0f8b0c27935004e5520c5665ab79ceffc9 - Sigstore transparency entry: 1280903726
- Sigstore integration time:
-
Permalink:
maarten-devries/scib-rapids@208f2e3a25f6e8ce16d3f30331c517fce01899de -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/maarten-devries
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@208f2e3a25f6e8ce16d3f30331c517fce01899de -
Trigger Event:
release
-
Statement type: