A tool to annotate cell types
Project description
CellAnnotator
A tool to annotate cell types based on marker genes using OpenAI models.
Key features
- Automatically annotate cells including type, state and confidence fields.
- Generate consistent annotations across samples of your study.
- Optionally infuse prior knowledge by providing information about your biological system.
- Retrieve reliable results thanks to OpenAI structured outputs
- Use pre-integration cell type labels to either score your integration quality (e.g. scIB metrics) or to guide your integration effort (e.g. scPoli, scANVI)
Installation
You need to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.
- Install the latest development version:
pip install git+https://github.com/quadbio/cell-annotator.git@main
Getting started
After installation, head over to OpenAI to generate your API key
Keep this key private and don't share it with anyone. CellAnnotator will try to read the key as an environmental variable - either expose it to the environment yourself, or store it as an .env file anywhere within the repository where you conduct your analysis and plan to run CellAnnotator. The package will then use dotenv to export the key from the env file as an environmental variable.
Credits
This tool was inspired by Hou et al., Nature Methods 2024 and https://github.com/VPetukhov/GPTCellAnnotator.
Contact
If you found a bug, please use the issue tracker.
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
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 cell_annotator-0.1.1.tar.gz.
File metadata
- Download URL: cell_annotator-0.1.1.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21cd2f9730d06fc9ab6b73aeba39890d5deee5bc364aa5a1bc5b6d0999b0f2ad
|
|
| MD5 |
8bdd7dcc85d0af0e427408e89e7c149c
|
|
| BLAKE2b-256 |
3eaa3c64acd64b386d50d435ef398c2bcc87525a69527d027b984a5ed52d2bfa
|
Provenance
The following attestation bundles were made for cell_annotator-0.1.1.tar.gz:
Publisher:
release.yaml on quadbio/cell-annotator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cell_annotator-0.1.1.tar.gz -
Subject digest:
21cd2f9730d06fc9ab6b73aeba39890d5deee5bc364aa5a1bc5b6d0999b0f2ad - Sigstore transparency entry: 166701733
- Sigstore integration time:
-
Permalink:
quadbio/cell-annotator@13f025a67bdbf65f41cab7f0dc801094f1b60735 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/quadbio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@13f025a67bdbf65f41cab7f0dc801094f1b60735 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cell_annotator-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cell_annotator-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6cf8dd550642ab56034e896b1eec9b1940ddbac0d69cca4ce51862ecc4d5b62
|
|
| MD5 |
f2048e50beb58e3c12b4052a3f75be6d
|
|
| BLAKE2b-256 |
745057feddc84d2adaf387f2581a0dcfde00d65f0cf5dfae454a770ee24d512f
|
Provenance
The following attestation bundles were made for cell_annotator-0.1.1-py3-none-any.whl:
Publisher:
release.yaml on quadbio/cell-annotator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cell_annotator-0.1.1-py3-none-any.whl -
Subject digest:
e6cf8dd550642ab56034e896b1eec9b1940ddbac0d69cca4ce51862ecc4d5b62 - Sigstore transparency entry: 166701735
- Sigstore integration time:
-
Permalink:
quadbio/cell-annotator@13f025a67bdbf65f41cab7f0dc801094f1b60735 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/quadbio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@13f025a67bdbf65f41cab7f0dc801094f1b60735 -
Trigger Event:
release
-
Statement type: