Skip to content

Commit 1f094a4

Browse files
authored
Merge pull request #1489 from haohangyan/signor_processor
Signor Processor Jan 2026 release
2 parents bd24641 + 20feca8 commit 1f094a4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

indra/sources/signor/processor.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ def _get_agent(self, ent_name, ent_type, id, database):
246246
# SIGNOR's format in which it leaves extra spaces around
247247
# the ID, as in 'CID: 923'
248248
id = id[4:].strip()
249+
if database == 'ChEBI':
250+
id = process_chebi_id(id)
249251
# In older releases PubChem substance IDs were used with
250252
# ChEBI as the source, these were later changed to use
251253
# PUBCHEM
@@ -576,10 +578,20 @@ def process_uniprot_entry(up_id):
576578
# Fix for a July 2024 release issue
577579
if up_id == 'MDM2':
578580
return {'UP': 'Q00987'}
581+
# Fix for a Jan 2026 release issue
582+
if up_id == 'RAB1A':
583+
return {'UP': 'P62820'}
579584
parts = up_id.split('-')
580585
if len(parts) == 1:
581586
return {'UP': up_id}
582587
elif parts[1].startswith('PRO'):
583588
return {'UP': parts[0], 'UPPRO': parts[1]}
584589
else:
585-
return {'UP': parts[0], 'UPISO': up_id}
590+
return {'UP': parts[0], 'UPISO': up_id}
591+
592+
593+
def process_chebi_id(chebi_id):
594+
# Fix for a Jan 2026 release issue
595+
if chebi_id == 'ribosomalRNA':
596+
return 'CHEBI:18111'
597+
return 'CHEBI:' + chebi_id.split(':')[1].strip()

0 commit comments

Comments
 (0)