ncbo / BioPortal-to-KGX

Assemble a BioPortal Knowledge Graph
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Fix prefixes for OBO:[external resource] #68

Closed caufieldjh closed 2 years ago

caufieldjh commented 2 years ago

This is more of an issue for kg-bioportal, but it can be addressed here. Some CURIES contain pound signs (no, I will not call them hash signs, etc etc), e.g. in PR:

OBO:EnsemblBacteria#_BruAb1_2100

or

OBO:dictyBase#_DDB_G0276875

This only becomes an issue once we hit the cat-merge step in kg-bioportal, at which point everything after the # is truncated, leaving redundant-looking CURIEs like OBO:dictyBase. That's not really a bug, and it can be fixed by assigning the specific prefixes for these cases.

caufieldjh commented 2 years ago

This is a problem with PR in particular.