File size: 5,212 Bytes
5b07e14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4193d68
5b07e14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eabc342
5b07e14
 
 
 
 
 
 
 
 
4193d68
 
 
5b07e14
 
4193d68
 
 
 
5b07e14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152

---
license: apache-2.0
task_categories:
- biology
- genomics
- tabular-classification
- tabular-regression
tags:
- single-cell
- scRNA-seq
- transcriptomics
- perturbation
- batch-integration
- cell-type-annotation
- anndata
size_categories:
- 100K<n<1M
---



# 🧬 ScDiVa Benchmark Datasets

[**πŸ“„ arXiv Paper**](https://arxiv.org/abs/2602.03477) | [**πŸ’» Model Repository**](https://huggingface.co/warming666/ScDiVa) | [**🌐 Project Page**](https://github.com/warming666/ScDiVa)


## πŸ“– Dataset Description

This repository contains the **pre-processed benchmark datasets** used to evaluate **ScDiVa** (Single-cell Deep Variational Analysis). All datasets are stored in `.h5ad` (AnnData) format, compatible with `scanpy` and `anndata`.

These datasets cover four major downstream tasks in single-cell genomics:
1.  **Batch Integration**
2.  **Cell Type Annotation** (Fine-tuning & Zero-shot)
3.  **Gene Perturbation Prediction**
4.  **Gene Regulatory Network (GRN) Reconstruction**

---

## πŸ“‚ File Organization

The datasets are categorized by their primary evaluation task in the ScDiVa paper.

### 1. Batch Integration & Atlas Building
*Datasets containing multiple batches with technical effects to be removed.*

| Filename | Description | Cells |
| :--- | :--- | :--- |
| `pbmc12k_processed.h5ad` | PBMC dataset with 2 batches. | ~12k |
| `immune_processed.h5ad` | Human Immune Atlas (large-scale integration). | ~300k |
| `bmmc_processed.h5ad` | Bone Marrow Mononuclear Cells (NeurIPS 2021). | ~90k |
| `perirhinal_processed.h5ad` | Mouse Brain Perirhinal Cortex. | ~23k |
| `covid19_processed.h5ad` | PBMC from COVID-19 patients. | ~45k |

### 2. Cell Type Annotation (Fine-tuning)
*Datasets used for supervised training and evaluation of cell type classifiers.*

| Filename | Description |
| :--- | :--- |
| `hpancreas_processed.h5ad` | Human Pancreas dataset (State-of-the-art benchmark). |
| `ms_processed.h5ad` | Multiple Sclerosis dataset. |
| `myeloid_processed.h5ad` | Myeloid cells (Set A). |
| `myeloid_b_processed.h5ad` | Myeloid cells (Set B). |

### 3. Zero-shot Annotation
*Datasets used to test the model's generalization capability without task-specific training.*

| Filename | Description |
| :--- | :--- |
| `Pancrm.h5ad` | Human Pancreas (distinct from hPancreas). |
| `PBMC.h5ad` | Standard PBMC benchmark. |
| `PBMC_368K.h5ad` | Large-scale PBMC dataset. |
| `HumanPBMC.h5ad` | Additional human PBMC variant. |
| `Cell_Lines.h5ad` | Cell line benchmarking data. |
| `DC.h5ad` | Dendritic Cells. |
| `MCA.h5ad` | Mouse Cell Atlas subset. |
| `immune_processed.h5ad` | **Human Immune Atlas** (Used for large-scale zero-shot evaluation). |

### 4. Gene Perturbation Prediction
*Datasets for causal inference tasks (predicting gene expression after CRISPR perturbation).*

| Filename | Description |
| :--- | :--- |
| `adamson_processed.h5ad` | Single-gene CRISPRi perturbations (Adamson et al., 2016). |
| `norman.h5ad` | Combinatorial (double-gene) CRISPRa perturbations (Norman et al., 2019). |

### 5. Reconstruction & GRN Inference
*Datasets used to evaluate the model's ability to reconstruct gene expression (Section 4.2) and infer regulatory networks (Section 4.6).*

| Filename | Description |
| :--- | :--- |
| `zheng68k_processed.h5ad` | Mouse hematopoietic stem and progenitor cell scRNA-seq dataset (68k cells). |
| `hpancreas_processed.h5ad` | Human Pancreas dataset. |
| `pbmc12k_processed.h5ad` | PBMC dataset with 2 batches. |
| `immune_processed.h5ad` | Human Immune Atlas(Primary dataset for GRN inference). |

---

## πŸš€ How to Use

Since these are `.h5ad` files, we recommend using `huggingface_hub` to download the specific file you need, and then loading it with `scanpy`.

### Prerequisites
```bash
pip install scanpy huggingface_hub

```

### Loading a Dataset

```python
import scanpy as sc
from huggingface_hub import hf_hub_download

# Example: Load the PBMC12k dataset for Batch Integration
file_path = hf_hub_download(
    repo_id="warming666/ScDiVa",
    filename="pbmc12k_processed.h5ad",
    repo_type="dataset"
)

adata = sc.read_h5ad(file_path)

print(adata)
# AnnData object with n_obs Γ— n_vars = 11990 Γ— 2000 ...

```

---

## ⚠️ Data Processing Notes

* **Normalization**: Most datasets labeled `_processed` have typically undergone library size normalization (e.g., target sum 10,000) and log1p transformation. Please check the `adata.X` values or `adata.uns` for specific processing details.
* **Splits**: Train/Test splits, if applicable, are usually stored in `adata.obs['split']` or indicated by boolean masks (e.g., `train_mask`).
* **Gene Vocabulary**: To work with the pre-trained ScDiVa model, ensure the gene symbols in `adata.var_names` match the model's vocabulary (41,818 genes).

---

## πŸ“„ Citation

If you use these processed datasets in your work, please cite the ScDiVa paper:

```bibtex
@article{wang2026scdiva,
  title={ScDiva: Masked Discrete Diffusion for Joint Modeling of Single-Cell Identity and Expression},
  author={Wang, Mingxuan and Chen, Cheng and Jiang, Gaoyang and Ren, Zijia and Zhao, Chuangxin and Shi, Lu and Ma, Yanbiao},
  journal={arXiv preprint arXiv:2602.03477},
  year={2026}
}

```