File size: 13,356 Bytes
7f9e45d
 
 
a3e0350
 
 
261d799
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
---
license: mit
---

# evoeval

A collection of genomic **variant-effect evaluation** datasets. Each dataset is a table of
variants keyed on GRCh38 coordinates with a label and annotation columns, stored as Parquet.
This repo holds the **base (unscored) variant tables** — model delta scores are computed
downstream, not shipped here.

## Standard column schema

Every parquet has these coordinate columns with standardized types:

| Column | Type | Description |
|---|---|---|
| `chrom` | str | Chromosome, GRCh38, always `chr`-prefixed (e.g. `chr1`, `chrX`) |
| `pos` | int64 | 1-based VCF position |
| `ref` | str | Reference allele |
| `alt` | str | Alternate allele |

Most datasets are also annotated with:

| Column | Type | Description |
|---|---|---|
| `genomic_element` | str | Coarse location: `CDS` / `splice_site` / `5UTR` / `3UTR` / `intron` / `ncRNA` / `intergenic` |
| `consequence` | str | Most-severe SnpEff SO term from MANE Select transcripts (except where a dataset carries its own scheme — see per-dataset notes) |
| `variant_type` | str | `SNV` / `insertion` / `deletion` / `MNV` (derived from ref/alt lengths) |

`omim`, `gnomad_balanced`, and the TraitGym sets carry their own pre-annotation scheme for
`consequence` / `genomic_element` — see the individual sections.

---

## Dataset index

| File | Task | n (total) | n pos | n neg |
|---|---|---|---|---|
| `clinvar/clinvar.parquet` | P/LP vs B/LB | 200,036 | 66,987 | 133,049 |
| `splicevar/splicevar.parquet` | Splice-altering vs Normal | 11,978 | 7,147 | 4,831 |
| `gpn_star/cosmic.parquet` | Somatic cancer mutations vs neutral | 18,903 | 183 | 18,720 |
| `gpn_star/omim.parquet` | Disease-associated vs common variants | 2,640,672 | 406 | 2,640,266 |
| `gpn_star/gnomad_balanced.parquet` | Balanced variant benchmark | 11,992,284 | 5,996,146 | 5,996,138 |
| `traitgym/complex_traits.parquet` | GWAS causal (non-coding) vs matched | 11,400 | 1,140 | 10,260 |
| `traitgym/mendelian_traits.parquet` | Mendelian disease causal vs matched | 3,380 | 338 | 3,042 |

---

## ClinVar (`clinvar/`)

**Source:** ClinVar (GRCh38). Combined (un-split) variant table.
**Eval task:** Distinguish Pathogenic/Likely Pathogenic from Benign/Likely Benign variants.
**Positive class:** `ClinSigSimple = 1` (P/LP)
**Negative class:** `ClinSigSimple = 0` (B/LB)
**Class balance:** 66,987 positive : 133,049 negative

### Columns

| Column | Type | Notes |
|---|---|---|
| `chrom` | str | chr-prefixed |
| `pos` | int64 | |
| `ref` | str | |
| `alt` | str | |
| `ClinSigSimple` | int64 | **Label**: 1 = P/LP, 0 = B/LB |
| `ClinicalSignificance` | str | Raw ClinVar significance text (5 distinct values) |
| `ReviewStatus` | str | ClinVar submission confidence tier (3 distinct values) |
| `NumberSubmitters` | int64 | Number of submitting labs |
| `GeneSymbol` | str | Gene symbol |
| `VariationID` | int64 | ClinVar variant identifier |
| `feature_lvl2` | str | Author-provided element annotation |
| `genomic_element` | str | SnpEff coarse element |
| `consequence` | str | SnpEff most-severe SO term (24 distinct values) |
| `variant_type` | str | SNV / insertion / deletion / MNV |

### Stratification

- **`genomic_element`** — CDS (124,449), intron (43,273), splice_site (16,910), 3UTR (7,488), intergenic (6,064), 5UTR (1,852)
- **`variant_type`** — SNV (173,657), deletion (16,975), insertion (9,114), MNV (290)
- **`consequence`** — 24 SnpEff SO strata

---

## SpliceVarDB (`splicevar/`)

**Source:** SpliceVarDB. Combined (un-split) variant table.
**Eval task:** Distinguish experimentally confirmed splice-altering variants from normal (non-altering) variants.
**Positive class:** `classification = "Splice-altering"`
**Negative class:** `classification = "Normal"`
**Class balance:** 7,147 positive : 4,831 negative. All variants are SNVs.

### Columns

| Column | Type | Notes |
|---|---|---|
| `chrom` | str | chr-prefixed |
| `pos` | int64 | Genomic VCF position |
| `ref` | str | |
| `alt` | str | |
| `classification` | str | **Label**: "Splice-altering" or "Normal" |
| `gene` | str | Gene symbol |
| `hgvs` | str | HGVS notation |
| `method` | str | Experimental assay (RNA-Seq, MFASS, MaPSy, Minigene Assay, RT-PCR, …) |
| `location` | str | "Intronic", "Exonic", or "Exonic,Intronic" |
| `is_coding` | bool | Whether the variant falls in coding sequence |
| `genomic_element` | str | SnpEff coarse element |
| `consequence` | str | SnpEff most-severe SO term |
| `variant_type` | str | All SNV |

