gonzalobenegas commited on
Commit
a74b7cc
·
1 Parent(s): ec457cf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -26,7 +26,8 @@ dataset = dataset.filter(lambda v: v["source"]=="ClinVar" or (v["source"]=="gnom
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%):
 
26
 
27
  Subset for comparing OMIM Pathogenic regulatory vs. gnomAD common (MAF > 5%) regulatory:
28
  ```python
29
+ cs = ["5_prime_UTR", "upstream_gene", "intergenic", "3_prime_UTR", "non_coding_transcript_exon"]
30
+ dataset = dataset.filter(lambda v: v["source"]=="OMIM" or (v["source"]=="gnomAD" and "missense" not in v["consequence"] and any([c in v["consequence"] for c in cs]) and v["MAF"] > 5/100))
31
  ```
32
 
33
  Subset for comparing gnomAD rare vs. gnomAD common (MAF > 1%):