Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pub query #367

Open
dosumis opened this issue Oct 2, 2023 · 1 comment
Open

Add pub query #367

dosumis opened this issue Oct 2, 2023 · 1 comment
Assignees

Comments

@dosumis
Copy link
Member

dosumis commented Oct 2, 2023

3 sources of pubs:

  1. Curation of expression:
MATCH p=(n:Cell)<-[:INSTANCEOF]-()-[r:part_of]->() 
OPTIONAL MATCH (pub:pub) where pub.short_form = r.pub 
RETURN pub.label, n.label limit 100
  1. NLP
MATCH p=()-[r:has_reference]->() WHERE r.typ = ['nlp'] RETURN p LIMIT 25
  1. Ontology
MATCH p=()-[r:has_reference]->() WHERE r.typ = 'def' or r.typ  = 'syn' RETURN p LIMIT 25

Query should combine all 3 sources and have a column to distinguish between them.

Query should be on site an on VFB_connect

@dosumis
Copy link
Member Author

dosumis commented Oct 2, 2023

Note - there is an issue with inconsistency of pub edges that should be fixed.

3 sources of these links:

  1. kb - kb2 all attributes should be lists
  2. side loading by https://github.com/VirtualFlyBrain/VFB_neo4j/blob/master/src/uk/ac/ebi/vfb/neo4j/flybase2neo/expression_runner.py - or something it calls
  3. NLP pipeline.

These should all be made into lists and all code that depends on this should expect lists (side loading and queries).

(related issue - review code for dealing with synonym and def refs on ontology terms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants