Data Integrator (Python API)
|
Variant based on coordinates only. More...
Public Member Functions | |
def | __init__ (s, dver, gc) |
Constructor. More... | |
def | __str__ (s) |
def | __eq__ (s, obj) |
The equality operator. More... | |
def | IsValid (s) |
Is this a valid object? More... | |
def | GetChrom (s) |
Get the chromosome name. More... | |
def | GetStart (s) |
Get the start coordinate of the variant. More... | |
def | GetEnd (s) |
Get the end coordinate of the variant. More... | |
def | GetBuild (s) |
Get the build version. More... | |
def | GetCoordString (s) |
Get the coordinate string of the variant. More... | |
Variant based on coordinates only.
This class stores the location of a variant and offers a comparison operator.
def cls.Variant.CCoordinateVariant.__init__ | ( | s, | |
dver, | |||
gc | |||
) |
Constructor.
dver | Data version String for config file lookup. |
gc | Genomic SNP coordinate. |
def cls.Variant.CCoordinateVariant.__eq__ | ( | s, | |
obj | |||
) |
The equality operator.
Reimplemented in cls.Variant.CAlleleVariant.
def cls.Variant.CCoordinateVariant.__str__ | ( | s | ) |
Reimplemented in cls.Variant.CAlleleVariant.
def cls.Variant.CCoordinateVariant.GetBuild | ( | s | ) |
Get the build version.
def cls.Variant.CCoordinateVariant.GetChrom | ( | s | ) |
Get the chromosome name.
def cls.Variant.CCoordinateVariant.GetCoordString | ( | s | ) |
Get the coordinate string of the variant.
@return The coordinate string consisting of chromosome, start, end, and build.
def cls.Variant.CCoordinateVariant.GetEnd | ( | s | ) |
Get the end coordinate of the variant.
def cls.Variant.CCoordinateVariant.GetStart | ( | s | ) |
Get the start coordinate of the variant.
def cls.Variant.CCoordinateVariant.IsValid | ( | s | ) |
Is this a valid object?
True
The genomics coordinates were converted successfully, the object can be used.