From 8aae6e9b8a85ed53e40271b39b9adc028833bc5c Mon Sep 17 00:00:00 2001 From: souzadevinicius Date: Tue, 13 Aug 2024 17:43:11 +0100 Subject: [PATCH] Adding id node to the query --- queries/gwas_snps_to_human_diseases.cypher | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/queries/gwas_snps_to_human_diseases.cypher b/queries/gwas_snps_to_human_diseases.cypher index f5eb08c..c9da736 100644 --- a/queries/gwas_snps_to_human_diseases.cypher +++ b/queries/gwas_snps_to_human_diseases.cypher @@ -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 \ No newline at end of file +RETURN p \ No newline at end of file