Data Integrator (Python API)
|
Represents a dictionary. More...
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); | |
Represents a dictionary.
Keys are PharmaADME marker names, values are cls.Variant.CAlleleVariant objects.
def cls.PharmaADMEntoring.CPharmaADMEntoring.__init__ | ( | s, | |
paths | |||
) |
Constructor.
paths | CPaths object. |
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.
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.
|
static |
|
static |