Data Integrator (Python API)
|
Drug binding partners (targets, transporters, carriers, enzymes). More...
Public Member Functions | |
def | __init__ (s, bondType, partnerID) |
Constructor. More... | |
def | SetKnownAction (s, action) |
Set known pharmacological action string. More... | |
def | GetPartnerType (s) |
Get function (drug-related) of this partner (=protein). More... | |
def | GetPartnerID (s) |
Get the numerical partner ID used in the XML file. More... | |
def | GetKnownAction (s) |
Get information if there exists knowledge on how the drug works. More... | |
Drug binding partners (targets, transporters, carriers, enzymes).
Keeps a list of <action> strings, describing the purpose of binding. No controlled vocabulary here. Drug partners are proteins, which are in physical contact with a drug.
def cls.DrugBankDrug.CDrugBankDrugPartner.__init__ | ( | s, | |
bondType, | |||
partnerID | |||
) |
Constructor.
@param bondType (@c String) Type of interaction between the drug and the protein: one out of: targets, transporters, carriers, enzymes. @param partnerID (@c String) Numeric lookup identifier for partner list.
def cls.DrugBankDrug.CDrugBankDrugPartner.GetKnownAction | ( | s | ) |
Get information if there exists knowledge on how the drug works.
@return (S@c String) Either @c yes, @c no, or @c unknown.
def cls.DrugBankDrug.CDrugBankDrugPartner.GetPartnerID | ( | s | ) |
Get the numerical partner ID used in the XML file.
@return @c String.
def cls.DrugBankDrug.CDrugBankDrugPartner.GetPartnerType | ( | s | ) |
Get function (drug-related) of this partner (=protein).
@return @c String.
def cls.DrugBankDrug.CDrugBankDrugPartner.SetKnownAction | ( | s, | |
action | |||
) |
Set known pharmacological action string.
@param action (@c String) Should be either @c yes, @c no, or @c unknown.