File size: 6,084 Bytes
8b4872b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
tags:
  - biology
  - genomics
  - dna
  - regulatory-dna
configs:
  - config_name: encode
    data_files:
      - split: corpus
        path: data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv
  - config_name: gosai
    data_files:
      - split: full
        path: oracles/datasets/gosai/gosai_all.csv
      - split: design
        path: oracles/datasets/gosai/gosai_design.csv
      - split: eval
        path: oracles/datasets/gosai/gosai_eval.csv
  - config_name: catlas
    data_files:
      - split: full
        path: oracles/datasets/catlas/catlas_all.csv
      - split: design
        path: oracles/datasets/catlas/catlas_design.csv
      - split: eval
        path: oracles/datasets/catlas/catlas_eval.csv
---

# DNA-CRAFT data

Publicly available regulatory DNA datasets obtained and processed from [Moore et al., 2026](https://www.nature.com/articles/s41586-025-09909-9), [Gosai et al. (2024)](https://www.nature.com/articles/s41586-024-08070-z), and CATlas ([Zhang et al., 2021](https://www.sciencedirect.com/science/article/pii/S0092867421012794)) and hosted here to reproduce the results of [*Designing Cell-Type-Specific Regulatory DNA with Guided Discrete Diffusion*](https://arxiv.org/abs/2604.20488) (Awasthi et al., 2026). All underlying data originate from these publications.

Code & reproduction: [epigen/dna-craft](https://github.com/epigen/dna-craft)

Datasets: [BockLab/dna-craft-data](https://huggingface.co/datasets/BockLab/dna-craft-data)

NeurIPS 2026 poster: [Project page](https://neurips.cc/virtual/2026/loc/sydney/poster/155302)

## Datasets

| Source | Sequences and targets | Used for |
| --- | --- | --- |
| ENCODE (Moore et al., 2026) | Human and mouse candidate cis-regulatory elements with regulatory-class labels | Diffusion model training, validation, and testing |
| Cell Line MPRA (Gosai et al., 2024)| DNA sequences with MPRA activity in HepG2, K562, and SK-N-SH | Cell-line oracle training and evaluation |
| CATlas (Zhang et al., 2021) | DNA sequences with 204 cell-type chromatin accessibility profiles + AnnData reference | Accessibility oracle training, evaluation, and immune-cell benchmark reference |


## Files

Expected relative paths from the dna-craft repository root:

| Path | Contents |
| --- | --- |
| `data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv` | ENCODE diffusion table |
| `oracles/datasets/gosai/gosai_all.csv` | Full MPRA table |
| `oracles/datasets/gosai/gosai_design.csv` | MPRA design-oracle subset |
| `oracles/datasets/gosai/gosai_eval.csv` | MPRA evaluation-oracle subset |
| `oracles/datasets/catlas/catlas_all.csv` | Full CATlas table |
| `oracles/datasets/catlas/catlas_design.csv` | CATlas design-oracle subset |
| `oracles/datasets/catlas/catlas_eval.csv` | CATlas evaluation-oracle subset |
| `workflows/immune_cell_type_benchmark/resources/catlas_data.h5ad` | CATlas benchmark reference atlas |

## Schema

### ENCODE table

| Fields | Contents |
| --- | --- |
| `sequence` | DNA sequence |
| `chrom`, `start`, `end`, `width` | Genomic interval annotations |
| `species`, `species_label` | Species name and numerical label |
| `class`, `class_label` | Original regulatory category and numerical label |
| `combined_class`, `combined_class_label` | Regulatory class used by DNA-CRAFT (0: CTCF, 1: enhancers, 2: open chromatin, 3: poised elements, 4: promoters) |
| `split` | `train`, `valid`, or `test` |
| `id1`, `id2`, `homologous` | Source IDs and homology flag |

### Gosai and CATlas oracle tables


- **Gosai:** Contains `seq`, activity columns for HepG2, K562, and SK-N-SH, and an exported index column.

- **CATlas:** Contains `seq` followed by 204 cell-type accessibility columns. Preserve the column order when training or evaluating oracles. The immune-cell benchmark uses CD8 T cells, CD4 T cells, NK T cells, Naive T cells, Memory B cells, Plasma B cells, Macrophages, and Mast cells.

## Usage

Run the following from the `dna-craft` repository root to download the files into the paths expected by the training scripts and Snakemake workflows:

```python
from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="BockLab/dna-craft-data",
    repo_type="dataset",
    local_dir=".",
    allow_patterns=["data/**", "oracles/datasets/**", "workflows/**"],
)
```

Quick inspection with `pandas`:

```python
import pandas as pd

encode = pd.read_csv(
    "data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv",
    usecols=["sequence", "split", "combined_class_label"],
)
print(encode["split"].value_counts())

gosai = pd.read_csv(
    "oracles/datasets/gosai/gosai_design.csv",
    usecols=["seq", "hepg2", "k562", "sknsh"],
)
```

Training commands (using `configs_encode/config_encode.yaml`) and benchmark instructions are in the [GitHub README](https://github.com/epigen/dna-craft#readme).

## Data sources & citation

- ENCODE: *Moore et al. (2026), An expanded registry of candidate cis-regulatory elements*. [Source publication](https://www.nature.com/articles/s41586-025-09909-9).
- The cell-line MPRA data: *Gosai et al. (2024), Machine-guided design of cell-type-targeting cis-regulatory elements*. [Source publication](https://www.nature.com/articles/s41586-024-08070-z).
- The CATlas data: *Zhang et al. (2021), A single-cell atlas of chromatin accessibility in the human genome*. [Source publication](https://www.sciencedirect.com/science/article/pii/S0092867421012794).

If you use these splits or benchmarks with DNA-CRAFT, please also cite:

```bibtex
@misc{awasthi2026dnacraft,
  title         = {Designing Cell-Type-Specific Regulatory DNA with Guided Discrete Diffusion},
  author        = {Awasthi, Animesh and Stoll, Martin and Bednarsky, Raphael and Schaefer, Moritz and Bock, Christoph},
  year          = {2026},
  eprint        = {2604.20488},
  archivePrefix = {arXiv},
  primaryClass  = {q-bio.GN},
  doi           = {10.48550/arXiv.2604.20488},
  url           = {https://arxiv.org/abs/2604.20488}
}
```