From f75ea14ade2f222e5eac7e457ddbcd4093638cea Mon Sep 17 00:00:00 2001 From: logust79 Date: Thu, 18 May 2017 10:30:52 +0100 Subject: [PATCH] Update Cypher-Queries.md change `gv.cadd` to `gv.cadd_phred`, and add a missing `;` --- docs/Cypher-Queries.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ```