Dataset Viewer
Auto-converted to Parquet Duplicate
chrom
stringclasses
12 values
pos
int64
410
43.3M
ref
stringclasses
4 values
alt
stringclasses
4 values
AC
int64
-1,719
6.04k
AN
int64
2
6.05k
AF
float64
0
1
consequence
stringclasses
1 value
1
1,128
C
T
2
5,522
0.000362
unknown
1
1,142
G
A
2
5,578
0.000359
unknown
1
1,151
C
A
69
5,544
0.012
unknown
1
1,162
C
T
4
5,502
0.000727
unknown
1
1,178
G
T
5
5,016
0.000997
unknown
1
1,184
G
A
29
5,408
0.005362
unknown
1
1,203
T
C
734
4,858
0.151
unknown
1
1,219
G
A
1
5,568
0.00018
unknown
1
1,223
G
C
14
5,588
0.002505
unknown
1
1,238
C
T
8
5,646
0.001417
unknown
1
1,239
G
A
1
5,670
0.000176
unknown
1
1,247
C
G
5
5,740
0.000871
unknown
1
1,248
G
A
118
5,706
0.021
unknown
1
1,249
A
C
836
5,288
0.158
unknown
1
1,266
G
A
739
5,622
0.131
unknown
1
1,267
A
C
2
5,668
0.000353
unknown
1
1,270
G
A
4
5,674
0.000705
unknown
1
1,277
T
C
777
5,256
0.148
unknown
1
1,278
G
A
27
5,358
0.005039
unknown
1
1,280
G
A
2
5,638
0.000355
unknown
1
1,282
G
A
34
5,644
0.006024
unknown
1
1,287
G
C
1
5,736
0.000174
unknown
1
1,293
C
T
32
5,712
0.005602
unknown
1
1,297
G
A
28
5,448
0.00514
unknown
1
1,299
T
C
88
5,394
0.016
unknown
1
1,301
G
C
1
5,790
0.000173
unknown
1
1,306
G
A
36
5,770
0.006239
unknown
1
1,317
A
T
2
5,846
0.000342
unknown
1
1,319
C
T
33
5,786
0.005703
unknown
1
1,325
C
T
836
5,786
0.144
unknown
1
1,326
C
T
14
5,806
0.002411
unknown
1
1,335
G
T
833
5,862
0.142
unknown
1
1,337
G
A
119
5,644
0.021
unknown
1
1,348
G
A
2
5,924
0.000338
unknown
1
1,352
C
T
6
5,930
0.001012
unknown
1
1,362
G
A
823
5,902
0.139
unknown
1
1,379
T
C
7
5,972
0.001172
unknown
1
1,384
G
T
2
5,986
0.000334
unknown
1
1,399
C
A
2
6,002
0.000333
unknown
1
1,409
C
T
2
6,020
0.000332
unknown
1
1,411
A
G
1,234
5,994
0.206
unknown
1
1,427
A
T
24
5,998
0.004001
unknown
1
1,429
C
T
24
6,000
0.004
unknown
1
1,437
T
A
25
6,000
0.004167
unknown
1
1,441
A
T
2
6,018
0.000332
unknown
1
1,445
T
A
82
6,018
0.014
unknown
1
1,450
G
C
8
6,012
0.001331
unknown
1
1,452
A
G
2
6,008
0.000333
unknown
1
1,453
A
C
2
6,008
0.000333
unknown
1
1,457
C
A
8
6,012
0.001331
unknown
1
1,465
G
A
361
6,008
0.06
unknown
1
1,466
T
C
62
6,008
0.01
unknown
1
1,506
T
A
6
6,026
0.000996
unknown
1
1,511
C
T
57
6,010
0.009484
unknown
1
1,525
C
T
51
6,024
0.008466
unknown
1
1,542
C
T
11
6,034
0.001823
unknown
1
1,543
G
A
52
6,032
0.008621
unknown
1
1,547
G
C
50
6,032
0.008289
unknown
1
1,573
C
T
356
6,010
0.059
unknown
1
1,598
G
A
2
6,028
0.000332
unknown
1
1,604
T
C
68
6,024
0.011
unknown
1
1,606
G
A
2
6,032
0.000332
unknown
1
1,609
G
A
69
6,024
0.011
unknown
1
1,630
C
T
7
6,020
0.001163
unknown
1
1,638
C
A
2
6,030
0.000332
unknown
1
1,646
C
T
1
6,034
0.000166
unknown
1
1,649
G
A
62
6,030
0.01
unknown
1
1,658
T
C
57
6,032
0.00945
unknown
1
1,659
G
A
56
6,034
0.009281
unknown
1
1,665
G
T
53
6,028
0.008792
unknown
1
1,670
G
A
51
6,028
0.008461
unknown
1
1,677
A
T
1
6,028
0.000166
unknown
1
1,678
C
T
53
6,028
0.008792
unknown
1
1,683
G
A
40
6,032
0.006631
unknown
1
1,687
C
A
2
6,028
0.000332
unknown
1
1,688
T
C
39
6,030
0.006468
unknown
1
1,690
T
C
39
6,030
0.006468
unknown
1
1,695
C
T
851
6,010
0.142
unknown
1
1,697
C
T
35
6,038
0.005797
unknown
1
1,705
G
A
29
6,030
0.004809
unknown
1
1,708
C
T
1,188
5,964
0.199
unknown
1
1,709
C
T
80
6,028
0.013
unknown
1
1,712
C
T
2
6,024
0.000332
unknown
1
1,713
G
A
30
6,024
0.00498
unknown
1
1,724
C
T
21
6,014
0.003492
unknown
1
1,725
G
A
78
6,010
0.013
unknown
1
1,729
A
G
332
5,990
0.055
unknown
1
1,733
C
A
331
5,990
0.055
unknown
1
1,735
C
T
25
6,016
0.004156
unknown
1
1,736
A
G
25
6,016
0.004156
unknown
1
1,739
C
A
1
6,018
0.000166
unknown
1
1,742
T
C
1
6,020
0.000166
unknown
1
1,748
C
T
876
6,032
0.145
unknown
1
1,751
T
A
1,290
5,974
0.216
unknown
1
1,755
G
T
2
6,036
0.000331
unknown
1
1,769
G
A
1
6,034
0.000166
unknown
1
1,783
C
T
1
6,038
0.000166
unknown
1
1,784
G
A
1
6,038
0.000166
unknown
1
1,831
G
A
1
6,040
0.000166
unknown
1
1,838
G
T
2
6,042
0.000331
unknown
End of preview. Expand in Data Studio

