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