pyobo
pyobo copied to clipboard
Some FamPlex equivalences have missing namespace
Some of the target name spaces in the FamPlex equivalences file are not recognized and are replaced by None when processing the xrefs df. Example: MEDSCAN urn:agi-aopfc:0000458 is picked up as None:urn:agi-aopfc:0000458. Similarly IP (InterPro) entries are picked up as None:IPR008349. Where should the mapping of these be fixed? In get_famplex_xrefs_df
or normalize_prefix
, or some other place?
Just found that there is already an entry in the metaregistry that should handle this but that doesn't appear to apply here:
https://github.com/pyobo/pyobo/blob/ba0db6df0b3f622b1d2dba8bf4a51a6a8bee31e1/src/pyobo/registries/metaregistry.json#L421-L424
The interpro problem was solved with #42, now all we need to do is add MEDSCAN to the metaregistry and should also be solved.