MTEDF Rice Variant-Effect Prediction

This public dataset contains the rice (Oryza sativa ssp. japonica) MSU7/IRGSP-1.0 reference genome, population SNVs with exact per-site allele numbers, conservation tracks, and genome-wide nucleotide log-likelihood ratios (LLRs) from multiple DNA language models. It also includes the Top4 Q25 ensemble and the analysis-ready merged variant table used by the accompanying rice variant-effect prediction benchmark.

The selected rice COD PlantCAD model is available separately at xxl0001/COD-PlantCAD-Rice.

Snapshot

Item Value
Repository size approximately 45.94 GB (42.79 GiB)
Repository data files 22, including this Dataset Card
Input SNVs 21,830,339
Analysis-ready scored SNVs 21,830,339
Reference assembly MSU7 / IRGSP-1.0
Nuclear chromosomes Chr1-Chr12
Raw model LLR matrices 12
Merged score columns 12 model LLRs, Top4 Q25, phyloP, phastCons

Quick start

For most analyses, download the two row-aligned Parquet files. The input table provides exact per-site AN; the merged table provides all cached scores.

import numpy as np
import pandas as pd
from huggingface_hub import hf_hub_download

repo_id = "xxl0001/mtedf-rice-vep"

variants_path = hf_hub_download(
    repo_id=repo_id,
    repo_type="dataset",
    filename="input_variants/variants.parquet",
)
scores_path = hf_hub_download(
    repo_id=repo_id,
    repo_type="dataset",
    filename="unmask_llr/result_all.parquet",
)

