Data Integrator (Python API)
Public Member Functions | List of all members
cls.DrugBankDrug.CDrugBankDrugPartner Class Reference

Drug binding partners (targets, transporters, carriers, enzymes). More...

Inheritance diagram for cls.DrugBankDrug.CDrugBankDrugPartner:
Inheritance graph
[legend]
Collaboration diagram for cls.DrugBankDrug.CDrugBankDrugPartner:
Collaboration graph
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ GetKnownAction()

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.

◆ GetPartnerID()

def cls.DrugBankDrug.CDrugBankDrugPartner.GetPartnerID (   s)

Get the numerical partner ID used in the XML file.

    @return @c String.

◆ GetPartnerType()

def cls.DrugBankDrug.CDrugBankDrugPartner.GetPartnerType (   s)

Get function (drug-related) of this partner (=protein).

    @return @c String.

◆ SetKnownAction()

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.

The documentation for this class was generated from the following file: