dial481 commited on
Commit
13a15e1
·
verified ·
1 Parent(s): e7a301e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -12
README.md CHANGED
@@ -1,29 +1,82 @@
1
  ---
2
  license: cc-by-4.0
 
 
3
  tags:
4
  - genomics
5
- - proteomics
6
  - alphamissense
7
  - variant-pathogenicity
 
 
 
8
  size_categories:
9
  - 10M<n<100M
10
  ---
11
 
12
- # AlphaMissense Cache for Allelix
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
- Pre-built SQLite cache of DeepMind's [AlphaMissense](https://github.com/google-deepmind/alphamissense) missense variant pathogenicity predictions, optimized for lookup by rsID.
15
 
16
- ## Contents
17
 
18
- - `alphamissense.sqlite.gz` — gzipped SQLite database (~1.8 GB compressed, ~7.8 GB uncompressed)
19
 
20
- ## Stats
 
 
 
21
 
22
- - 71,034,269 variant records
23
- - 7,543,463 with rsID mappings (via gnomAD coordinate join)
24
- - Composite primary key: `(chrom, pos, ref, alt)`
25
- - Indexed on `rsid`
26
 
27
- ## Schema
28
 
29
- ```sql
 
 
 
1
  ---
2
  license: cc-by-4.0
3
+ task_categories:
4
+ - tabular-classification
5
  tags:
6
  - genomics
 
7
  - alphamissense
8
  - variant-pathogenicity
9
+ - proteomics
10
+ - bioinformatics
11
+ - sqlite
12
  size_categories:
13
  - 10M<n<100M
14
  ---
15
 
16
+ # Allelix AlphaMissense Pathogenicity Cache
17
+
18
+ Pre-built SQLite cache of missense variant pathogenicity predictions from [DeepMind's AlphaMissense](https://github.com/google-deepmind/alphamissense) for use with [Allelix](https://github.com/dial481/allelix).
19
+
20
+ ## What's in the file
21
+
22
+ `alphamissense.sqlite.gz` is a gzipped SQLite database containing the `alphamissense_scores` table with all ~71M missense variant predictions from AlphaMissense, 7.5M of which carry rsID mappings via a gnomAD v4.1 coordinate join.
23
+
24
+ ### Schema
25
+
26
+ ```sql
27
+ CREATE TABLE alphamissense_scores (
28
+ chrom TEXT NOT NULL,
29
+ pos INTEGER NOT NULL,
30
+ ref TEXT NOT NULL,
31
+ alt TEXT NOT NULL,
32
+ rsid TEXT,
33
+ uniprot_id TEXT,
34
+ transcript_id TEXT,
35
+ protein_variant TEXT,
36
+ am_pathogenicity REAL NOT NULL,
37
+ am_class TEXT NOT NULL,
38
+ PRIMARY KEY (chrom, pos, ref, alt)
39
+ );
40
+
41
+ CREATE INDEX idx_am_rsid ON alphamissense_scores(rsid);
42
+ ```
43
+
44
+ ### Columns
45
+
46
+ | Column | Description |
47
+ | --- | --- |
48
+ | `chrom` | Chromosome (1-22, X, Y, no "chr" prefix) |
49
+ | `pos` | Genomic position (GRCh38) |
50
+ | `ref` | Reference allele |
51
+ | `alt` | Alternate allele |
52
+ | `rsid` | dbSNP rsID (from gnomAD v4.1 coordinate join, NULL for ~63.5M variants without exome coverage) |
53
+ | `uniprot_id` | UniProt protein accession |
54
+ | `transcript_id` | Ensembl transcript ID |
55
+ | `protein_variant` | Protein-level change (e.g., K2N) |
56
+ | `am_pathogenicity` | Pathogenicity score (0.0-1.0, higher = more pathogenic) |
57
+ | `am_class` | Classification: `likely_pathogenic`, `likely_benign`, or `ambiguous` |
58
+
59
+ ### Multi-allelic sites
60
+
61
+ The composite primary key `(chrom, pos, ref, alt)` preserves multi-allelic sites. A single rsID may have multiple rows with different alternate alleles and divergent pathogenicity scores. For example, chr1:69094 has G→T (0.294, likely_benign) and G→C (0.981, likely_pathogenic) at the same position.
62
+
63
+ ## How Allelix uses this
64
 
65
+ Allelix downloads this file automatically during `allelix db update`. The enrichment annotator looks up variants by rsID and returns `MAX(am_pathogenicity)` across alleles for a given rsID. The AM Score column appears in terminal, HTML, and JSON reports. AlphaMissense scores reflect predicted protein structural impact only — not clinical or pharmacogenomic significance.
66
 
67
+ ## Building from source
68
 
69
+ The cache can be rebuilt from the AlphaMissense Zenodo TSV using the build script included with Allelix:
70
 
71
+ ```bash
72
+ python scripts/build_alphamissense_cache.py --tsv AlphaMissense_hg38.tsv.gz --output alphamissense.sqlite
73
+ gzip alphamissense.sqlite
74
+ ```
75
 
76
+ The build script joins against the gnomAD cache (if present) to populate rsID mappings. Without gnomAD, all rsID fields will be NULL and the annotator will not match any variants by rsID.
 
 
 
77
 
78
+ ## Source and license
79
 
80
+ - **Source:** [AlphaMissense](https://zenodo.org/records/8208688) (Cheng et al., *Science* 2023, Google DeepMind)
81
+ - **License:** [Creative Commons Attribution 4.0 (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)
82
+ - **Citation:** Cheng J, Novati G, Pan J, et al. Accurate proteome-wide missense variant effect prediction with AlphaMissense. *Science*. 2023;381(6664):eadg7492.