Taykhoom commited on
Commit
41e0ba2
·
verified ·
1 Parent(s): ae88dae

Publish reviewed GAMBA evaluation dataset

Browse files
README.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "GAMBA Functional Regions: Feature vs Random"
3
+ license: mit
4
+ tags:
5
+ - biology
6
+ - genomics
7
+ - dna
8
+ - genome-language-model
9
+ - benchmark
10
+ - functional-genomics
11
+ - hg38
12
+ - parquet
13
+ configs:
14
+ - config_name: canonical
15
+ data_files:
16
+ - split: all
17
+ path: functional-random-gamba.parquet
18
+ - config_name: noncoding-added
19
+ data_files:
20
+ - split: all
21
+ path: functional-random-gamba-noncoding-added.parquet
22
+ ---
23
+
24
+ # GAMBA Functional Regions: Feature vs Random
25
+
26
+ This dataset packages GAMBA's binary functional-region benchmark comparing
27
+ annotated genomic features with chromosome- and length-matched random
28
+ controls. Random controls avoid retained anchors from the same functional
29
+ category.
30
+
31
+ ## Configs
32
+
33
+ | Config | Train rows | Test rows | Total |
34
+ |---|---:|---:|---:|
35
+ | `canonical` | 135,692 | 33,982 | 169,674 |
36
+ | `noncoding-added` | 150,726 | 37,834 | 188,560 |
37
+
38
+ The `noncoding-added` config is an explicit extension from
39
+ [Gamba-Processing](https://github.com/TaykhoomDalal/Gamba-Processing), not an
40
+ additional category emitted by GAMBA's current `create_eval_data.py`.
41
+
42
+ ## Loading
43
+
44
+ ```python
45
+ from datasets import load_dataset
46
+
47
+ canonical = load_dataset(
48
+ "Taykhoom/functional-random-gamba",
49
+ "canonical",
50
+ split="all",
51
+ )
52
+ train = canonical.filter(lambda row: row["split"] == "train")
53
+ test = canonical.filter(lambda row: row["split"] == "test")
54
+ ```
55
+
56
+ ## Columns
57
+
58
+ | Column | Description |
59
+ |---|---|
60
+ | `split`, `label` | Probe/fine-tuning `train` or held-out `test`; labels are `feature` or `random`. |
61
+ | `sequence` | Strand-oriented GAMBA context of at most 2,048 bp. |
62
+ | `pair_id` | Shared identifier for a feature and its matched random control. |
63
+ | `category`, `scope` | Functional class and pooling scope. |
64
+ | `chrom`, `start`, `end`, `strand` | Zero-based, half-open hg38 feature/control coordinates. |
65
+ | `context_start`, `context_end` | Forward-genome coordinates of `sequence`. |
66
+ | `roi_start`, `roi_end` | Feature/control offsets within `sequence`. |
67
+ | `pool_start`, `pool_end` | Offsets to pool for representation evaluation. |
68
+ | `name` | Source annotation name. |
69
+
70
+ ## Data source and processing
71
+
72
+ The processing code reproduces the ten-category BED output from
73
+ [Microsoft GAMBA](https://github.com/microsoft/gamba) commit `e83984e`
74
+ byte-for-byte, then freezes all GAMBA autosomes plus `chrX` in parquet.
75
+ The GAMBA models were pretrained on the chromosomes marked `train`. The paper's
76
+ zero-shot result used the frozen models on `chr2`, `chr3`, `chr16`, and
77
+ `chr22`, which are marked `test`; no task-specific model was fitted on these
78
+ benchmark rows. Use only `test` to reproduce that paper subset. The `train`
79
+ rows are provided for probing/fine-tuning or broader chromosome evaluation.
80
+
81
+ ## Citation
82
+
83
+ Please cite the GAMBA paper:
84
+
85
+ Consens, M. E. et al. *Predicting evolutionary rate as a pretraining task
86
+ improves genome language model representations*. bioRxiv (2026).
87
+ [doi:10.64898/2026.02.02.703275](https://doi.org/10.64898/2026.02.02.703275).
88
+ A conference version is available on
89
+ [OpenReview](https://openreview.net/forum?id=dkgM2ale4U).
90
+
91
+ ```bibtex
92
+ @article{consens2026predicting,
93
+ title = {Predicting evolutionary rate as a pretraining task improves genome language model representations},
94
+ author = {Consens, Micaela Elisa and Yang, Kevin K. and Hall, Jimmy and Conard, Ashley Mae and Wang, Bo and Crawford, Lorin and Moses, Alan and Lu, Alex X.},
95
+ journal = {bioRxiv},
96
+ year = {2026},
97
+ doi = {10.64898/2026.02.02.703275},
98
+ url = {https://doi.org/10.64898/2026.02.02.703275}
99
+ }
100
+ ```
101
+
102
+ ## License
103
+
104
+ GAMBA and its released benchmark code/data are distributed under the MIT
105
+ license. Upstream annotation resources retain their original terms.
functional-random-gamba-noncoding-added.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:432c44f2cc136857e94d930e656586b24bbdfc51adbbae842352619a4ba86f7c
3
+ size 114035214
functional-random-gamba.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:167ea6587ae7645754310c33af55ccb60ba9251c07af87d992847f0cf2601b2b
3
+ size 104692294