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

use abbreviations for evidence codes #11

Closed
nlwashington opened this issue Oct 5, 2015 · 4 comments
Closed

use abbreviations for evidence codes #11

nlwashington opened this issue Oct 5, 2015 · 4 comments

Comments

@nlwashington
Copy link

we've had a request to display the abbreviation label for "evidence" instead of the full label. (see monarch-initiative/dipper#177)

does this information come in the current golr, or do we need a special way of adding this at golr-generation time? if it is already in the golr, then we need to move this ticket to the monarch-app layer.

This seems like it ought to be a configurable thing, where the label that is placed in golr may be the "label" by default, but could be a special synonym type.

@jnguyenx
Copy link
Contributor

jnguyenx commented Oct 8, 2015

so we can either replace the existing label with a synonym, or add a new field like label_short (not sure that the current golr schema supports that though).

One concern is that there are many synonyms, how can we select the "right" one?

From SciGraph:

*http://www.geneontology.org/formats/oboInOwl#id =[ECO:0000501]

*http://www.w3.org/2000/01/rdf-schema#label =[evidence used in automatic assertion]

*iri =[http://purl.obolibrary.org/obo/ECO_0000501]

*label =[evidence used in automatic assertion]

*synonym =[inferred from electronic annotation],[IEA]

@cmungall
Copy link
Contributor

cmungall commented Oct 8, 2015

In the yaml for the loader it's possible to map arbitrary APs into (I think) arbitrary Neo4j tags (currently: synonym, definition)

We would add a new tag for 'code' (or perhaps abbreviation)

The tricky part is that you have to inspect the axiom annotation to determine (note: axiom annotations get lost in Neo4j)

If this turns out to be too hard we can make a new annotation property in ECO

@nlwashington
Copy link
Author

shouldn't the synonym have some kind of property to mark it as an abbreviation already? it does not seem to be present in the graph: http://geoffrey.crbs.ucsd.edu:9000/scigraph/graph/ECO:0000501.graphson?project=%2A

@cmungall
Copy link
Contributor

cmungall commented Oct 8, 2015

You can see it here, but you don't see the axiom annotations in scigraph: http://geoffrey.crbs.ucsd.edu:9000/scigraph/graph/ECO:0000501.json

It will probably be easiest to do this upstream

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

4 participants