monarch-initiative / monarch-cypher-queries

4 stars 3 forks source link

Add upper bound between sequence features and genotypes #18

Closed kshefchek closed 7 years ago

kshefchek commented 7 years ago

We could improve our query performance by establishing an upper bound (distance) between a sequence features and associated genotypes. For example:

(feature)<-[:BFO:0000051!*]-(genotype:genotype)
(allele)-[:BFO:0000051!*]->(feature)

@mbrush is there a maximum distance we can expect given our current modelling?

cmungall commented 7 years ago

it should be possible to determine the current upper bound with an aggregate (max) query?