HuggingFaceBio/traitgym
TraitGym + 8,192 bp pre-extracted windows This dataset is a repackaging of songlab/TraitGym (Benegas, Eraslan & Song, bioRxiv 2025.02.11.637758), with one extra step: for every variant we pre-extract the 8,192 bp window centered on the variant from the hg38 reference, plus the same window with the alt allele substituted. The variants, labels and matched controls are identical to the original songlab/TraitGym _matched_9 configs. Configs mendelian_traits (n = 3… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceBio/traitgym.
TraitGym + 8,192 bp pre-extracted windows
This dataset is a repackaging of `songlab/TraitGym` (Benegas, Eraslan & Song, bioRxiv 2025.02.11.637758), with one extra step: for every variant we pre-extract the 8,192 bp window centered on the variant from the hg38 reference, plus the same window with the alt allele substituted.
The variants, labels and matched controls are identical to the original songlab/TraitGym _matched_9 configs.
Configs
- `mendelian_traits` (n = 3,380): 338 putative-causal non-coding variants from 113 monogenic Mendelian diseases (curated from OMIM), matched 9:1 against gnomAD common-variant controls on chromosome × consequence × TSS-distance.
- `complex_traits` (n = 11,400): 1,140 putative-causal non-coding variants from 83 polygenic UK BioBank traits (PIP > 0.9 from statistical fine-mapping), matched 9:1 against PIP < 0.01 controls on chromosome × consequence × TSS-distance × MAF × LD score.
Schema
Eval methodology
Same recipe as our other VEP evals (BRCA1, BRCA2, ClinVar): delta = LL(var_seq) − LL(ref_seq) from a centered 8,192 bp window. Score per-variant; AUROC / AUPRC / AUPRC_by_chrom_weighted_average (the TraitGym leaderboard convention) against the binary label. Optional --rev_comp_avg averages the LLR computed on the forward window and on its reverse-complement, exactly as TraitGym does.
Eval scripts:
- `reproduction-evo2-evals/brca/brca_eval.py` — gene-agnostic centered+full-LL eval
- Sharded variant: `reproduction-evo2-evals/traitgym/` — array-job sharding for Evo2 7B+/40B
Citation
If you use TraitGym, cite the original paper:
@article{benegas2025traitgym,
title = {Benchmarking DNA Sequence Models for Causal Regulatory Variant Prediction in Human Genetics},
author = {Benegas, Gonzalo and Eraslan, Gokcen and Song, Yun S.},
journal = {bioRxiv},
year = {2025},
doi = {10.1101/2025.02.11.637758}
}Leaderboard: `songlab/TraitGym-leaderboard` on HF Spaces.
