Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #300 from JervenBolleman/patch-1
Use UniProt purl's for UniProt data
- Loading branch information
cd5b1d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR broke SciGraph, because two CURIEs resolve to the same prefix. SciGraph is not able to do the inverse resolution (IRI to CURIE).
In general I don't think it makes much sense to have duplicates in either the keys or values, we have to be able to convert in both directions.
cd5b1d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, we need this to be 1:1
For general registration of alternate prefixes, consider https://github.com/prefixcommons/
cd5b1d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR reverted.
cd5b1d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arg. Didn't think to check that, sorry. Is the distinction between SwissProt,/Trembl/UniprotKB even useful to us? If not, we could collapse these prefixes to just 'UniProt' and keep it simple.
cd5b1d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cd5b1d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'UniProtKB' is fine with me, but do you agree we could collapse to that prefix? What would be involved on the data side? @kshefchek
cd5b1d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would just need to convert any TrEMBL or SwissProt prefixes to UniProtKB, we'll have to examine the sources to see where these are used.
cd5b1d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.