-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmarker-disease.yaml
24 lines (24 loc) · 1.21 KB
/
marker-disease.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
query: |
MATCH path=(subject:gene)<-[geno:GENO:0000418|GENO:0000639!*0..1]-(feature)-[relation:RO:0003304|RO:0002326|RO:0002610!]->(object:disease)
RETURN path,
subject, object, relation,
'marker_disease' as association_type,
'gene' AS subject_category,
'disease' AS object_category,
'inferred through variant' as qualifier
UNION ALL
MATCH path=(subject:gene)<-[:GENO:0000418|GENO:0000639!]-(variant)<-[:BFO:0000051!*]-(genotype:genotype)-[relation:RO:0003304|RO:0002326|RO:0002610!]->(object:disease)
RETURN path,
subject, object, relation,
'marker_disease' as association_type,
'gene' AS subject_category,
'disease' AS object_category,
'inferred through genotype' as qualifier
UNION ALL
MATCH path=(subject:gene)<-[:GENO:0000418|GENO:0000639!]-(variant)<-[:BFO:0000051!*]-(genotype:genotype)<-[:GENO:0000222|RO:0001000*1..2]-(person)-[relation:RO:0002200!]->(object:disease)
RETURN path,
subject, object, relation,
'marker_disease' as association_type,
'gene' AS subject_category,
'disease' AS object_category,
'inferred through disease model' as qualifier