single-cell-foundation-model-geneformer

Automate Geneformer workflows for single-cell data tokenization, classification, and perturbation.

1.1k|132|Updated Apr 13, 2023
One-click install
npx skills add https://github.com/PharMolix/OpenBioMed --skill single-cell-foundation-model-geneformer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: single-cell-foundation-model-geneformer
Source: https://github.com/PharMolix/OpenBioMed/tree/main/skills/single-cell-foundation-model-scrna-seq-geneformer
Command: npx skills add https://github.com/PharMolix/OpenBioMed --skill single-cell-foundation-model-geneformer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Geneformer workflows for single-cell data processing are complex and time-consuming; this skill provides structured guidance to tokenize raw data, classify cells, extract embeddings, and perform in silico perturbations.

Core Features & Use Cases

  • Tokenization with TranscriptomeTokenizer to create tokenized .dataset objects for downstream tasks
  • Classification and embedding extraction using Geneformer components like Classifier and EmbExtractor
  • In silico perturbation analyses to simulate state changes and explore perturbations in silico

Quick Start

Tokenize raw scRNA-seq data with TranscriptomeTokenizer to prepare tokenized datasets for downstream classification, embedding extraction, and perturbation workflows.

Frequently Asked Questions about single-cell-foundation-model-geneformer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I tokenize raw scRNA-seq data for Geneformer workflows?

To tokenize raw scRNA-seq data, use the TranscriptomeTokenizer to convert input counts containing ensembl_id and n_counts into tokenized .dataset objects ready for downstream processing.

What is in silico perturbation in single-cell analysis?

In silico perturbation simulates state changes in single-cell data to explore gene perturbations. It uses the InSilicoPerturber API to perform these analyses on tokenized datasets across various cell states.

How do I extract embeddings from scRNA-seq data?

Extract embeddings from scRNA-seq data by applying the EmbExtractor API to your tokenized .dataset files. This process converts the tokenized gene sequences into dense vector representations for downstream tasks.

Do I need specific input formats for single-cell tokenization?

Yes, single-cell tokenization requires raw counts containing ensembl_id and n_counts fields. The TranscriptomeTokenizer processes these inputs to generate the .dataset format needed for classification and perturbation workflows.

Can I fine-tune a classifier on my scRNA-seq dataset?

You can fine-tune a classifier on your scRNA-seq dataset by using the Classifier API with your tokenized .dataset objects. This enables cell classification tasks directly on the prepared single-cell data.

What are the limitations of using foundation models for single-cell data processing?

Foundation models for single-cell data require tokenized .dataset formats and specific input fields like ensembl_id and n_counts. Workflows depend on proper integration with downstream APIs for classification, embedding extraction, and perturbation.