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

Drug interaction partner storage and access. More...

Public Member Functions

def __init__ (s, identifier="")
 Constructor. More...
 
def __str__ (s)
 
def SetPartnerID (s, identifier)
 Set the protein's internal identifier. More...
 
def SetName (s, name)
 Set the protein's name. More...
 
def SetGeneName (s, symbol)
 Set the HGNC gene symbol which codes for this protein. More...
 
def SetSpeciesName (s, spName)
 Set the species name where the protein is expressed. More...
 
def SetUniProtTaxonID (s, identifier)
 Set the organism's UniProt taxonomy identifier where this protein is found. More...
 
def SetUniProtAccession (s, identifier)
 Set the UniProt identifier of this protein. More...
 
def GetPartnerID (s)
 Get the numeric partner identifier used in the XML file. More...
 
def GetName (s)
 Get the protein's name. More...
 
def GetGeneName (s)
 Get the HGNC gene symbol which codes for this protein. More...
 
def GetSpeciesName (s)
 Get the species name where this protein is expressed. More...
 
def GetUniProtTaxonID (s)
 Get the organism's UniProt taxonomy identifier where this protein is found. More...
 
def GetUniProtAccession (s)
 Get the UniProt identifier of this protein. More...
 

Detailed Description

Drug interaction partner storage and access.

Constructor & Destructor Documentation

◆ __init__()

def cls.DrugBankPartner.CDrugBankPartner.__init__ (   s,
  identifier = "" 
)

Constructor.

    @param identifier  (@c String) Numeric identifier for drug linking.

Member Function Documentation

◆ __str__()

def cls.DrugBankPartner.CDrugBankPartner.__str__ (   s)

◆ GetGeneName()

def cls.DrugBankPartner.CDrugBankPartner.GetGeneName (   s)

Get the HGNC gene symbol which codes for this protein.

    @return @c String.

◆ GetName()

def cls.DrugBankPartner.CDrugBankPartner.GetName (   s)

Get the protein's name.

    @return @c String.

◆ GetPartnerID()

def cls.DrugBankPartner.CDrugBankPartner.GetPartnerID (   s)

Get the numeric partner identifier used in the XML file.

    This identifier is used by the <drug> element for linking drugs to
    partners.
    @return @c String.

◆ GetSpeciesName()

def cls.DrugBankPartner.CDrugBankPartner.GetSpeciesName (   s)

Get the species name where this protein is expressed.

    @return @c String.

◆ GetUniProtAccession()

def cls.DrugBankPartner.CDrugBankPartner.GetUniProtAccession (   s)

Get the UniProt identifier of this protein.

    @return @c String.

◆ GetUniProtTaxonID()

def cls.DrugBankPartner.CDrugBankPartner.GetUniProtTaxonID (   s)

Get the organism's UniProt taxonomy identifier where this protein is found.

Returns
String.

◆ SetGeneName()

def cls.DrugBankPartner.CDrugBankPartner.SetGeneName (   s,
  symbol 
)

Set the HGNC gene symbol which codes for this protein.

    @param name  (@c String) HGNC primary symbol.

◆ SetName()

def cls.DrugBankPartner.CDrugBankPartner.SetName (   s,
  name 
)

Set the protein's name.

    @param name  (@c String) Protein name.

◆ SetPartnerID()

def cls.DrugBankPartner.CDrugBankPartner.SetPartnerID (   s,
  identifier 
)

Set the protein's internal identifier.

    @param identifier Drugbank internal drug interaction partner ID.

◆ SetSpeciesName()

def cls.DrugBankPartner.CDrugBankPartner.SetSpeciesName (   s,
  spName 
)

Set the species name where the protein is expressed.

    @param spName  (@c String) Species name.

◆ SetUniProtAccession()

def cls.DrugBankPartner.CDrugBankPartner.SetUniProtAccession (   s,
  identifier 
)

Set the UniProt identifier of this protein.

    @param identifier (@c String) Uniprot accession code.

◆ SetUniProtTaxonID()

def cls.DrugBankPartner.CDrugBankPartner.SetUniProtTaxonID (   s,
  identifier 
)

Set the organism's UniProt taxonomy identifier where this protein is found.

Parameters
identifier(String) Numeric identifier as a string.

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