Skip to content

Commit

Permalink
Merge pull request #300 from JervenBolleman/patch-1
Browse files Browse the repository at this point in the history
Use UniProt purl's for UniProt data
  • Loading branch information
jmcmurry committed May 2, 2016
2 parents cee3a2e + 3a66857 commit cd5b1d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dipper/curie_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@
'HPRD' : 'http://www.hprd.org/protein/'
'NCBIProtein' : 'http://www.ncbi.nlm.nih.gov/protein/'
'PDB' : 'http://identifiers.org/PDB:'
'SwissProt' : 'http://identifiers.org/SwissProt:'
'TrEMBL' : 'http://www.uniprot.org/uniprot/'
'UniProtKB' : 'http://identifiers.org/uniprot/'
'SwissProt' : 'http://purl.uniprot.org/uniprot/'
'TrEMBL' : 'http://purl.uniprot.org/uniprot/'
'UniProtKB' : 'http://purl.uniprot.org/uniprot/'

#chemicals
'CID' : 'http://pubchem.ncbi.nlm.nih.gov/compound/'
Expand Down

8 comments on commit cd5b1d3

@jnguyenx
Copy link
Contributor

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.

@cmungall
Copy link
Member

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/

@jnguyenx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR reverted.

@jmcmurry
Copy link
Member Author

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.

@cmungall
Copy link
Member

@cmungall cmungall commented on cd5b1d3 May 4, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmcmurry
Copy link
Member Author

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

@kshefchek
Copy link
Contributor

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.

@cmungall
Copy link
Member

@cmungall cmungall commented on cd5b1d3 May 4, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.