Skip to content

Commit

Permalink
Add additional namespaces in Reach processor
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Apr 4, 2023
1 parent b358526 commit db24187
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indra/databases/identifiers.py
Expand Up @@ -35,7 +35,8 @@
non_registry = {
'SDIS', 'SCHEM', 'SFAM', 'SCOMP', 'HMS-LINCS', 'NXPFA',
'OMIM', 'LSPCI', 'UPLOC', 'BFO', 'CCLE', 'CLO', 'GENBANK', 'CALOHA',
'DRUGBANK.SALT', 'SMILES', 'NIHREPORTER.PROJECT', 'GOOGLE.PATENT', 'SPINE'
'DRUGBANK.SALT', 'SMILES', 'NIHREPORTER.PROJECT', 'GOOGLE.PATENT', 'SPINE',
'VO', 'EMAPA', 'INO', 'CIDO', 'OAE', 'OHPI', 'PHIPO'
}

# These are reverse mappings from identifiers.org namespaces to INDRA
Expand Down
4 changes: 4 additions & 0 deletions indra/sources/reach/processor.py
Expand Up @@ -520,6 +520,10 @@ def _get_db_refs(entity_term, organism_priority=None):
db_refs['UBERON'] = xr['id']
elif ns == 'cellosaurus':
db_refs['CVCL'] = xr['id']
elif ns in ['uo', 'ncit', 'edam.topic', 'ncbitaxon', 'vo', 'bto',
'efo', 'swo', 'iobc', 'ohpi', 'obi', 'ino',
'ido', 'pr']:
db_refs[ns.upper()] = xr['id']
# These name spaces are ignored
elif ns in ['uaz']:
pass
Expand Down

0 comments on commit db24187

Please sign in to comment.