BockLab commited on
Commit
8b4872b
·
verified ·
1 Parent(s): b0fe5e9

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -58,3 +58,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ oracles/datasets/catlas/catlas_design.csv filter=lfs diff=lfs merge=lfs -text
62
+ workflows/immune_cell_type_benchmark/resources/catlas_data.h5ad filter=lfs diff=lfs merge=lfs -text
63
+ oracles/datasets/gosai/gosai_eval.csv filter=lfs diff=lfs merge=lfs -text
64
+ oracles/datasets/gosai/gosai_design.csv filter=lfs diff=lfs merge=lfs -text
65
+ oracles/datasets/gosai/gosai_all.csv filter=lfs diff=lfs merge=lfs -text
66
+ oracles/datasets/catlas/catlas_eval.csv filter=lfs diff=lfs merge=lfs -text
67
+ oracles/datasets/catlas/catlas_all.csv filter=lfs diff=lfs merge=lfs -text
68
+ data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - biology
4
+ - genomics
5
+ - dna
6
+ - regulatory-dna
7
+ configs:
8
+ - config_name: encode
9
+ data_files:
10
+ - split: corpus
11
+ path: data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv
12
+ - config_name: gosai
13
+ data_files:
14
+ - split: full
15
+ path: oracles/datasets/gosai/gosai_all.csv
16
+ - split: design
17
+ path: oracles/datasets/gosai/gosai_design.csv
18
+ - split: eval
19
+ path: oracles/datasets/gosai/gosai_eval.csv
20
+ - config_name: catlas
21
+ data_files:
22
+ - split: full
23
+ path: oracles/datasets/catlas/catlas_all.csv
24
+ - split: design
25
+ path: oracles/datasets/catlas/catlas_design.csv
26
+ - split: eval
27
+ path: oracles/datasets/catlas/catlas_eval.csv
28
+ ---
29
+
30
+ # DNA-CRAFT data
31
+
32
+ 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.
33
+
34
+ Code & reproduction: [epigen/dna-craft](https://github.com/epigen/dna-craft)
35
+
36
+ Datasets: [BockLab/dna-craft-data](https://huggingface.co/datasets/BockLab/dna-craft-data)
37
+
38
+ NeurIPS 2026 poster: [Project page](https://neurips.cc/virtual/2026/loc/sydney/poster/155302)
39
+
40
+ ## Datasets
41
+
42
+ | Source | Sequences and targets | Used for |
43
+ | --- | --- | --- |
44
+ | ENCODE (Moore et al., 2026) | Human and mouse candidate cis-regulatory elements with regulatory-class labels | Diffusion model training, validation, and testing |
45
+ | 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 |
46
+ | 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 |
47
+
48
+
49
+ ## Files
50
+
51
+ Expected relative paths from the dna-craft repository root:
52
+
53
+ ```text
54
+ data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv
55
+ ```
56
+
57
+
58
+ | Path | Contents |
59
+ | --- | --- |
60
+ | `data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv` | ENCODE diffusion table |
61
+ | `oracles/datasets/gosai/gosai_all.csv` | Full MPRA table |
62
+ | `oracles/datasets/gosai/gosai_design.csv` | MPRA design-oracle subset |
63
+ | `oracles/datasets/gosai/gosai_eval.csv` | MPRA evaluation-oracle subset |
64
+ | `oracles/datasets/catlas/catlas_all.csv` | Full CATlas table |
65
+ | `oracles/datasets/catlas/catlas_design.csv` | CATlas design-oracle subset |
66
+ | `oracles/datasets/catlas/catlas_eval.csv` | CATlas evaluation-oracle subset |
67
+ | `workflows/immune_cell_type_benchmark/resources/catlas_data.h5ad` | CATlas benchmark reference atlas |
68
+
69
+ ## Schema
70
+
71
+ ### ENCODE table
72
+
73
+ | Fields | Contents |
74
+ | --- | --- |
75
+ | `sequence` | DNA sequence |
76
+ | `chrom`, `start`, `end`, `width` | Genomic interval annotations |
77
+ | `species`, `species_label` | Species name and numerical label |
78
+ | `class`, `class_label` | Original regulatory category and numerical label |
79
+ | `combined_class`, `combined_class_label` | Regulatory class used by DNA-CRAFT (0: CTCF, 1: enhancers, 2: open chromatin, 3: poised elements, 4: promoters) |
80
+ | `split` | `train`, `valid`, or `test` |
81
+ | `id1`, `id2`, `homologous` | Source IDs and homology flag |
82
+
83
+ ### Gosai and CATlas oracle tables
84
+
85
+
86
+ - **Gosai:** Contains `seq`, activity columns for HepG2, K562, and SK-N-SH, and an exported index column.
87
+
88
+ - **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.
89
+
90
+ ## Usage
91
+
92
+ Run the following from the `dna-craft` repository root to download the files into the paths expected by the training scripts and Snakemake workflows:
93
+
94
+ ```python
95
+ from huggingface_hub import snapshot_download
96
+
97
+ snapshot_download(
98
+ repo_id="BockLab/dna-craft-data",
99
+ repo_type="dataset",
100
+ local_dir=".",
101
+ allow_patterns=["data/**", "oracles/datasets/**", "workflows/**"],
102
+ )
103
+ ```
104
+
105
+ Quick inspection with `pandas`:
106
+
107
+ ```python
108
+ import pandas as pd
109
+
110
+ encode = pd.read_csv(
111
+ "data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv",
112
+ usecols=["sequence", "split", "combined_class_label"],
113
+ )
114
+ print(encode["split"].value_counts())
115
+
116
+ gosai = pd.read_csv(
117
+ "oracles/datasets/gosai/gosai_design.csv",
118
+ usecols=["seq", "hepg2", "k562", "sknsh"],
119
+ )
120
+ ```
121
+
122
+ Training commands (using `configs_encode/config_encode.yaml`) and benchmark instructions are in the [GitHub README](https://github.com/epigen/dna-craft#readme).
123
+
124
+ ## Data sources & citation
125
+
126
+ - ENCODE: *Moore et al. (2026), An expanded registry of candidate cis-regulatory elements*. [Source publication](https://www.nature.com/articles/s41586-025-09909-9).
127
+ - 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).
128
+ - 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).
129
+
130
+ If you use these splits or benchmarks with DNA-CRAFT, please also cite:
131
+
132
+ ```bibtex
133
+ @misc{awasthi2026dnacraft,
134
+ title = {Designing Cell-Type-Specific Regulatory DNA with Guided Discrete Diffusion},
135
+ author = {Awasthi, Animesh and Stoll, Martin and Bednarsky, Raphael and Schaefer, Moritz and Bock, Christoph},
136
+ year = {2026},
137
+ eprint = {2604.20488},
138
+ archivePrefix = {arXiv},
139
+ primaryClass = {q-bio.GN},
140
+ doi = {10.48550/arXiv.2604.20488},
141
+ url = {https://arxiv.org/abs/2604.20488}
142
+ }
143
+ ```
data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b6aff286363e05cfd1662ac99aa5f5d7e360ca37712b43ca850b5f11ab20113
3
+ size 1172473602
manifest.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "repo_id": "BockLab/dna-craft-data",
3
+ "repo_type": "dataset",
4
+ "files": [
5
+ {
6
+ "path": "data/processed/human_mouse_enhancers_variable_len_class_homologous_splits_combined_classes.csv",
7
+ "source_bytes": 1172473602,
8
+ "source_sha256": "6b6aff286363e05cfd1662ac99aa5f5d7e360ca37712b43ca850b5f11ab20113",
9
+ "bytes": 1172473602,
10
+ "sha256": "6b6aff286363e05cfd1662ac99aa5f5d7e360ca37712b43ca850b5f11ab20113",
11
+ "removed_checkpoint_keys": []
12
+ },
13
+ {
14
+ "path": "oracles/datasets/gosai/gosai_all.csv",
15
+ "source_bytes": 193491671,
16
+ "source_sha256": "8c8da98dddd5d466611aaf545d9a8c7be5e6c638e3acfe35759117e0bfa1ae92",
17
+ "bytes": 193491671,
18
+ "sha256": "8c8da98dddd5d466611aaf545d9a8c7be5e6c638e3acfe35759117e0bfa1ae92",
19
+ "removed_checkpoint_keys": []
20
+ },
21
+ {
22
+ "path": "oracles/datasets/gosai/gosai_design.csv",
23
+ "source_bytes": 96746322,
24
+ "source_sha256": "967fc1bd61879cf28d6c521a9d58b51edecec2ee6cf842ac624f229f543a33ef",
25
+ "bytes": 96746322,
26
+ "sha256": "967fc1bd61879cf28d6c521a9d58b51edecec2ee6cf842ac624f229f543a33ef",
27
+ "removed_checkpoint_keys": []
28
+ },
29
+ {
30
+ "path": "oracles/datasets/gosai/gosai_eval.csv",
31
+ "source_bytes": 96745391,
32
+ "source_sha256": "9876f45b4d5d9c9127ccc94613c2b758a3fe8f8068c50846469d9b9662fdcd03",
33
+ "bytes": 96745391,
34
+ "sha256": "9876f45b4d5d9c9127ccc94613c2b758a3fe8f8068c50846469d9b9662fdcd03",
35
+ "removed_checkpoint_keys": []
36
+ },
37
+ {
38
+ "path": "oracles/datasets/catlas/catlas_all.csv",
39
+ "source_bytes": 682875507,
40
+ "source_sha256": "2ac2653010d554a3de98ba5fa1ec9a365424a6f3ddf0af244076665c3eac5832",
41
+ "bytes": 682875507,
42
+ "sha256": "2ac2653010d554a3de98ba5fa1ec9a365424a6f3ddf0af244076665c3eac5832",
43
+ "removed_checkpoint_keys": []
44
+ },
45
+ {
46
+ "path": "oracles/datasets/catlas/catlas_design.csv",
47
+ "source_bytes": 341439657,
48
+ "source_sha256": "49647d2bc3025772e46e730ab768797f4584934ec0124e01e37bcd51e78b8685",
49
+ "bytes": 341439657,
50
+ "sha256": "49647d2bc3025772e46e730ab768797f4584934ec0124e01e37bcd51e78b8685",
51
+ "removed_checkpoint_keys": []
52
+ },
53
+ {
54
+ "path": "oracles/datasets/catlas/catlas_eval.csv",
55
+ "source_bytes": 341439657,
56
+ "source_sha256": "e8d193bf2eb190d798da2540bd3753cefd1454b452af55d9e494a51a21c61ea6",
57
+ "bytes": 341439657,
58
+ "sha256": "e8d193bf2eb190d798da2540bd3753cefd1454b452af55d9e494a51a21c61ea6",
59
+ "removed_checkpoint_keys": []
60
+ },
61
+ {
62
+ "path": "workflows/immune_cell_type_benchmark/resources/catlas_data.h5ad",
63
+ "source_bytes": 187877866,
64
+ "source_sha256": "50059ed67b84d0237d385a6dc89e95bdaeb8b877bd75b269c25df777de8d19a5",
65
+ "bytes": 187877866,
66
+ "sha256": "50059ed67b84d0237d385a6dc89e95bdaeb8b877bd75b269c25df777de8d19a5",
67
+ "removed_checkpoint_keys": []
68
+ }
69
+ ]
70
+ }
oracles/datasets/catlas/catlas_all.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ac2653010d554a3de98ba5fa1ec9a365424a6f3ddf0af244076665c3eac5832
3
+ size 682875507
oracles/datasets/catlas/catlas_design.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49647d2bc3025772e46e730ab768797f4584934ec0124e01e37bcd51e78b8685
3
+ size 341439657
oracles/datasets/catlas/catlas_eval.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8d193bf2eb190d798da2540bd3753cefd1454b452af55d9e494a51a21c61ea6
3
+ size 341439657
oracles/datasets/gosai/gosai_all.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c8da98dddd5d466611aaf545d9a8c7be5e6c638e3acfe35759117e0bfa1ae92
3
+ size 193491671
oracles/datasets/gosai/gosai_design.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:967fc1bd61879cf28d6c521a9d58b51edecec2ee6cf842ac624f229f543a33ef
3
+ size 96746322
oracles/datasets/gosai/gosai_eval.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9876f45b4d5d9c9127ccc94613c2b758a3fe8f8068c50846469d9b9662fdcd03
3
+ size 96745391
workflows/immune_cell_type_benchmark/resources/catlas_data.h5ad ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50059ed67b84d0237d385a6dc89e95bdaeb8b877bd75b269c25df777de8d19a5
3
+ size 187877866