Reference Code backup Executable files
Extract binned summary information from a bigWig file for a genomic region
bigWigSummary [options] file.bigWig chrom start end dataPoints
This tool is part of UCSC Genome Browser's utilities.
Get summary data from bigWig for indicated region, broken into dataPoints equal parts. (Use dataPoints=1 for simple summary.)
NOTE: start and end coordinates are in BED format (0-based)
Divide the genomic region chr8:127955641-127965435 (chrom:start-end) into 10 bins (dataPoints), and calculate the mean values (defined by -type) in each of these bins for the signals stored in the bigWig file (K562.bigWig):
$ bigWigSummary K562.bigWig chr8 127955641 127965435 10 0.066161 0.0598106 0.196098 0.281279 2.6943 2.31408 0.231602 0.129045 0.155618 0.151627