keys = ["chrom", "pos", "ref", "alt"]
variants = pd.read_parquet(
    variants_path,
    columns=[*keys, "AC", "AN", "AF"],
)
scores = pd.read_parquet(
    scores_path,
    columns=[
        *keys,
        "is_folded",
        "COD_FT_step12k_llr",
        "GPN_llr",
        "Top4_Elite_Q25",
        "phyloP",
        "phastCons",
    ],
)

assert variants[keys].equals(scores[keys])

# Exact-AN minor allele statistics.
ac = variants["AC"].to_numpy(np.int64)
an = variants["AN"].to_numpy(np.int64)
mac = np.minimum(ac, an - ac)
maf = mac / an

# result_all was initially oriented using AF > 0.5. Correct only rows where
# that decision differs from the exact-AN minor-allele direction.
exact_fold = (2 * ac) > an
fold_correction = scores["is_folded"].to_numpy(bool) ^ exact_fold
cod = scores["COD_FT_step12k_llr"].to_numpy(np.float32, copy=True)
cod[fold_correction] *= -1.0

Download the complete repository with the Hugging Face CLI:

hf download xxl0001/mtedf-rice-vep \
  --repo-type dataset \
  --local-dir ./mtedf-rice-vep

The complete snapshot is large. Prefer hf_hub_download or an include pattern when only one table or one model matrix is required.

Repository structure

mtedf-rice-vep/
|-- reference_genome/
|   |-- osa1_r7.asm.chrs.fa
|   `-- osa1_r7.asm.chrs.fa.fai
|-- input_variants/
|   `-- variants.parquet
|-- conservation_scores/
|   |-- Osj_PhyloP.bw
|   `-- Osj_PhastCons.bw
`-- unmask_llr/
    |-- result_all.parquet
    |-- gpn_llrs.pkl
    |-- plantcaduceus_l{20,24,28,32}_llrs.pkl
    |-- plantcad2_{small,medium,large}_llrs.pkl
    |-- ntv3_650m_pre_llrs.pkl
    |-- plantbimoe_llrs.pkl
    |-- cod_plantcad_llrs.pkl
    |-- cod_plantcad_step12k_llrs.pkl
    `-- Top4_Elite_Q25_rice_512bp/
        |-- Top4_Elite_Q25_llrs_rank0.pkl
        |-- Top4_Elite_Q25_meta.pkl
        `-- Top4_Elite_Q25_variant_scores.parquet

Input variants

input_variants/variants.parquet contains 21,830,339 SNVs and these columns:

Column Meaning
chrom Chromosome identifier, stored as 1-12
pos One-based genomic position
ref Reference allele
alt Alternative allele
AC ALT allele count
AN Exact callable allele number for that site
AF ALT allele frequency
consequence Available consequence label; unknown where unavailable

Use MAC = min(AC, AN - AC) and MAF = MAC / AN. Do not infer a constant sample size when exact AN is available.

Primary table: result_all.parquet

unmask_llr/result_all.parquet is the recommended score entry point. Its 21,830,339 rows are positionally and key-wise aligned with input_variants/variants.parquet.

Variant and orientation columns

  • chrom, pos, ref, alt, consequence
  • AC_original, AF_original
  • is_folded, AC_minor, MAF

The cached is_folded, AC_minor, and MAF fields reflect the earlier AF-based orientation. For the final exact-AN benchmark, compute MAC/MAF from the input table and apply the fold_correction shown in Quick start. Only 1,320 rows require this correction, but it is necessary for exact reproducibility.

