mauryzio commited on
Commit
07ec9b8
·
verified ·
1 Parent(s): d8cf312

fix dataset_info: add script_version to all three configs

Browse files
Files changed (1) hide show
  1. README.md +19 -18
README.md CHANGED
@@ -25,6 +25,8 @@ dataset_info:
25
  features:
26
  - name: benchmark_id
27
  dtype: string
 
 
28
  - name: annotation_source
29
  dtype: string
30
  - name: genome_assembly
@@ -109,6 +111,8 @@ dataset_info:
109
  features:
110
  - name: benchmark_id
111
  dtype: string
 
 
112
  - name: annotation_source
113
  dtype: string
114
  - name: genome_assembly
@@ -193,6 +197,8 @@ dataset_info:
193
  features:
194
  - name: benchmark_id
195
  dtype: string
 
 
196
  - name: annotation_source
197
  dtype: string
198
  - name: genome_assembly
@@ -269,7 +275,7 @@ dataset_info:
269
  dataset_size: 334784354
270
  ---
271
 
272
- # Perturbation Bench
273
 
274
  A benchmark of **sequence-level perturbation tasks** for evaluating DNA foundation models.
275
  Each task presents pairs of genomic sequences — one real (unperturbed) and one structurally
@@ -284,7 +290,7 @@ altered — and asks whether the model assigns higher log-likelihood to the orig
284
  ### `syn_human` · `syn_mouse` — Synonymous codon substitution (20,000 pairs each)
285
 
286
  Codons within a real CDS are replaced with the highest-frequency synonym for the target
287
- species, while the upstream and
288
  downstream flanking sequence is left unchanged. Amino acid identity is preserved by
289
  construction. The model should prefer the natural codon usage over the artificially
290
  optimised variant.
@@ -298,20 +304,15 @@ optimised variant.
298
 
299
  ### `motif_human` — CAG repeat insertion (20,000 pairs)
300
 
301
- A 30 bp codon-aligned region beginning 60 bp downstream of the first complete codon of the
302
- CDS exon is replaced with 10 consecutive CAG triplets
303
- (`CAGCAGCAGCAGCAGCAGCAGCAGCAGCAG`), mimicking the pathological trinucleotide repeat
304
- expansions underlying polyglutamine disorders (Huntington's disease, SCAs, DRPLA).
305
- The substitution is length- and reading-frame-preserving (30 bp in, 30 bp out), so the
306
- total window remains 8,192 bp. All sequence outside the patch is identical between
307
- original and perturbed.
308
 
309
- - Annotations: GENCODE v45 / GRCh38; all CDS exons (all ranks); 9,705 unique genes.
310
- - Window layout: first complete CDS codon always at position 8,102;
311
- patch always at positions 8,162–8,192 (`patch_start_in_seq`–`patch_end_in_seq`).
312
- For exons with phase 1 or 2, the 1–2 split-codon bases from the preceding exon are
313
- placed immediately before position 8,102, so the upstream genomic context is
314
- 8,102 bp (phase 0), 8,101 bp (phase 1), or 8,100 bp (phase 2).
315
 
316
  ---
317
 
@@ -340,17 +341,17 @@ from datasets import load_dataset
340
 
341
  # Synonymous codon substitution — human
342
  syn_human = load_dataset(
343
- "HuggingFaceBio/perturbation-bench", "syn_human", split="test"
344
  )
345
 
346
  # Synonymous codon substitution — mouse
347
  syn_mouse = load_dataset(
348
- "HuggingFaceBio/perturbation-bench", "syn_mouse", split="test"
349
  )
350
 
351
  # CAG motif insertion
352
  motif = load_dataset(
353
- "HuggingFaceBio/perturbation-bench", "motif_human", split="test"
354
  )
355
  ```
356
 
 
25
  features:
26
  - name: benchmark_id
27
  dtype: string
28
+ - name: script_version
29
+ dtype: string
30
  - name: annotation_source
31
  dtype: string
32
  - name: genome_assembly
 
111
  features:
112
  - name: benchmark_id
113
  dtype: string
114
+ - name: script_version
115
+ dtype: string
116
  - name: annotation_source
117
  dtype: string
118
  - name: genome_assembly
 
197
  features:
198
  - name: benchmark_id
199
  dtype: string
200
+ - name: script_version
201
+ dtype: string
202
  - name: annotation_source
203
  dtype: string
204
  - name: genome_assembly
 
275
  dataset_size: 334784354
276
  ---
277
 
278
+ # Carbon Perturbation Bench
279
 
280
  A benchmark of **sequence-level perturbation tasks** for evaluating DNA foundation models.
281
  Each task presents pairs of genomic sequences — one real (unperturbed) and one structurally
 
290
  ### `syn_human` · `syn_mouse` — Synonymous codon substitution (20,000 pairs each)
291
 
292
  Codons within a real CDS are replaced with the highest-frequency synonym for the target
293
+ species (`recoding_mode = "optimize"`, `optimization_rate = 1.0`), while the upstream and
294
  downstream flanking sequence is left unchanged. Amino acid identity is preserved by
295
  construction. The model should prefer the natural codon usage over the artificially
296
  optimised variant.
 
304
 
305
  ### `motif_human` — CAG repeat insertion (20,000 pairs)
306
 
307
+ A 30 bp region starting 60 bp downstream of the CDS start is replaced with 10 consecutive
308
+ CAG triplets (`CAGCAGCAGCAGCAGCAGCAGCAGCAGCAG`),
309
+ mimicking the pathological trinucleotide repeat expansions underlying polyglutamine
310
+ disorders (Huntington's disease, SCAs, DRPLA). The substitution is length-preserving
311
+ (30 bp in, 30 bp out), so the total window remains 8,192 bp. All sequence outside the
312
+ patch is identical between original and perturbed.
 
313
 
314
+ - Annotations: GENCODE v45 / GRCh38; 9,705 unique genes.
315
+ - Window layout: 8,102 bp upstream flank, CDS start at position 8,102, patch at positions 8,162–8,192.
 
 
 
 
316
 
317
  ---
318
 
 
341
 
342
  # Synonymous codon substitution — human
343
  syn_human = load_dataset(
344
+ "HuggingFaceBio/carbon-perturbation-bench", "syn_human", split="test"
345
  )
346
 
347
  # Synonymous codon substitution — mouse
348
  syn_mouse = load_dataset(
349
+ "HuggingFaceBio/carbon-perturbation-bench", "syn_mouse", split="test"
350
  )
351
 
352
  # CAG motif insertion
353
  motif = load_dataset(
354
+ "HuggingFaceBio/carbon-perturbation-bench", "motif_human", split="test"
355
  )
356
  ```
357