Galaxy | Tool Preview

bedtools Intersect intervals (version 2.30.0+galaxy1)
BAM/BED/bedGraph/GFF/VCF/EncodePeak format
BAM/BED/bedGraph/GFF/VCF/EncodePeak format
If set, the coverage will be calculated based the spliced intervals only. For BAM files, this inspects the CIGAR N operation to infer the blocks for computing coverage. For BED12 files, this inspects the BlockCount, BlockStarts, and BlockEnds fields (i.e., columns 10,11,12). If this option is not set, coverage will be calculated based on the interval's START/END coordinates, and would include introns in the case of RNAseq data.
Just report the fact >=1 hit was found
Reports 0 for A entries that have no overlap with B
Only applies when used with -sorted option.

What it does

By far, the most common question asked of two sets of genomic features is whether or not any of the features in the two sets “overlap” with one another. This is known as feature intersection. bedtools intersect allows one to screen for overlaps between two sets of genomic features. Moreover, it allows one to have fine control as to how the intersections are reported. bedtools intersect works with both BED/bedGraph/GFF/VCF/EncodePeak and BAM files as input.

/repository/static/images/8d84903cc667dbe7/intersect-glyph.png

Note that each BAM alignment is treated individually. Therefore, if one end of a paired-end alignment overlaps an interval in the BED file, yet the other end does not, the output file will only include the overlapping end.

Note that a BAM alignment will be sent to the output file once even if it overlaps more than one interval in the BED file.


This tool is part of the bedtools package from the Quinlan laboratory.

Citation

If you use this tool in Galaxy, please cite:

Bjoern A. Gruening (2014), Galaxy wrapper