Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Unified agent for leveraging single-cell foundation models (scGPT, scBERT, Geneformer, scFoundation) for cross-species annotation, perturbation prediction, and gene network inference.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 150% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -9% | 0% |
<!--
#
#
-->
The scFoundation Model Agent provides a unified interface to leverage state-of-the-art single-cell foundation models for diverse downstream tasks. It integrates scGPT, scBERT, Geneformer, scFoundation, and emerging models to enable cross-species cell annotation, in silico perturbation prediction, gene regulatory network inference, and batch integration.
| Model | Parameters | Training Data | Strengths | |-------|------------|---------------|-----------| | scGPT | 50M | 33M human cells | General purpose, perturbations | | Geneformer | 10M | 30M cells | Chromatin, gene networks | | scBERT | 20M | 1.2M cells | Cell type annotation | | scFoundation | 100M | 50M cells | Large-scale, multi-species | | scTab | 15M | 22M cells | Tabular prediction | | UCE (Universal Cell Embeddings) | 100M | 36M cells | Cross-species transfer |
User: "Use scGPT to predict the effect of CRISPR knockout of TP53 on these cancer cells."
Agent Action:
bashpython3 Skills/Genomics/scFoundation_Model_Agent/foundation_predict.py \ --input cancer_cells.h5ad \ --model scgpt \ --task perturbation \ --perturbation "TP53 knockout" \ --model_checkpoint scgpt_human_gene_v1.pt \ --output tp53_ko_predictions.h5ad
bashpython3 foundation_predict.py \ --input query_cells.h5ad \ --model geneformer \ --task annotation \ --reference tabula_sapiens.h5ad \ --output annotated_cells.h5ad
bashpython3 foundation_predict.py \ --input cells.h5ad \ --model scgpt \ --task grn_inference \ --transcription_factors tf_list.txt \ --output gene_network.csv
bashpython3 foundation_predict.py \ --input multi_batch.h5ad \ --model scfoundation \ --task integration \ --batch_key batch \ --output integrated.h5ad
| Task | Output | Format | |------|--------|--------| | Annotation | Cell type labels | .h5ad obs column | | Perturbation | Predicted expression | .h5ad layer | | GRN | TF-target edges | .csv, .graphml | | Integration | Corrected embeddings | .h5ad obsm | | Embeddings | Cell representations | .h5ad obsm |
| Task | Model | Dataset | Performance | |------|-------|---------|-------------| | Annotation | scGPT | Tabula Sapiens | 93% accuracy | | Annotation | Geneformer | HLCA | 91% accuracy | | Perturbation (R²) | scGPT | Norman 2019 | 0.87 | | Integration (kBET) | scFoundation | Multi-atlas | 0.92 | | Cross-species | UCE | Human→Mouse | 85% F1 |
Transformer Backbone:
Perturbation Module:
Transfer Learning:
| Use Case | Recommended Model | Reason | |----------|-------------------|--------| | General annotation | scGPT | Broad training, robust | | Cross-species | UCE | Species-agnostic embeddings | | Perturbation | scGPT | Best perturbation performance | | GRN inference | Geneformer | Attention → regulatory links | | Large-scale | scFoundation | Efficient, scalable | | Tabular prediction | scTab | Optimized for classification |
| Strategy | Method | Benefit | |----------|--------|---------| | Majority Vote | Mode of predictions | Robust to outliers | | Weighted Average | Confidence-weighted | Leverages uncertainty | | Stacking | Meta-model | Learns model strengths | | Attention Fusion | Cross-model attention | Deep integration |
AI Group - Biomedical AI Platform
<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
Other measured skills in the registry, with their headline benchmark lift.