Skip to content

Commit

Permalink
Handle a few more cases for RNA grounding
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Feb 6, 2018
1 parent 333f19c commit 5a77890
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion indra/sources/biopax/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,12 +1121,14 @@ def _get_rna_grounding(bpe):
if dbname is None:
continue
dbname = dbname.upper()
if dbname == 'MIRBASE SEQUENCE':
if dbname in ('MIRBASE SEQUENCE', 'MIRBASE'):
rna_grounding['MIRBASE'] = dbid
elif dbname == 'MIRBASE MATURE SEQUENCE':
rna_grounding['MIRBASEM'] = dbid
elif dbname == 'NCBI GENE':
rna_grounding['NCBI'] = dbid
elif dbname == 'ENSEMBL':
rna_grounding['ENSEMBL'] = dbid
return rna_grounding

@staticmethod
Expand Down

0 comments on commit 5a77890

Please sign in to comment.