Reference Code backup Executable files
Correlate bigWig files, optionally only on target regions.
bigWigCorrelate [options] a.bigWig b.bigWig
This tool is part of UCSC Genome Browser's utilities.
This tool calculates basepair-wise Pearson's correlation coefficient among genomic regions. By default, it considers loci where at least one souce have non-missing values.
wigCorrelate
has similar functionality and takes file paths directly through the command line interface.bedToBigBed
for instructions on format conversion. This option is available to versions released after May 25, 2013.If you want to have more control on how the correlation coefficients are calculated (pearson vs. spearman, raw scale vs log scale), you can consider using the combination of multiBigWigSummary
and plotCorrelation
from the deeptools suite.
Calculate the correlation (Pearson's R) between two bigwig files:
$ bigWigCorrelate K562.bigWig GM12878.bigWig 0.52383
Using wigCorrelate
gives identical results:
$ wigCorrelate K562.bigWig GM12878.bigWig K562.bigWig GM12878.bigWig 0.52383