bx.bbi.bigwig_file module

BigWig file.

class bx.bbi.bigwig_file.ArrayAccumulatingBlockHandler

Bases: BigWigBlockHandler

Accumulates intervals into a list of intervals with values

class bx.bbi.bigwig_file.BigWigBlockHandler

Bases: BlockHandler

BlockHandler that parses the block into a series of wiggle records, and calls handle_interval_value for each.

class bx.bbi.bigwig_file.BigWigFile

Bases: BBIFile

A “big binary indexed” file whose raw data is in wiggle format.

get(chrom, start, end)

Gets all data points over the regions chrom:start-end.

get_as_array(chrom, start, end)

Gets all data points over the regions chrom:start-end.

get_headers(chrom, start, end)
class bx.bbi.bigwig_file.BigWigHeaderBlockHandler

Bases: BigWigBlockHandler

Reads and returns headers

class bx.bbi.bigwig_file.IntervalAccumulatingBlockHandler

Bases: BigWigBlockHandler

class bx.bbi.bigwig_file.SummarizingBlockHandler

Bases: BigWigBlockHandler

Accumulates intervals into a SummarizedData