File size: 1,509 Bytes
cb43415
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
language:
- en
---

# scFoundation

## Overview
scFoundation is a publicly available single-cell foundation model developed by researchers at BioMap, Tsingua University, and MBZUAI.

Additional details about model design and performance can be found in [Hao et al. 2024](https://www.nature.com/articles/s41592-024-02305-7).

The code can be found on the official [GitHub](https://github.com/biomap-research/scFoundation). 

## Usage Examples

This backbone can be adapted for arbitrary downstream tasks with ModelGenerator - please consult the [documentation](https://genbio-ai.github.io/ModelGenerator/) for more details. 

### Cell Type Classification
```
mgen fit --model SequenceClassification --model.backbone scfoundation --data CellClassificationDataModule --data.path <hf_or_local_path_to_your_dataset>
mgen test --model SequenceClassification --model.backbone scfoundation --data CellClassificationDataModule --data.path <hf_or_local_path_to_your_dataset>
```

## Limitations
* We only include scFoundation's encoder in ModelGenerator. The decoder is disabled. 

## Citation
```
@article{hao2024large,
  title={Large-scale foundation model on single-cell transcriptomics},
  author={Hao, Minsheng and Gong, Jing and Zeng, Xin and Liu, Chiming and Guo, Yucheng and Cheng, Xingyi and Wang, Taifeng and Ma, Jianzhu and Zhang, Xuegong and Song, Le},
  journal={Nature methods},
  volume={21},
  number={8},
  pages={1481--1491},
  year={2024},
  publisher={Nature Publishing Group US New York}
}
```