Skip to main content

k-NN-based mapping of cells across representations

Project description

CellMapper

Tests Coverage Pre-commit.ci

k-NN-based mapping of cells across representations to tranfer labels, embeddings and expression values. Works for millions of cells, on CPU and GPU, across molecular modalities, between spatial and non-spatial data, for arbitrary query and reference datasets. Using faiss to compute k-NN graphs, CellMapper takes about 30 seconds to transfer cell type labels from 1.5M cells to 1.5M cells on a single RTX 4090 with 60 GB CPU memory.

Getting started

Please refer to the [documentation][], in particular, the API documentation.

Installation

You need to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing uv.

There are several alternative options to install cellmapper:

  1. Install the latest development version:
pip install git+https://github.com/quadbio/cellmapper.git@main

Release notes

See the changelog.

Contact

If you found a bug, please use the issue tracker.

Citation

Please cite this GitHub repo if you find CellMapper useful for your research.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cellmapper-0.0.1.tar.gz (45.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cellmapper-0.0.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file cellmapper-0.0.1.tar.gz.

File metadata

  • Download URL: cellmapper-0.0.1.tar.gz
  • Upload date:
  • Size: 45.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cellmapper-0.0.1.tar.gz
Algorithm Hash digest
SHA256 38876bd063e6e1f6e5a14959280ff40956b9ec7d382d487f4c5c16b0c3b62e39
MD5 e2974d536e61814f417d758767b054d3
BLAKE2b-256 405d02334a4fa92fdeead02813eb63d6fb1805c3c2a1b70bec04296858542ade

See more details on using hashes here.

Provenance

The following attestation bundles were made for cellmapper-0.0.1.tar.gz:

Publisher: release.yaml on quadbio/cellmapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cellmapper-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cellmapper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cellmapper-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 463fe1133d97c2436415531799640632a9339d925a7529b1fb6cbb1f8b85ff54
MD5 a5b6b1316ad099e644dda3c334f4b939
BLAKE2b-256 b207fdd2d40f64f298e461abc41e75a2dcfd725cde1e987eaafeb90ebc60a0ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for cellmapper-0.0.1-py3-none-any.whl:

Publisher: release.yaml on quadbio/cellmapper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page