finishes setup

This commit is contained in:
Philipp Jacoby
2026-02-10 17:43:26 +01:00
parent 4f1a5c311f
commit 3003310be0
39 changed files with 2251611 additions and 1188 deletions

View File

@@ -0,0 +1,7 @@
// Drugs treating diseases connected to the same genes
MATCH (g:Gene)<-[:ASSOCIATES]-(d1:Disease)<-[:TREATS]-(c:Compound),
(g)<-[:ASSOCIATES]-(d2:Disease)
WHERE NOT (c)-[:TREATS]->(d2)
RETURN c.name AS Drug, d2.name AS CandidateDisease, count(g) AS SharedGenes
ORDER BY SharedGenes DESC, Drug
LIMIT 20;