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

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...
 

Detailed Description

Posotion to LD block mapping.

Constructor & Destructor Documentation

◆ __init__()

def cls.Pos2LDBlockMapping.CPos2LDBlockMapper.__init__ (   s,
  paths 
)

Constructor.

    @param paths @ref common.Paths.CPaths object.

Member Function Documentation

◆ AssignBlock2Pos()

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.

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