## Matching genomic regions / Coverage BED

### Description

Returns the depth and breadth of coverage of features from A on the intervals in B.

### Parameters

- File A is BAM format (yes, no) [no]
- Force strandedness (yes, no) [no]
- Report a histogram of coverage (yes, no) [no]
- Report the depth at each position (yes, no) [no]
- Treat split BAM or BED12 entries as distinct BED intervals (yes, no) [no]

### Details

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.

### Output

The output is a tab-delimited text file.

### References

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.