Datasets:
fix dataset_info: add script_version to all three configs
Browse files24 unmodified lines252627282930313278 unmodified lines11111211311411511611711878 unmodified lines19719819920020120220320470 unmodified lines2752762772722782792802818 unmodified lines2902912922872932942952967 unmodified lines30430530630130230330430530630730730830931031131231330931031131231331431431531631731822 unmodified lines34134234334334434534634734834834935035135235335335435535635724 unmodified lines features: - name: benchmark_id dtype: string - name: script_version dtype: string - name: annotation_source dtype: string - name: genome_assembly78 unmodified lines features: - name: benchmark_id dtype: string - name: script_version dtype: string - name: annotation_source dtype: string - name: genome_assembly78 unmodified lines features: - name: benchmark_id dtype: string - name: script_version dtype: string - name: annotation_source dtype: string - name: genome_assembly70 unmodified lines dataset_size: 334784354---
# Perturbation Bench# Carbon Perturbation Bench
A benchmark of **sequence-level perturbation tasks** for evaluating DNA foundation models.Each task presents pairs of genomic sequences — one real (unperturbed) and one structurally8 unmodified lines### `syn_human` · `syn_mouse` — Synonymous codon substitution (20,000 pairs each)
Codons within a real CDS are replaced with the highest-frequency synonym for the targetspecies, while the upstream andspecies (`recoding_mode = "optimize"`, `optimization_rate = 1.0`), while the upstream anddownstream flanking sequence is left unchanged. Amino acid identity is preserved byconstruction. The model should prefer the natural codon usage over the artificiallyoptimised variant.7 unmodified lines
### `motif_human` — CAG repeat insertion (20,000 pairs)
A 30 bp codon-aligned region beginning 60 bp downstream of the first complete codon of theCDS exon is replaced with 10 consecutive CAG triplets(`CAGCAGCAGCAGCAGCAGCAGCAGCAGCAG`), mimicking the pathological trinucleotide repeatexpansions underlying polyglutamine disorders (Huntington's disease, SCAs, DRPLA).The substitution is length- and reading-frame-preserving (30 bp in, 30 bp out), so thetotal window remains 8,192 bp. All sequence outside the patch is identical betweenoriginal and perturbed.A 30 bp region starting 60 bp downstream of the CDS start is replaced with 10 consecutiveCAG triplets (`CAGCAGCAGCAGCAGCAGCAGCAGCAGCAG`),mimicking the pathological trinucleotide repeat expansions underlying polyglutaminedisorders (Huntington's disease, SCAs, DRPLA). The substitution is length-preserving(30 bp in, 30 bp out), so the total window remains 8,192 bp. All sequence outside thepatch is identical between original and perturbed.
- Annotations: GENCODE v45 / GRCh38; all CDS exons (all ranks); 9,705 unique genes.- Window layout: first complete CDS codon always at position 8,102; patch always at positions 8,162–8,192 (`patch_start_in_seq`–`patch_end_in_seq`). For exons with phase 1 or 2, the 1–2 split-codon bases from the preceding exon are placed immediately before position 8,102, so the upstream genomic context is 8,102 bp (phase 0), 8,101 bp (phase 1), or 8,100 bp (phase 2).- Annotations: GENCODE v45 / GRCh38; 9,705 unique genes.- Window layout: 8,102 bp upstream flank, CDS start at position 8,102, patch at positions 8,162–8,192.
---
22 unmodified lines
# Synonymous codon substitution — humansyn_human = load_dataset( "HuggingFaceBio/perturbation-bench", "syn_human", split="test" "HuggingFaceBio/carbon-perturbation-bench", "syn_human", split="test")
# Synonymous codon substitution — mousesyn_mouse = load_dataset( "HuggingFaceBio/perturbation-bench", "syn_mouse", split="test" "HuggingFaceBio/carbon-perturbation-bench", "syn_mouse", split="test")
# CAG motif insertionmotif = load_dataset( "HuggingFaceBio/perturbation-bench", "motif_human", split="test" "HuggingFaceBio/carbon-perturbation-bench", "motif_human", split="test")```
README.md+19-18