From 9550a76c8b987e9521199b941876ba3c6c405d41 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Thu, 1 Apr 2021 12:02:02 +0200 Subject: [PATCH] Update processor.py --- indra/sources/drugbank/processor.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/indra/sources/drugbank/processor.py b/indra/sources/drugbank/processor.py index b0a60f0b50..c3f71f5d07 100644 --- a/indra/sources/drugbank/processor.py +++ b/indra/sources/drugbank/processor.py @@ -69,7 +69,9 @@ def _get_statement_type(action): return DecreaseAmount elif action in increase_amount_actions: return IncreaseAmount - elif action in neutral_actions or action == 'N/A': + elif action == 'N/A': + return Inhibition + elif action in neutral_actions: return _complex elif action in skip_actions: return None @@ -176,7 +178,9 @@ def _complex(a, b, evidence): 'inactivator', 'binding', 'blocker', 'negative modulator', 'neutralizer', 'weak inhibitor', 'suppressor', 'disruptor', 'chelator', - 'inhibitory allosteric modulator', 'translocation inhibitor'} + 'inhibitory allosteric modulator', 'translocation inhibitor', + 'nucleotide exchange blocker', + } decrease_amount_actions = { 'downregulator', @@ -208,6 +212,9 @@ def _complex(a, b, evidence): 'reducer', 'oxidizer', 'acetylation', # map to Ac INDRA statement?, but I'm not convinced by the idea of splitting up actions + 'allosteric modulator', + 'deoxidizer', + 'cross-linking/alkylation', # e.g. Busulfan (DB01008) alkalytes DNA } skip_actions = {