gonzalobenegas
commited on
Commit
•
ec457cf
1
Parent(s):
d32f59d
Update README.md
Browse files
README.md
CHANGED
@@ -10,7 +10,7 @@ Missense variants considered "Pathogenic" by human labelers.
|
|
10 |
Regulatory variants considered "Pathogenic" by human labelers, curated in [this paper](https://doi.org/10.1016/j.ajhg.2016.07.005).
|
11 |
|
12 |
**gnomAD**:
|
13 |
-
A subset of rare (MAC=1) and common (MAF > 1%) variants from different categories.
|
14 |
|
15 |
## Usage
|
16 |
```python
|
@@ -19,6 +19,17 @@ from datasets import load_dataset
|
|
19 |
dataset = load_dataset("songlab/human_variants", split="test")
|
20 |
```
|
21 |
|
22 |
-
Subset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
```
|
|
|
|
|
|
|
|
|
24 |
```
|
|
|
10 |
Regulatory variants considered "Pathogenic" by human labelers, curated in [this paper](https://doi.org/10.1016/j.ajhg.2016.07.005).
|
11 |
|
12 |
**gnomAD**:
|
13 |
+
A subset of rare (MAC=1) and common (MAF > 1%) variants from different categories (missense, synonymous, ncRNA, intronic, upstream, etc.).
|
14 |
|
15 |
## Usage
|
16 |
```python
|
|
|
19 |
dataset = load_dataset("songlab/human_variants", split="test")
|
20 |
```
|
21 |
|
22 |
+
Subset for comparing ClinVar Pathogenic missense vs. gnomAD common (MAF > 5%) missense (can specify `num_proc` to speed up):
|
23 |
+
```python
|
24 |
+
dataset = dataset.filter(lambda v: v["source"]=="ClinVar" or (v["source"]=="gnomAD" and "missense" in v["consequence"] and v["MAF"] > 5/100))
|
25 |
+
```
|
26 |
+
|
27 |
+
Subset for comparing OMIM Pathogenic regulatory vs. gnomAD common (MAF > 5%) regulatory:
|
28 |
+
```python
|
29 |
+
dataset = dataset.filter(lambda v: v["source"]=="OMIM" or (v["source"]=="gnomAD" and "missense" not in v["consequence"] and v["MAF"] > 5/100))
|
30 |
```
|
31 |
+
|
32 |
+
Subset for comparing gnomAD rare vs. gnomAD common (MAF > 1%):
|
33 |
+
```python
|
34 |
+
dataset = dataset.filter(lambda v: v["source"]=="gnomAD")
|
35 |
```
|