edbeeching HF Staff commited on
Commit
2fc01e5
·
verified ·
1 Parent(s): 96b6ef7

Add Malinois MPRA dataset card

Browse files
Files changed (1) hide show
  1. README.md +92 -65
README.md CHANGED
@@ -1,67 +1,94 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: id
5
- dtype: string
6
- - name: split
7
- dtype: string
8
- - name: chromosome
9
- dtype: string
10
- - name: data_project
11
- dtype: string
12
- - name: oligo
13
- dtype: string
14
- - name: variant_class
15
- dtype: string
16
- - name: sequence
17
- dtype: string
18
- - name: sequence_length
19
- dtype: int32
20
- - name: reverse_complement
21
- dtype: string
22
- - name: forward_rc_concat
23
- dtype: string
24
- - name: K562_log2FC
25
- dtype: float32
26
- - name: HepG2_log2FC
27
- dtype: float32
28
- - name: SKNSH_log2FC
29
- dtype: float32
30
- - name: K562_lfcSE
31
- dtype: float32
32
- - name: HepG2_lfcSE
33
- dtype: float32
34
- - name: SKNSH_lfcSE
35
- dtype: float32
36
- - name: K562_log2FC_train_zscore
37
- dtype: float32
38
- - name: HepG2_log2FC_train_zscore
39
- dtype: float32
40
- - name: SKNSH_log2FC_train_zscore
41
- dtype: float32
42
- - name: all_se_le_1
43
- dtype: bool
44
- - name: any_log2fc_gt_0_5
45
- dtype: bool
46
- splits:
47
- - name: train
48
- num_bytes: 627457079
49
- num_examples: 668946
50
- - name: validation
51
- num_bytes: 58894846
52
- num_examples: 62406
53
- - name: test
54
- num_bytes: 62485771
55
- num_examples: 66712
56
- download_size: 256932482
57
- dataset_size: 748837696
58
- configs:
59
- - config_name: default
60
- data_files:
61
- - split: train
62
- path: data/train-*
63
- - split: validation
64
- path: data/validation-*
65
- - split: test
66
- path: data/test-*
67
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: Malinois/Gosai MPRA Regression
3
+ task_categories:
4
+ - tabular-regression
5
+ tags:
6
+ - biology
7
+ - genomics
8
+ - dna
9
+ - mpra
10
+ - carbon
11
+ size_categories:
12
+ - 100K<n<1M
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ---
14
+
15
+ # Malinois/Gosai MPRA Regression
16
+
17
+ This dataset preprocesses the Gosai et al. 2024 supplementary MPRA table used by the
18
+ Malinois benchmark for supervised DNA-to-activity regression. Each row contains a DNA
19
+ sequence and three cell-type-specific activity targets: `K562_log2FC`,
20
+ `HepG2_log2FC`, and `SKNSH_log2FC`.
21
+
22
+ No new license is asserted by this preprocessing. Users should follow the terms of
23
+ the source publication and supplementary data.
24
+
25
+ ## Source
26
+
27
+ - Publication: Gosai et al., *Machine-guided design of cell-type-targeting
28
+ cis-regulatory elements*, Nature 2024.
29
+ - Source table: `41586_2024_8070_MOESM4_ESM.txt`.
30
+ - Source URL: `https://static-content.springer.com/esm/art%3A10.1038%2Fs41586-024-08070-z/MediaObjects/41586_2024_8070_MOESM4_ESM.txt`.
31
+
32
+ ## Splits
33
+
34
+ Chromosome splits match the Carbon fine-tuning experiments and the public Malinois
35
+ setup we used:
36
+
37
+ | Split | Chromosomes | Rows | Rows with all SE <= 1.0 |
38
+ |---|---:|---:|---:|
39
+ | train | all except validation/test chromosomes | 668,946 | 627,661 |
40
+ | validation | 19, 21, X | 62,406 | 58,811 |
41
+ | test | 7, 13 | 66,712 | 62,582 |
42
+
43
+ Total rows after filtering finite targets/standard errors and nonempty sequences:
44
+ 798,064.
45
+
46
+ ## Columns
47
+
48
+ - `id`: original row identifier from the source table.
49
+ - `split`: train, validation, or test.
50
+ - `chromosome`: normalized chromosome label.
51
+ - `data_project`, `oligo`, `variant_class`: source metadata.
52
+ - `sequence`: uppercase DNA sequence.
53
+ - `reverse_complement`: reverse complement of `sequence`.
54
+ - `forward_rc_concat`: `<dna>sequence</dna><dna>reverse_complement</dna>`,
55
+ matching the best Carbon fine-tuning recipe.
56
+ - `K562_log2FC`, `HepG2_log2FC`, `SKNSH_log2FC`: raw regression targets.
57
+ - `K562_lfcSE`, `HepG2_lfcSE`, `SKNSH_lfcSE`: target standard errors.
58
+ - `*_train_zscore`: target standardized using train-split mean/std.
59
+ - `all_se_le_1`: true when all three SE columns are `<= 1.0`; this was the
60
+ main reported validation/test metric filter.
61
+ - `any_log2fc_gt_0_5`: true when any target is greater than `0.5`; this was used
62
+ for optional high-activity training upsampling.
63
+
64
+ Train z-score statistics:
65
+
66
+ | Target | Mean | Std |
67
+ |---|---:|---:|
68
+ | K562_log2FC | 0.49943020 | 1.17725282 |
69
+ | HepG2_log2FC | 0.46267671 | 1.05124023 |
70
+ | SKNSH_log2FC | 0.41405871 | 1.16609108 |
71
+
72
+ ## Usage
73
+
74
+ ```py
75
+ from datasets import load_dataset
76
+
77
+ ds = load_dataset("edbeeching/malinois-mpra-regression")
78
+ train = ds["train"]
79
+ validation_metric = ds["validation"].filter(lambda row: row["all_se_le_1"])
80
+
81
+ example = train[0]
82
+ sequence = example["forward_rc_concat"]
83
+ labels = [
84
+ example["K562_log2FC_train_zscore"],
85
+ example["HepG2_log2FC_train_zscore"],
86
+ example["SKNSH_log2FC_train_zscore"],
87
+ ]
88
+ ```
89
+
90
+ To recreate the dataset:
91
+
92
+ ```sh
93
+ python create_dataset.py --repo-id edbeeching/malinois-mpra-regression --push
94
+ ```