### Stratification

- **`method`** — RNA-Seq (6,117), MFASS (5,022), MaPSy (326), Minigene Assay (296), RT-PCR (119), Unspecified (45), plus a few combined-assay values
- **`location`** — Intronic (7,407), Exonic (4,338), Exonic,Intronic (233)
- **`is_coding`** — True (8,201) / False (3,777)

---

## GPN-star benchmarks (`gpn_star/`)

**Source:** [songlab/gpn-star](https://huggingface.co/collections/songlab/gpn-star) on HuggingFace.
Pre-computed model scores (GPN-MSA, CADD, phyloP, phastCons, ESM-1b, NT) have been stripped;
these are the base variant tables.

---

### `cosmic.parquet` — COSMIC somatic mutations vs neutral variants

**Eval task:** Distinguish COSMIC-catalogued somatic cancer mutations from common neutral variants.
**Positive class:** `label = True` — COSMIC-catalogued somatic cancer mutation
**Negative class:** `label = False` — common benign missense variant (gnomAD, AF > 5%)
**Class balance:** 183 positive : 18,720 negative (102:1)

| Column | Type | Notes |
|---|---|---|
| `chrom` | str | chr-prefixed |
| `pos` | int64 | |
| `ref` | str | |
| `alt` | str | |
| `label` | bool | **Label**: True = COSMIC cancer mutation |
| `consequence` | str | SnpEff most-severe SO term |
| `genomic_element` | str | SnpEff coarse element |
| `variant_type` | str | All SNV |

> **Important caveat:** 180 of 183 positives (98%) are `missense_variant` in `CDS`. All other
> genomic_element/consequence strata have 0 or 3 positives. Stratified AUCs will mostly return
> None; the overall AUC is the meaningful metric here.

### Stratification

- **`genomic_element`** — only `CDS` (180 pos) and `intergenic` (3 pos) have any positives.
- **`consequence`** — only `missense_variant` (180 pos) and `intergenic_region` (3 pos) have positives.

---

### `omim.parquet` — OMIM disease-associated variants vs common variants

**Eval task:** Distinguish OMIM-listed regulatory disease variants from common population variants.
**Positive class:** `label = True` — OMIM-curated pathogenic regulatory variant
**Negative class:** `label = False` — common variant (gnomAD, AF > 5%)
**Class balance:** 406 positive : 2,640,266 negative (6,500:1)

| Column | Type | Notes |
|---|---|---|
| `chrom` | str | chr-prefixed |
| `pos` | int64 | |
| `ref` | str | |
| `alt` | str | |
| `label` | bool | **Label**: True = OMIM disease-associated |
| `consequence` | str | **Custom OMIM categories** (not SnpEff SO terms) |
| `variant_type` | str | All SNV |
| `genomic_element` | str | Mapped from custom consequence (see below) |

**Custom consequence values and their genomic_element mapping:**

| consequence | genomic_element | n total | n pos |
|---|---|---|---|
| `Enhancer` | `intergenic` | 2,357,316 | 37 |
| `ncRNA` | `ncRNA` | 137,330 | 60 |
| `3' UTR` | `3UTR` | 68,413 | 38 |
| `Promoter` | `intergenic` | 62,575 | 130 |
| `5' UTR` | `5UTR` | 15,030 | 133 |
| `MicroRNA Gene` | `ncRNA` | 5 | 5 |
| `Imprinting Control Region` | `intergenic` | 3 | 3 |

> All variants are **non-coding regulatory** elements. The `Enhancer` category dominates (89% of
> rows) with very sparse positives (37 of 2.36M).

### Stratification

- **`genomic_element`** — 4 strata, all ≥20 rows with both classes: intergenic (170 pos), ncRNA (65), 3UTR (38), 5UTR (133).
- **`consequence`** — 5 valid strata: Enhancer (37), ncRNA (60), 3' UTR (38), Promoter (130), 5' UTR (133).

---

### `gnomad_balanced.parquet` — gnomAD balanced benchmark

**Eval task:** General variant-effect prediction benchmark using gnomAD population variants.
**Positive class:** `label = True` — rare variant (singleton in gnomAD, under purifying selection)
**Negative class:** `label = False` — common variant (AF > 5% in gnomAD, likely neutral)
**Class balance:** 5,996,146 : 5,996,138 (perfectly balanced, 50:50)

> **Label semantics (GPN-star paper, Benegas et al. 2024):** True = gnomAD singleton; False =
> common variant (AF > 5%). Purifying selection keeps deleterious variants rare, so rare variants
> are enriched for functional/deleterious effect. A model with signal assigns more negative delta
> scores to singletons than to common variants.

| Column | Type | Notes |
|---|---|---|
| `chrom` | str | chr-prefixed |
| `pos` | int64 | |
| `ref` | str | |
| `alt` | str | |
| `label` | bool | **Label**: True/False (see note above) |
| `consequence` | str | Simplified consequence terms (see below) |
| `variant_type` | str | All SNV |
| `genomic_element` | str | Mapped from simplified consequence |

**Simplified consequence values and their genomic_element mapping (top strata):**

| consequence | genomic_element | n total | n pos | n neg |
|---|---|---|---|---|
| `intron` | `intron` | 6,481,608 | 3,240,804 | 3,240,804 |
| `intergenic` | `intergenic` | 4,714,558 | 2,357,279 | 2,357,279 |
| `non_coding_transcript_exon` | `ncRNA` | 274,540 | 137,270 | 137,270 |
| `3_prime_UTR` | `3UTR` | 136,750 | 68,375 | 68,375 |
| `downstream_gene` | `intergenic` | 129,544 | 64,772 | 64,772 |
| `upstream_gene` | `intergenic` | 124,890 | 62,445 | 62,445 |
| `synonymous` | `CDS` | 37,948 | 18,974 | 18,974 |
| `missense` | `CDS` | 37,452 | 18,726 | 18,726 |
| `5_prime_UTR` | `5UTR` | 29,794 | 14,897 | 14,897 |
| `splice_region` | `splice_site` | 24,170 | 12,085 | 12,085 |

> Consequence terms are simplified (not standard SO format): `intron` not `intron_variant`,
> `missense` not `missense_variant`. Perfectly balanced within every stratum (pos/neg equal or off by 1).

### Stratification

- **`genomic_element`** — 7 strata, all perfectly balanced and ≥20 rows.
- **`consequence`** — 13 valid strata, all perfectly balanced.

---

## TraitGym (`traitgym/`)

**Source:** [songlab/TraitGym](https://huggingface.co/datasets/songlab/TraitGym) on HuggingFace.
**Eval task:** Distinguish causal variants from matched controls selected within the same functional
category with similar MAF and LD score — the model cannot win on consequence or frequency bias alone.
**Positive class:** `label = True` (causal variant)
**Negative class:** `label = False` (matched control)

**Annotation:** Pre-annotated by the TraitGym authors using ENCODE regulatory-element categories
(`dELS`, `pELS`, `PLS`, …) combined with SO terms — these are kept as-is (SnpEff annotation is
deliberately not applied, as it would overwrite the informative ENCODE categories).

**Consequence categories used:**

| Term | Meaning |
|---|---|
| `PLS` | Promoter-like signature (ENCODE cRE) |
| `pELS` | Proximal enhancer-like signature |
| `dELS` | Distal enhancer-like signature |
| `pELS_flank`, `dELS_flank` | Flanking regions of ELS elements |
| `intron_variant`, `intergenic_variant`, `non_coding_transcript_exon_variant`, `3_prime_UTR_variant`, `5_prime_UTR_variant`, `upstream_gene_variant` | SO terms |

---

### `complex_traits.parquet` — GWAS fine-mapped non-coding variants

**Eval task:** GWAS fine-mapped causal non-coding variants vs matched controls.
**Class balance:** 1,140 causal : 10,260 controls (1:9)

| Column | Type | Notes |
|---|---|---|
| `chrom` | str | chr-prefixed |
| `pos` | int64 | |
| `ref` | str | |
| `alt` | str | |
| `pip` | float64 | Posterior inclusion probability (causal prior) |
| `trait` | str | GWAS trait name (empty string `""` for controls) |
| `label` | bool | **Label**: True = causal |
| `maf` | float64 | Minor allele frequency |
| `ld_score` | float64 | LD score |
| `consequence` | str | ENCODE/SO category (see above) |
| `tss_dist` | int64 | Distance to nearest transcription start site |
| `match_group` | str | Matching group ID (each causal paired with controls) |

> `trait` is empty string for all controls — per-trait stratification would create causal-only
> strata, so it is excluded from stratification.

### Stratification

- **`consequence`** — 15 valid strata: dELS (314 pos), intron_variant (190), dELS_flank (167), intergenic_variant (103), pELS (101), … Each stratum keeps the 1:9 pos:neg ratio by design.

---

### `mendelian_traits.parquet` — Mendelian disease regulatory variants

**Eval task:** Mendelian disease regulatory causal variants vs matched controls (promoters, UTRs, ncRNA from OMIM).
**Class balance:** 338 causal : 3,042 controls (1:9)

| Column | Type | Notes |
|---|---|---|
| `chrom` | str | chr-prefixed |
| `pos` | int64 | |
| `ref` | str | |
| `alt` | str | |
| `OMIM` | str | OMIM gene/disease ID (NaN for controls) |
| `consequence` | str | ENCODE/SO category (see above) |
| `label` | bool | **Label**: True = disease-causing |
| `tss_dist` | int64 | Distance to nearest TSS |
| `match_group` | str | Matching group ID |

### Stratification

- **`consequence`** — 11 valid strata: 5_prime_UTR_variant (114 pos), non_coding_transcript_exon_variant (71), PLS (63), 3_prime_UTR_variant (29), upstream_gene_variant (21), … Smaller counts — some strata will have low power.