zhouwanding commited on
Commit
2c3268b
·
verified ·
1 Parent(s): fd8b053

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +52 -0
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: agpl-3.0
3
+ library_name: methscope
4
+ tags:
5
+ - dna-methylation
6
+ - methylation
7
+ - wgbs
8
+ - imputation
9
+ - single-cell
10
+ ---
11
+
12
+ # MethScope — whole-genome methylation upscaler (`hg38_wg.updecx`)
13
+
14
+ Pretrained **whole-genome CpG upscaler** for
15
+ [methscope-cli](https://github.com/zhou-lab/methscope-cli). A single
16
+ self-contained bundle (`.updecx`) — the `UPDEC2` decoder plus its 1000-pattern
17
+ MRMP feature definition — that reconstructs dense CpG methylation from a sparse
18
+ query methylome.
19
+
20
+ ## Usage
21
+
22
+ ```sh
23
+ # fetch the model
24
+ hf download zhou-lab/methscope hg38_wg.updecx --local-dir .
25
+
26
+ # impute genome-wide CpG methylation from a sparse .cg
27
+ methscope upscale -o imputed.cg hg38_wg.updecx sparse.cg
28
+ ```
29
+
30
+ Inference is pure C — no CUDA or BLAS at run time (~2 s / sample, ~3 GB RAM).
31
+
32
+ ## Model
33
+
34
+ | | |
35
+ |---|---|
36
+ | genome | hg38 (29,401,795 CpGs) |
37
+ | input | 1000 MRMP features (beta + missing indicator) |
38
+ | architecture | `UPDEC2` — one processing unit per MRMP membership, N16 leaky low-rank factor, uniform rank |
39
+ | training | Loyfer sorted-cell WGBS (207 cells), fixed-29k simulated sparse queries |
40
+ | external validation | 2018_Zhou cohort, genome-uniform MAE **0.1076** (beats the per-block baseline; see the lab journal) |
41
+ | size | 2.8 GB |
42
+
43
+ Trained with `methscope upscale-train` (CUDA). See the
44
+ [methscope-cli documentation](https://zhou-lab.github.io/methscope-cli/) and the
45
+ [model catalog](https://github.com/zhou-lab/methscope_data) for the classifier
46
+ and deconvolution bundles.
47
+
48
+ ## Citation
49
+
50
+ Hongxiang Fu, Chin Nien Lee, Cameron Cloud, Hao Xu, Yanxiang Deng, Wanding Zhou.
51
+ *MethScope: Ultra-fast Analysis of Sparse DNA Methylome via Recurrent Pattern
52
+ Encoding.*