A metric for the evaluation of single-cell query-to-reference mappings
Project description
mapQC
A metric for the evaluation of single-cell query-to-reference mappings
Getting started
Please refer to the documentation, in particular, the API documentation for detailed package documentation. For reproduction of the results in the paper, check out the mapQC reproducibility repository.
Below a few notes on how and when to use mapQC:
What does mapQC do?
MapQC evaluates the quality of a query-to-reference mapping, and outputs a cell-level mapQC score for every query cell. MapQC scores higher than 2 indicate a large distance of the query cell to the reference. Given a healthy/control reference, we expect query controls to have low mapQC scores, and query case/disease cells to have higher mapQC scores in the case of case-specific cellular phenotypes. You can thus use mapQC scores to assess, in a quantitative manner, if your mapping was successful.
Overview of mapQC's workflow
What are the data requirements for using mapQC?
In short, you need one AnnData object, including:
- A large scale reference, including only its healthy/control cells.
- A mapped query dataset, with healthy/control cells (must-have) and case/perturbed cells (if you have them).
- Metadata (query/reference status, study, sample, and optionally clustering and cell type annotations)
- A mapping-derived embedding including both the reference and the query
In the quick-start tutorial notebook we provide a more extensive description of the exact data requirements.
Installation
You need to have Python 3.10 or newer installed on your system.
There are several alternative options to install mapQC:
- Install the latest release of
mapqcfrom PyPI:
pip install mapqc
- Install the latest development version:
pip install git+https://github.com/theislab/mapqc.git@main
Release notes
See the changelog.
Contact
I am happy to hear any comments, suggestions, or even bugs that you run into. I would like to make this package run as smoothly as possible! So for any of these, submit an issue on the mapQC GitHub page and I will be glad to help.
Citation
Sikkema et al., bioRxiv 2025.
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 mapqc-0.1.1.tar.gz.
File metadata
- Download URL: mapqc-0.1.1.tar.gz
- Upload date:
- Size: 15.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10d10f2c3361286cdedee22370ffd5caff52c831aff37ac5e94a2510bf194dff
|
|
| MD5 |
0be982fd4897de1a0abd1f355676f2fc
|
|
| BLAKE2b-256 |
7f59e313d9ef9bb7e5048fd3fcda22b1f9c0881811ac28aac2347d4d25b0d936
|
Provenance
The following attestation bundles were made for mapqc-0.1.1.tar.gz:
Publisher:
release.yaml on theislab/mapqc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mapqc-0.1.1.tar.gz -
Subject digest:
10d10f2c3361286cdedee22370ffd5caff52c831aff37ac5e94a2510bf194dff - Sigstore transparency entry: 241085034
- Sigstore integration time:
-
Permalink:
theislab/mapqc@6bd3b3369277d6511980649c12e8ee0ec0419ad7 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/theislab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@6bd3b3369277d6511980649c12e8ee0ec0419ad7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mapqc-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mapqc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 40.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dba09a8a1efded58a49f669df44ce056398f8249f6c8699b2b1f2c9df7158a7f
|
|
| MD5 |
9e8ae534720b7a7884ed03bd07843da1
|
|
| BLAKE2b-256 |
5854c10575d657ccf6a067104e18cd0cb1187c8bb469aa604b1435a846f33651
|
Provenance
The following attestation bundles were made for mapqc-0.1.1-py3-none-any.whl:
Publisher:
release.yaml on theislab/mapqc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mapqc-0.1.1-py3-none-any.whl -
Subject digest:
dba09a8a1efded58a49f669df44ce056398f8249f6c8699b2b1f2c9df7158a7f - Sigstore transparency entry: 241085043
- Sigstore integration time:
-
Permalink:
theislab/mapqc@6bd3b3369277d6511980649c12e8ee0ec0419ad7 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/theislab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@6bd3b3369277d6511980649c12e8ee0ec0419ad7 -
Trigger Event:
release
-
Statement type: