Data Integrator (Python API)
Public Member Functions | Static Public Attributes | List of all members
cls.PharmaADMEntoring.CPharmaADMEntoring Class Reference

Represents a dictionary. More...

Inheritance diagram for cls.PharmaADMEntoring.CPharmaADMEntoring:
Inheritance graph
[legend]
Collaboration diagram for cls.PharmaADMEntoring.CPharmaADMEntoring:
Collaboration graph
[legend]

Public Member Functions

def __init__ (s, paths)
 Constructor. More...
 
def FindByVariantObject (s, varObj)
 Find a matching PharmaADME variant. More...
 
def FindByVariantText (s, gc, ref, alt, strand="+")
 See FindByVariantObject. More...
 

Static Public Attributes

 pth = CPaths(defDataVer="v-01");
 
 obj = CPharmaADMEntoring(pth);
 

Detailed Description

Represents a dictionary.

Keys are PharmaADME marker names, values are cls.Variant.CAlleleVariant
objects.

Constructor & Destructor Documentation

◆ __init__()

def cls.PharmaADMEntoring.CPharmaADMEntoring.__init__ (   s,
  paths 
)

Constructor.

Parameters
pathsCPaths object.

Member Function Documentation

◆ FindByVariantObject()

def cls.PharmaADMEntoring.CPharmaADMEntoring.FindByVariantObject (   s,
  varObj 
)

Find a matching PharmaADME variant.

    Searches the list of PharmaADME core markers for matching variations
    on both the forward and reverse strand requiring strict strandedness.
    Therefore, if it is not known if the variant is on the forward or on
    the reverse strand, it must be called twice, once for each strand.
    @param varObj  A cls.Variant.CAlleleVariant instance.
    @result The PharmaADME ID, which is the key to the variant of this
    dictionary. Empty String if not found.

◆ FindByVariantText()

def cls.PharmaADMEntoring.CPharmaADMEntoring.FindByVariantText (   s,
  gc,
  ref,
  alt,
  strand = "+" 
)

See FindByVariantObject.

    on both the forward and reverse strand.
    @param gc   Genomic coordinates.
    @param ref  Reference allele String.
    @param alt  Alternate allele String.

Member Data Documentation

◆ obj

cls.PharmaADMEntoring.CPharmaADMEntoring.obj = CPharmaADMEntoring(pth);
static

◆ pth

cls.PharmaADMEntoring.CPharmaADMEntoring.pth = CPaths(defDataVer="v-01");
static

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