Add dataset README (reproduction guide)
Browse files
README.md
CHANGED
|
@@ -10,80 +10,132 @@ tags:
|
|
| 10 |
- zarr
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# pevo-msa-grch38-19way (dataset)
|
| 14 |
|
| 15 |
-
**EN:**
|
| 16 |
-
**中文:** 灵长类
|
| 17 |
|
| 18 |
| | |
|
| 19 |
| --- | --- |
|
| 20 |
-
| **Code
|
| 21 |
| **Model checkpoints** | [jasperyeoh2/pevo-msa-mlm-19way](https://huggingface.co/jasperyeoh2/pevo-msa-mlm-19way) |
|
| 22 |
-
| **
|
| 23 |
| **Upload audit** | `docs/UPLOAD_AUDIT.md` on GitHub |
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
## Quick download / 快速下载
|
| 26 |
|
| 27 |
```bash
|
| 28 |
pip install -U huggingface_hub
|
| 29 |
|
| 30 |
-
#
|
| 31 |
-
hf download jasperyeoh2/pevo-msa-grch38-19way --repo-type dataset --local-dir data_hf
|
| 32 |
-
|
| 33 |
-
# Paper tables only (~hundreds of MB)
|
| 34 |
hf download jasperyeoh2/pevo-msa-grch38-19way --repo-type dataset --local-dir data_hf \
|
| 35 |
--include 'thesis_repro/**' 'docs/**'
|
| 36 |
|
| 37 |
-
# Training
|
| 38 |
hf download jasperyeoh2/pevo-msa-grch38-19way --repo-type dataset --local-dir data_hf \
|
| 39 |
--include 'new_dataset_27feb/msaasr_dataset_10primates_full/**'
|
|
|
|
|
|
|
|
|
|
| 40 |
```
|
| 41 |
|
| 42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
| --- | --- |
|
| 46 |
-
| `
|
| 47 |
-
| `
|
| 48 |
-
| `
|
| 49 |
-
| `
|
| 50 |
-
| `conservation_pipeline/scores/` | Per-chromosome phastCons / phyloP `.wig` tracks |
|
| 51 |
-
| Root `train_*.parquet`, `windows_10primates_*.parquet` | Multi-resolution window snapshots |
|
| 52 |
-
| `phylo_msa1/outputs/strictv2_frozen_1000_eval_20260506/` | Matched-width strict-v2 eval (May 2026) |
|
| 53 |
|
| 54 |
-
|
| 55 |
|
| 56 |
-
##
|
| 57 |
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
-
|
| 61 |
-
REPO=pevo-msa-primate-genomics
|
| 62 |
-
DATA=data_hf
|
| 63 |
|
| 64 |
-
|
| 65 |
-
cp $DATA/thesis_repro/phylo_msa1_outputs/VEP_*.csv $REPO/phylo_msa1/outputs/
|
| 66 |
-
cp $DATA/thesis_repro/phylo_msa1_outputs/vep_all_base_models/*.parquet $REPO/phylo_msa1/outputs/vep_all_base_models/
|
| 67 |
|
| 68 |
-
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
```
|
| 74 |
|
| 75 |
-
|
| 76 |
|
| 77 |
-
## MSAASR Zarr
|
| 78 |
|
| 79 |
1. Download `new_dataset_27feb/msaasr_dataset_10primates_full/bundles/msaasr.zarr.bundle_*.tar`
|
| 80 |
-
2.
|
| 81 |
-
3.
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
-
##
|
| 84 |
|
| 85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
-
##
|
| 88 |
|
| 89 |
-
|
|
|
|
|
|
| 10 |
- zarr
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# pevo-msa-grch38-19way (dataset Hub)
|
| 14 |
|
| 15 |
+
**EN:** Training data, thesis tables, and reproduction artifacts for primate MSA variant-effect modeling.
|
| 16 |
+
**中文:** 灵长类 MSA 变异效应建模的**训练数据**与**论文复现数据**(不含模型权重)。
|
| 17 |
|
| 18 |
| | |
|
| 19 |
| --- | --- |
|
| 20 |
+
| **Code & experiment map** | [github.com/jasperyeoh/pevo-msa-primate-genomics](https://github.com/jasperyeoh/pevo-msa-primate-genomics) — see `EXPERIMENT_MAP.md` |
|
| 21 |
| **Model checkpoints** | [jasperyeoh2/pevo-msa-mlm-19way](https://huggingface.co/jasperyeoh2/pevo-msa-mlm-19way) |
|
| 22 |
+
| **Full file tree** | `docs/HUGGINGFACE_DATASET_LAYOUT.md` (this repo) |
|
| 23 |
| **Upload audit** | `docs/UPLOAD_AUDIT.md` on GitHub |
|
| 24 |
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## Dataset vs model — which Hub?
|
| 28 |
+
|
| 29 |
+
```text
|
| 30 |
+
GitHub (code + small CSV) THIS REPO (data) MODEL REPO (weights)
|
| 31 |
+
───────────────────────── ──────────────── ────────────────────
|
| 32 |
+
scripts, configs, thesis CSV → Zarr, MAF, thesis_repro + base_models/*/checkpoint-best
|
| 33 |
+
windows, conservation configs/, inventory/
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
---
|
| 37 |
+
|
| 38 |
## Quick download / 快速下载
|
| 39 |
|
| 40 |
```bash
|
| 41 |
pip install -U huggingface_hub
|
| 42 |
|
| 43 |
+
# A) Paper reproduction only (~hundreds of MB)
|
|
|
|
|
|
|
|
|
|
| 44 |
hf download jasperyeoh2/pevo-msa-grch38-19way --repo-type dataset --local-dir data_hf \
|
| 45 |
--include 'thesis_repro/**' 'docs/**'
|
| 46 |
|
| 47 |
+
# B) Training corpus (Zarr per-chromosome tar — extract after download)
|
| 48 |
hf download jasperyeoh2/pevo-msa-grch38-19way --repo-type dataset --local-dir data_hf \
|
| 49 |
--include 'new_dataset_27feb/msaasr_dataset_10primates_full/**'
|
| 50 |
+
|
| 51 |
+
# C) Full snapshot (100GB+)
|
| 52 |
+
hf download jasperyeoh2/pevo-msa-grch38-19way --repo-type dataset --local-dir data_hf
|
| 53 |
```
|
| 54 |
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## `thesis_repro/` — paper tables & scores
|
| 58 |
+
|
| 59 |
+
Restore into a Git clone (paths expected by `thesis_manu_v2_6/scripts/`):
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
git clone https://github.com/jasperyeoh/pevo-msa-primate-genomics.git
|
| 63 |
+
cd pevo-msa-primate-genomics
|
| 64 |
+
hf download jasperyeoh2/pevo-msa-grch38-19way --repo-type dataset --local-dir ../data_hf \
|
| 65 |
+
--include 'thesis_repro/**'
|
| 66 |
+
|
| 67 |
+
mkdir -p phylo_msa1/outputs/vep_all_base_models
|
| 68 |
+
cp ../data_hf/thesis_repro/phylo_msa1_outputs/VEP_*.csv phylo_msa1/outputs/
|
| 69 |
+
cp ../data_hf/thesis_repro/phylo_msa1_outputs/vep_all_base_models/*.parquet \
|
| 70 |
+
phylo_msa1/outputs/vep_all_base_models/
|
| 71 |
|
| 72 |
+
cp -a ../data_hf/thesis_repro/dna_foundation_benchmark_results_final \
|
| 73 |
+
downstream_tasks/dna_foundation_benchmark/results_final
|
| 74 |
+
|
| 75 |
+
mkdir -p thesis_manu_v2_6/artifacts
|
| 76 |
+
cp ../data_hf/thesis_repro/thesis_manu_v2_6_artifacts/* thesis_manu_v2_6/artifacts/
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
**Tip:** Many **summary CSVs** are also on GitHub now — `git clone` alone is enough for Tier-A LaTeX regeneration (see `EXPERIMENT_MAP.md`).
|
| 80 |
+
|
| 81 |
+
| `thesis_repro/` path | Used for |
|
| 82 |
| --- | --- |
|
| 83 |
+
| `phylo_msa1_outputs/VEP_*.csv` | VEP leaderboards, strict-v2 tables (`tab:vep_*`, `tab:strictv2_*`) |
|
| 84 |
+
| `phylo_msa1_outputs/vep_all_base_models/*.parquet` | Per-checkpoint VEP vectors, ablation registry |
|
| 85 |
+
| `dna_foundation_benchmark_results_final/` | Feng AUROC tables/figures (`tab:feng_*`, `fig:feng_*`) |
|
| 86 |
+
| `thesis_manu_v2_6_artifacts/` | Matched-width strict-v2 bootstrap (May 2026) |
|
|
|
|
|
|
|
|
|
|
| 87 |
|
| 88 |
+
---
|
| 89 |
|
| 90 |
+
## Main data prefixes / 主要数据目录
|
| 91 |
|
| 92 |
+
| Prefix | Contents | Size |
|
| 93 |
+
| --- | --- | --- |
|
| 94 |
+
| `thesis_repro/` | Paper CSV + VEP parquets + Feng summaries | small |
|
| 95 |
+
| `new_dataset_27feb/msaasr_dataset_10primates_full/bundles/` | 24× `msaasr.zarr.bundle_*.tar` | ~132 GB total |
|
| 96 |
+
| `new_dataset_27feb/gpnmsa_1024bp_pipeline/` | 1024bp window parquets, VEP ablation (VCFs may be chunked) | mixed |
|
| 97 |
+
| `window_workspace/neutral_model_10primates/` | `merged_10primates_training.maf` | ~23 GB |
|
| 98 |
+
| `conservation_pipeline/scores/` | phastCons / phyloP `.wig` per chromosome | moderate |
|
| 99 |
+
| Root `train_*.parquet`, `windows_10primates_*.parquet` | Multi-resolution window panels | moderate each |
|
| 100 |
+
| `msaasr.zarr/` (legacy) | Old chunk tree at repo root | prefer **bundles** |
|
| 101 |
|
| 102 |
+
---
|
|
|
|
|
|
|
| 103 |
|
| 104 |
+
## Thesis figure/table index (data side)
|
|
|
|
|
|
|
| 105 |
|
| 106 |
+
| LaTeX label | Data on this Hub |
|
| 107 |
+
| --- | --- |
|
| 108 |
+
| `tab:vep_*`, `tab:strictv2_*`, `tab:vep_leaderboard_full` | `thesis_repro/phylo_msa1_outputs/VEP_*.csv` (+ parquets) |
|
| 109 |
+
| `fig:feng_*`, `tab:feng_*` | `thesis_repro/dna_foundation_benchmark_results_final/` |
|
| 110 |
+
| `fig:gnomad-tail-*` | CSV on **GitHub**; score parquets cluster-only |
|
| 111 |
+
| Retrain from scratch | `bundles/*.tar` → extract `msaasr.zarr/` |
|
| 112 |
|
| 113 |
+
Checkpoints for scoring: **model Hub** `base_models/full_training_*/checkpoint-best/`.
|
| 114 |
+
Full mapping: GitHub `EXPERIMENT_MAP.md`.
|
|
|
|
| 115 |
|
| 116 |
+
---
|
| 117 |
|
| 118 |
+
## MSAASR Zarr restore / 训练语料恢复
|
| 119 |
|
| 120 |
1. Download `new_dataset_27feb/msaasr_dataset_10primates_full/bundles/msaasr.zarr.bundle_*.tar`
|
| 121 |
+
2. Read `README_MSAASR_BUNDLES.md` in that folder
|
| 122 |
+
3. Extract to `new_dataset_27feb/msaasr_dataset_10primates_full/msaasr.zarr/`
|
| 123 |
+
4. Do **not** rely on root `msaasr.zarr/` chunk trees (millions of files; slow)
|
| 124 |
+
|
| 125 |
+
---
|
| 126 |
|
| 127 |
+
## Regenerate thesis LaTeX (minimal)
|
| 128 |
|
| 129 |
+
```bash
|
| 130 |
+
cd pevo-msa-primate-genomics/thesis_manu_v2_6/scripts
|
| 131 |
+
python3 gen_strictv2_ci_artifacts.py
|
| 132 |
+
python3 gen_feng_combined_seq_and_l7_auroc.py
|
| 133 |
+
cd .. && latexmk -pdf main.tex
|
| 134 |
+
```
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
|
| 138 |
+
## Citation & license
|
| 139 |
|
| 140 |
+
Cite the thesis/preprint and pin this dataset commit from **History**.
|
| 141 |
+
License: MIT (dataset card). gnomAD / ClinVar / EPO data remain under their original terms.
|