Skip to content

Commit

Permalink
Update Cypher-Queries.md
Browse files Browse the repository at this point in the history
speed up demo on `## Find Variants shared by a list of Individuals, that no one else has`, using named relation instead of named target node.
  • Loading branch information
logust79 committed May 18, 2017
1 parent db44e26 commit dd10279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Cypher-Queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ WHERE p.personId IN individuals
WITH v, count(*) as c, individuals
WHERE c = size(individuals)
with v, individuals
where size((v)-[]-(:Person)) = size(individuals)
where size((v)-[:HetVariantToPerson|HomVariantToPerson]-()) = size(individuals)
RETURN v.variantId;
```
## Individuals who have a Term
Expand Down

0 comments on commit dd10279

Please sign in to comment.