Skip to content

Commit

Permalink
Update Cypher-Queries.md
Browse files Browse the repository at this point in the history
change `gv.cadd` to `gv.cadd_phred`, and add a missing `;`
  • Loading branch information
logust79 committed May 18, 2017
1 parent e86eb6c commit f75ea14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Cypher-Queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ 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);
```
## For a Term, find all the Descendant Terms
```
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)
```
Expand Down

0 comments on commit f75ea14

Please sign in to comment.