Skip to content

Commit

Permalink
Adding id node to the query
Browse files Browse the repository at this point in the history
  • Loading branch information
souzadevinicius committed Aug 13, 2024
1 parent 0b69cc6 commit 8aae6e9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions queries/gwas_snps_to_human_diseases.cypher
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
MATCH (d:`biolink:Disease`)
WHERE d.`grebi:nodeId` = 'mondo:0005044'
MATCH (d:`biolink:Disease`)-[:id]->(id:Id {id: "mondo:0005044"})
WITH d
MATCH (s:`gwas:SNP`)-[]->(d)
WITH s, d
MATCH p = (d)<-[]-(s)-[]->(g:`hgnc:Gene`)
return p
RETURN p

0 comments on commit 8aae6e9

Please sign in to comment.