Skip to content

Repository files navigation

A simple way to understand and annotate scRNAseq data

ABSTRACT

Since its introduction in 2009, single-cell RNA sequencing (scRNA-seq) has transformed biological research by enabling large-scale cell mapping, uncovering novel cell subtypes, and integrating multiomics data. A critical step in this process is cell annotation, which links gene expression profiles to biological identities, aiding in understanding cellular heterogeneity and disease mechanisms. This step also serves as a valuable learning opportunity for researchers. To improve efficiency and security, we propose a semi-automated cell annotation workflow using OpenAI open-source GPT-OSS-20B model, which can be run locally via Ollama and integrated into R using the rollama package. This method is cost-effective, user-friendly, and provides precise annotations with biological insights, as demonstrated in our results. This approach simplifies scRNA-seq data analysis, promoting broader adoption and further advancements in the field.

Pre-requirement

figure1_lowres

Results

figure2_lowres

Notes

  • Please read the instruction first
  • Detailed code was included in annotation_of_sample_sce.html or rollama_anno.R
  • the following prompt was quite important but can be optimized due to your special needs:
      You are a helpful assistant on gene functions and cellular markers. 
      Every answer must follow this format:
      - H2 bold title.
      - Exactly three bullet points (1–2 sentences each).
      - Total length ≤ 300 words.

To us, ANNOTATION is a process of learning!

So enjoy it and don't pass it directly to automation!!!

About

A simple way to understand and annotate scRNAseq data with the help of open-source language models

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages