Open nathanhaigh opened 6 years ago
This is a very interesting idea Nathan. Do you guys run a Chado database for your data? What does your current data transformation / loading process look like for your JBrowse installation?
I thought at one point that this type of functionality would be good as a plugin since the reference to specific URLs is something that seems like it can shift and change and it increases some maintenance burden on jbrowse, but could be very nice for a plugin to maintain
@rbuels No Chado DB...just generating track data and config files via a Snakemake pipeline and using some publicly available gene models and functional annotations.
@cmdcolin I thought that given the Gene Ontology are already actively maintaining a specification for these IDs/DB/URLs (ftp://ftp.geneontology.org/pub/go/doc/GO.xrf_abbs) that it could be used as a "definitive" source for default values.
If there was an API that could automatically be understood that would be very nice. That file appears to be hard to mechanically parse.
I don't know if maybe purl is able to automatically map ontology IDs to a url though? Example http://www.obofoundry.org/docs/Policy_for_OBO_namespace_and_associated_PURL_requests.html
In either case, it seems like it should be configurable and/or pluggable
When it comes to automatically understanding things, if there is a public SPARQL endpoint around that we could use for this, that would probably be the way to go. SPARQL queries are pretty powerful, and you can do some basic automated reasoning in them (traverse subclass relationships, etc).
On Tue, Jul 10, 2018 at 8:19 AM Colin Diesh notifications@github.com wrote:
Example http://purl.obolibrary.org/obo/GO_0000002
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GMOD/jbrowse/issues/1089#issuecomment-403861206, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEgFaobcsAw2Ta0AgAJ-YC_hN5GwuMNks5uFMXpgaJpZM4VDG_o .
As things are, the GFF3 attributes
Dbxref
andOntology_term
are displayed in plain text in the "view details" window:While it is possible to use
fmtDetailValue_Dbxref
andfmtDetailValue_Ontology_term
with callbacks to render a link:It seems that there is a centrally maintained file with Ontology and DB cross references: ftp://ftp.geneontology.org/pub/go/doc/GO.xrf_abbs
JBrowse could use this information to support these links out of the box. Then users would only need to fiddle with
fmtDetailValue_Dbxref
andfmtDetailValue_Ontology_term
if they wanted to use a different, non-authoritative, database or a custom DB.Some useful links: