Data Integrator (Python API)
|
Posotion to LD block mapping. More...
Public Member Functions | |
def | __init__ (s, paths) |
Constructor. More... | |
def | AssignBlock2Pos (s, chrom, begin) |
Assign a 1000 Genomes LD block to a genomic coordinate. More... | |
Posotion to LD block mapping.
def cls.Pos2LDBlockMapping.CPos2LDBlockMapper.__init__ | ( | s, | |
paths | |||
) |
Constructor.
@param paths @ref common.Paths.CPaths object.
def cls.Pos2LDBlockMapping.CPos2LDBlockMapper.AssignBlock2Pos | ( | s, | |
chrom, | |||
begin | |||
) |
Assign a 1000 Genomes LD block to a genomic coordinate.
@param ffn Full path file name of table. @param chrom (@c String) Chromosome name. @param begin (@c Int) Begin of query range. @return A @c List with four columns: - LD block : The identifier of the LD block. - LD covers : 1 if the position is contained withing the LD block, 0 if the nearest LD block has been reported. - LD begin : (@c Int) Begin coordinate. - LD end : (@c Int) End coordinate.