Returns the depth and breadth of coverage of features from A on the intervals in B.
coverageBed computes both the depth and breadth of coverage of features in file A across the features in file B. For example, coverageBed can compute the coverage of sequence alignments (file A) across 1 kilobase (arbitrary) windows (file B) tiling a genome of interest. One advantage that coverageBed offers is that it not only counts the number of features that overlap an interval in file B, it also computes the fraction of bases in B interval that were overlapped by one or more features. Thus, coverageBed also computes the breadth of coverage for each interval in B.
Selecting "File A is BAM format [yes]" is analogous to using "-abam" option instead of "-a" in the command line version.
The output is a tab-delimited text file.
This tool uses the BEDTools package. Please cite the article:
Quinlan AR and Hall IM, 2010. BEDTools: a flexible suite of utilities for comparing genomic features. Bioinformatics. 26, 6, pp. 841–842.
Please see the BEDTools homepage for more details.