diff --git a/docs/Cypher-Queries.md b/docs/Cypher-Queries.md index 90621cd..3337be6 100644 --- a/docs/Cypher-Queries.md +++ b/docs/Cypher-Queries.md @@ -66,7 +66,7 @@ RETURN count(s.gene_id); ## Find Variants which have a frequency less than 0.001 and a CADD score greater than 20 ``` MATCH (gv:GeneticVariant) -WHERE gv.cadd > 20 +WHERE gv.cadd_phred > 20 AND gv.allele_freq < 0.001 RETURN count(gv); ``` @@ -74,7 +74,7 @@ RETURN count(gv); ``` MATCH (p:Term)-[:TermToDescendantTerms]->(q:Term) where p.termId ='HP:0000505' -return q +return q; ``` ## Find all Individuals with a specific Term (and any of its descendants) ```