Single-cell RNA sequencing, or scRNA-seq, allows researchers to examine gene activity in individual cells rather than averaging signals across thousands or millions of cells. This level of detail can reveal important differences between cell populations, but it also creates a major analytical challenge, determining exactly what type of cell each sequenced cell represents.
Researchers commonly identify cell types by looking for marker genes, genes known to be associated with particular types of cells. For example, a specific combination of genes may indicate that a cell is a certain type of immune cell. However, marker gene expression is not always consistent. It can change between individuals, tissues, diseases, and experimental conditions, potentially making traditional cell annotation methods less reliable.
Researchers at the Lydia Becker Institute of Immunology and Inflammation at The University of Manchester developed a new computational tool called CellTypeAI to address this problem. CellTypeAI uses generative artificial intelligence to help identify cell types within single-cell RNA sequencing datasets.
Visual representation of the CellTypeAI API and RAG database
(a) A graphical representation of the cell_context JSON architecture whereby cell types and their corresponding marker genes are grouped by tissue type. ‘…’ denote continuations of cell_context’s nested JSON structure. (b) A sequence diagram of the CellTypeAI Application Programming Interface (API). Arrows denote the step-by-step API flow, dotted arrows denote optional flow based on the n_iterations argument, the blue arrow denotes the final logic step of per cluster annotation.
Rather than relying only on a fixed list of marker genes, CellTypeAI combines large language models with a technique called retrieval augmented generation, or RAG. RAG provides an AI model with additional relevant biological information when it is making a prediction. In CellTypeAI, reference information about tissue types, cell types, and their associated genes can be retrieved and supplied to the model during cell annotation.
This approach allows the AI to consider the biological context of the tissue being analyzed. That can be especially useful when a marker gene is expressed differently depending on the tissue, patient, or disease being examined.
The researchers compared CellTypeAI with conventional cell annotation approaches and emerging cloud-based generative AI methods. Their results showed that CellTypeAI produced more accurate cell annotations than the conventional methods evaluated and the cloud-based AI approaches included in the comparison.
One important feature of CellTypeAI is that the generative AI models can be run locally, meaning the analysis takes place on an organization’s own computing infrastructure instead of sending information to an external online AI service.
This could be particularly important when researchers are working with sensitive or confidential biological datasets. Online AI platforms may require data to leave an organization’s controlled computing environment, while a locally deployed system can allow researchers to keep their RNA sequencing data within their own infrastructure.
CellTypeAI is also designed to integrate with existing scRNA-seq analysis pipelines, including workflows based on the widely used Scanpy software environment. Researchers can modify the biological reference information supplied to the AI, including tissue types, cell populations, and defining genes.
As single-cell RNA sequencing experiments continue to increase in size and complexity, accurately identifying thousands or even hundreds of thousands of cells can become a major bottleneck. Tools such as CellTypeAI demonstrate how locally deployed generative AI could help automate part of this process while accounting for biological context and maintaining greater control over sensitive research data.
Availability – The source code is available at: https://github.com/rhdaw/CellTypeAI.
Daw RH, Deijnen HR, Rattray M, Grainger JR. (2026) CellTypeAI: cell annotation for scRNA-seq using local generative-AI. Bioinformatics 42(Supplement_2): btag425. [article]
Single-cell RNA sequencing, or scRNA-seq, allows researchers to examine gene activity in individual cells rather than averaging signals across thousands or millions of cells. This level of detail can reveal important differences between cell populations, but it also creates a major analytical challenge, determining exactly what type of cell each sequenced cell represents.
Researchers commonly identify cell types by looking for marker genes, genes known to be associated with particular types of cells. For example, a specific combination of genes may indicate that a cell is a certain type of immune cell. However, marker gene expression is not always consistent. It can change between individuals, tissues, diseases, and experimental conditions, potentially making traditional cell annotation methods less reliable.
Researchers at the Lydia Becker Institute of Immunology and Inflammation at The University of Manchester developed a new computational tool called CellTypeAI to address this problem. CellTypeAI uses generative artificial intelligence to help identify cell types within single-cell RNA sequencing datasets.
Visual representation of the CellTypeAI API and RAG database
(a) A graphical representation of the cell_context JSON architecture whereby cell types and their corresponding marker genes are grouped by tissue type. ‘…’ denote continuations of cell_context’s nested JSON structure. (b) A sequence diagram of the CellTypeAI Application Programming Interface (API). Arrows denote the step-by-step API flow, dotted arrows denote optional flow based on the n_iterations argument, the blue arrow denotes the final logic step of per cluster annotation.
Rather than relying only on a fixed list of marker genes, CellTypeAI combines large language models with a technique called retrieval augmented generation, or RAG. RAG provides an AI model with additional relevant biological information when it is making a prediction. In CellTypeAI, reference information about tissue types, cell types, and their associated genes can be retrieved and supplied to the model during cell annotation.
This approach allows the AI to consider the biological context of the tissue being analyzed. That can be especially useful when a marker gene is expressed differently depending on the tissue, patient, or disease being examined.
The researchers compared CellTypeAI with conventional cell annotation approaches and emerging cloud-based generative AI methods. Their results showed that CellTypeAI produced more accurate cell annotations than the conventional methods evaluated and the cloud-based AI approaches included in the comparison.
One important feature of CellTypeAI is that the generative AI models can be run locally, meaning the analysis takes place on an organization’s own computing infrastructure instead of sending information to an external online AI service.
This could be particularly important when researchers are working with sensitive or confidential biological datasets. Online AI platforms may require data to leave an organization’s controlled computing environment, while a locally deployed system can allow researchers to keep their RNA sequencing data within their own infrastructure.
CellTypeAI is also designed to integrate with existing scRNA-seq analysis pipelines, including workflows based on the widely used Scanpy software environment. Researchers can modify the biological reference information supplied to the AI, including tissue types, cell populations, and defining genes.
As single-cell RNA sequencing experiments continue to increase in size and complexity, accurately identifying thousands or even hundreds of thousands of cells can become a major bottleneck. Tools such as CellTypeAI demonstrate how locally deployed generative AI could help automate part of this process while accounting for biological context and maintaining greater control over sensitive research data.
Availability – The source code is available at: https://github.com/rhdaw/CellTypeAI.
Daw RH, Deijnen HR, Rattray M, Grainger JR. (2026) CellTypeAI: cell annotation for scRNA-seq using local generative-AI. Bioinformatics 42(Supplement_2): btag425. [article]












Stay Connected