Skip to main content

k-NN-based mapping of cells across representations

Project description

CellMapper

Tests Coverage Pre-commit.ci PyPI

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.1.1.tar.gz (45.2 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.1.1-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cellmapper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cc8a94784be0c727855572bc5f30004b8a8aa6c39a63476faf84b6d84e8816bb
MD5 654f46b8e6e5191c359e447a9b441577
BLAKE2b-256 0f38238fbccfa9727ba810d0b98a9266616a21a3bda686136e7d670d7e77719c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cellmapper-0.1.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.1.1-py3-none-any.whl.

File metadata

  • Download URL: cellmapper-0.1.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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a1def8d9f14eb24067d996332b1598bd16bbd486e13aa17a1e9d80b2006e359
MD5 2c4407eced6f193434340b4ff423e604
BLAKE2b-256 f632cbd5499f173d8971de5bc080c21d2a8cbb67bb17b23cd8ab38843ccacce2

See more details on using hashes here.

Provenance

The following attestation bundles were made for cellmapper-0.1.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