Skip to content

Commit

Permalink
changing reactome regulator edges to use affects increased/decreased …
Browse files Browse the repository at this point in the history
…expression model instead of regulates
  • Loading branch information
EvanDietzMorris committed Feb 9, 2024
1 parent 28780d3 commit b33332c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions parsers/Reactome/src/loadReactome.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"cellType": "biolink:located_in",
"goBiologicalProcess": "biolink:subclass_of",
"disease": "biolink:disease_has_basis_in",
"regulator": "biolink:regulates",
"regulator": "biolink:affects",
"species": "biolink:in_taxon",
"includedLocation": "biolink:located_in"}

Expand Down Expand Up @@ -434,15 +434,15 @@ def process_edge_from_neo4j(self,
)
else:
if regulation_type == 'positive':
direction = 'upregulated'
direction = 'increased'
elif regulation_type == 'negative':
direction = 'downregulated'
direction = 'decreased'
else:
self.logger.warning(f'Unexpected regulation type encountered: {regulation_type}')
return
edge_props = {
'qualified_predicate': 'causes',
'object_aspect': 'activity',
'object_aspect': 'expression',
'object_direction_qualifier': direction,
}
if complex_context:
Expand Down

0 comments on commit b33332c

Please sign in to comment.