Model score columns

  • GPN_llr
  • PlantCaduceus_l20_llr, PlantCaduceus_l24_llr, PlantCaduceus_l28_llr, PlantCaduceus_l32_llr
  • PlantCAD2_Small_llr, PlantCAD2_Medium_llr, PlantCAD2_Large_llr
  • NTv3_650M_llr
  • PlantBiMoE_llr
  • COD_PLANTCAD_llr (zero-shot COD PlantCAD)
  • COD_FT_step12k_llr (rice fine-tuned COD PlantCAD)
  • Top4_Elite_Q25
  • phyloP, phastCons

The analysis used the lower 0.1% tail as stronger predicted effects after minor-allele orientation. phyloP and phastCons are site-level conservation scores and are not sign-flipped.

Raw genome-wide LLR matrices

The raw PKL files store REF-to-candidate-base scores in nucleotide order A, C, G, T:

LLR(base) = log P(base | reference context)
          - log P(reference base | reference context)

The reference-base column is zero up to numerical precision. More negative ALT values indicate that the alternative allele is less supported than the reference allele in that context.

The PKL payloads use segment IDs such as Chr1_0 and contain an LLR array plus segment metadata. Model window sizes are:

Models Window
GPN 512 bp
PlantCaduceus l20/l24/l28/l32 512 bp
COD PlantCAD zero-shot and rice fine-tuned 512 bp
PlantCAD2 Small/Medium/Large 8192 bp
NTv3 650M pretrained 8192 bp
PlantBiMoE 8192 bp

Python pickle can execute code during loading. Only unpickle files obtained from a trusted, verified snapshot, and load one model at a time because each matrix is approximately 3 GB.

Top4 Q25 ensemble

The selected ensemble combines:

  • COD PlantCAD zero-shot
  • PlantCaduceus l32
  • PlantCaduceus l28
  • PlantCAD2 Large

The PlantCAD2 8192 bp source is normalized to 512 bp segments, then the 0.25 quantile is computed across the four model LLRs at each genomic position and candidate nucleotide. The directory contains:

  • the full-genome 512 bp LLR matrix;
  • generation and validation metadata;
  • keyed scores for all 21,830,339 input SNVs.

In the exact-AN singleton benchmark (MAC = 1 versus MAF >= 0.05), the Top4 Q25 odds ratio is 11.204943925.

Reference genome

reference_genome/osa1_r7.asm.chrs.fa contains the 12 nuclear chromosomes of the MSU Rice Genome Annotation Project Release 7 / IRGSP-1.0 assembly. FASTA headers are Chr1 through Chr12; the Parquet tables store chromosome values without the Chr prefix. The .fai file provides byte offsets for indexed access.

Conservation tracks

Osj_PhyloP.bw and Osj_PhastCons.bw are indexed BigWig tracks used to attach site-level conservation scores. The keyed values used by the benchmark are also included directly in result_all.parquet.

Reproducibility notes

  • Parquet positions are one-based; PKL segment starts are zero-based.
  • Raw LLR nucleotide order is always A, C, G, T.
  • Use exact per-site AN from input_variants/variants.parquet.
  • Join or validate tables by chrom, pos, ref, and alt.
  • Use the exact-AN orientation correction before benchmarking allele-specific score columns.
  • Do not sign-flip phyloP or phastCons.
  • Keep model window construction fixed when comparing raw matrices.

Associated code

The accompanying analysis notebook and genome-wide inference, ensemble, and distillation scripts are maintained in the MTEDF GitHub experiment repository under experiments/rice_vep.

License and attribution

This repository combines project-generated model outputs with third-party reference, population-variation, and conservation resources. No single permissive license is asserted for every component; the Dataset Card therefore uses license: other.

Users must review and comply with the original providers' licenses, citation requirements, and redistribution terms for the MSU7/IRGSP-1.0 reference, population variant source, phyloP/phastCons tracks, and each upstream model. When using COD PlantCAD predictions, cite the associated COD PlantCAD release and the upstream model publications as appropriate.

Downloads last month
48