This codebase contains the Python client library for using Cellarium Cell Annotation Service (CAS).
The cellarium-cas package officially supports Python versions between 3.7 and 3.12. We recommend using Python 3.10+.
You can install CAS from PyPI using pip. To install the latest version, please run the following command:
$ pip install cellarium-cas
To install a specific version version_number, you can use the following command:
$ pip install cellarium-cas==<version_number>
If you wish to use visualization features, you can install the package with the visualization extras:
$ pip install cellarium-cas[vis]
You need an API token to use CAS. We are offerring a free public beta program for a limited time to try CAS and explore ways it can enhance your cell biology research. To obtain your unique API token to join the public beta program, please navigate to the CAS webpage at cellarium.ai, scroll to the bottom of the page, and sign up. We will contact you with your unique API key as soon as the public beta is available.
The fastest way to get started with using CAS is to follow the quickstart tutorial: Click here to open the quickstart tutorial on GitHub
It is even easier to go through the quickstart tutorial on Google Colab. Remember, you still need an API key to successfully run through the tutorial: Click here to open the quickstart tutorial on Google Colab
Please visit the project's ReadTheDocs page for additional documentation.
If the Cellarium Cell Annotation Service (CAS) contributes to your research, please cite our preprint to help others discover the project. You can reference it as follows:
Stephen R Williams, Fedor Grab, Govinda M Kamath, Yerdos Ordabayev, Jeff Mellen, Patrick Roelli, Kristian Cibulskis, Erik Lehnert, Fen Xie, Miguel Covarrubias, Nur-Taz Rahman, Timothy Tickle, Emre Erhan, Nicolas Malfroy-Camine, Kevin Lydon, Mehrtash Babadi, Nigel F. Delaney. 2025. Accelerating scRNA-seq Analysis: Automated cell type annotation using representation learning and vector search. bioRxiv. https://doi.org/10.1101/2025.10.06.680787
BibTeX users can cite CAS with:
@article{cellarium_10x_cas,
author = {Williams, Stephen R. and Grab, Fedor and Kamath, Govinda M. and Ordabayev, Yerdos and Mellen, Jeff and Roelli, Patrick and Cibulskis, Kristian and Lehnert, Erik and Xie, Fen and Covarrubias, Miguel and Rahman, Nur-Taz and Tickle, Timothy and Erhan, Emre and Malfroy-Camine, Nicolas and Lydon, Kevin and Babadi, Mehrtash and Delaney, Nigel F.},
title = {Accelerating scRNA-seq Analysis: Automated cell type annotation using representation learning and vector search},
journal = {bioRxiv},
year = {2025},
doi = {10.1101/2025.10.06.680787},
url = {https://www.biorxiv.org/content/10.1101/2025.10.06.680787v1}
}
