Skip to content

Commit

Permalink
Convert activity type mapping to log-scale.
Browse files Browse the repository at this point in the history
The activity and potency types on Drug Central are log-scaled, so let's add the "p" in front of the activity types to reflect that.
  • Loading branch information
beasleyjonm authored Nov 24, 2024
1 parent 1867684 commit 896e7af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions parsers/drugcentral/src/loaddrugcentral.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,11 @@ def get_bioactivity_predicate(line):
'RELEASING AGENT':'biolink:interacts_with'}
act_type_mappings = {
'IC50':'biolink:decreases_activity_of',
'Kd':'biolink:interacts_with',
'AC50':'biolink:increases_activity_of',
'Ki':'biolink:decreases_activity_of',
'EC50':'biolink:increases_activity_of'
'pIC50':'biolink:decreases_activity_of',
'pKd':'biolink:interacts_with',
'pAC50':'biolink:increases_activity_of',
'pKi':'biolink:decreases_activity_of',
'pEC50':'biolink:increases_activity_of'
}
"""

Expand Down

0 comments on commit 896e7af

Please sign in to comment.