Datasets:
Initial release: coding + non_coding ClinVar VEP subsets
Browse files- README.md +58 -0
- coding/clinvar_coding.parquet +3 -0
- non_coding/clinvar_non_coding.parquet +3 -0
README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-classification
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- dna
|
| 9 |
+
- genomics
|
| 10 |
+
- variant-effect-prediction
|
| 11 |
+
- clinvar
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: coding
|
| 16 |
+
data_files:
|
| 17 |
+
- split: test
|
| 18 |
+
path: coding/*.parquet
|
| 19 |
+
- config_name: non_coding
|
| 20 |
+
data_files:
|
| 21 |
+
- split: test
|
| 22 |
+
path: non_coding/*.parquet
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# ClinVar VEP — coding + non-coding benchmark
|
| 26 |
+
|
| 27 |
+
A ClinVar variant-effect-prediction (VEP) benchmark with two complementary subsets — **coding** (39,473 variants) and **non-coding** (15,258 variants) — for evaluating DNA language models on clinical variant pathogenicity.
|
| 28 |
+
|
| 29 |
+
Each split is a **balanced binary classification** task: `label = 1` for pathogenic / likely pathogenic and `label = 0` for benign / likely benign.
|
| 30 |
+
|
| 31 |
+
## Subsets
|
| 32 |
+
|
| 33 |
+
| Config | # variants | benign | pathogenic | Region scope |
|
| 34 |
+
|---|---:|---:|---:|---|
|
| 35 |
+
| `coding` | 39,473 | 17,231 | 22,242 | exonic protein-coding |
|
| 36 |
+
| `non_coding` | 15,258 | 7,629 | 7,629 | intronic + 5′/3′ UTR |
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from datasets import load_dataset
|
| 40 |
+
coding = load_dataset("hf-carbon/clinvar-vep-final", "coding", split="test")
|
| 41 |
+
non_coding = load_dataset("hf-carbon/clinvar-vep-final", "non_coding", split="test")
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
## Coding subset — origin
|
| 45 |
+
|
| 46 |
+
For the coding ClinVar benchmark, we use the ClinVar VEP subset from [`GenerTeam/variant-effect-prediction`](https://huggingface.co/datasets/GenerTeam/variant-effect-prediction), which was originally used in the GPN-MSA study ([Benegas et al., 2025](https://www.nature.com/articles/s41587-024-02511-w)). After annotating this dataset with ClinVar molecular consequence / region information, we found that it is overwhelmingly coding: among matched variants, **39,473 are coding and only 1,503 are non-coding**, with only **10 pathogenic non-coding variants** in the entire non-coding split — far too few and far too imbalanced for meaningful AUROC. We therefore keep this dataset as our coding ClinVar benchmark.
|
| 47 |
+
|
| 48 |
+
The coding parquet preserves all upstream baseline scores (CADD, phyloP-100v, phyloP-241m, phastCons-100v, GPN-MSA, NT, NT-v2, HyenaDNA, Evo2-1B-Base, Evo2-7B-Base, Evo2-7B, GENERator-1B/3B, GENERator-v2-1B/3B) along with `chrom`, `pos`, `ref`, `alt`, `label`, `type`, `refseq_id`.
|
| 49 |
+
|
| 50 |
+
## Non-coding subset — construction
|
| 51 |
+
|
| 52 |
+
To construct a separate non-coding ClinVar benchmark, we start from the original ClinVar VCF and restrict to single-nucleotide variants on chromosomes 1–22, X, and Y with binary clinical labels, mapping benign / likely benign to `label = 0` and pathogenic / likely pathogenic to `label = 1`. We retain reviewed variants, annotate each variant using ClinVar consequence terms into broad region classes (`coding`, `non_coding`, `splice`, `unknown`) and finer subtypes (`intronic`, `utr_5_prime`, `utr_3_prime`, etc.), and then select the clean non-coding subset with `coding_status == "non_coding"`.
|
| 53 |
+
|
| 54 |
+
This yields a **balanced non-coding benchmark of 15,258 variants: 7,629 benign and 7,629 pathogenic**, covering intronic (10,310) and UTR variants (4,948 total — 4,174 5′UTR + 774 3′UTR). Splice (250) and unknown-region variants (12,200) are kept separate from the main non-coding subset because they represent distinct or ambiguous categories, and live in the source repository [`hf-carbon/ClinVar-VEP`](https://huggingface.co/datasets/hf-carbon/ClinVar-VEP).
|
| 55 |
+
|
| 56 |
+
## Citation
|
| 57 |
+
|
| 58 |
+
If you use this benchmark, please cite GPN-MSA (Benegas et al., 2025) and the ClinVar database.
|
coding/clinvar_coding.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaa835ac07c8df44a858b2ace632c47c55bb7a3a347f1bf38ed5750f23f88798
|
| 3 |
+
size 4273862
|
non_coding/clinvar_non_coding.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:962363936e342c082a480eb17ae4fe76c04c610feab7b4b68f244bbb11ffc44f
|
| 3 |
+
size 174737
|