From d06381a46f5d948fc1c6796365072f2580d855ae Mon Sep 17 00:00:00 2001 From: Ben Gyori Date: Tue, 6 Feb 2018 02:18:35 -0500 Subject: [PATCH] Handle a few more cases for RNA grounding --- indra/sources/biopax/processor.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/indra/sources/biopax/processor.py b/indra/sources/biopax/processor.py index 30bb4ad344..398067eba8 100644 --- a/indra/sources/biopax/processor.py +++ b/indra/sources/biopax/processor.py @@ -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