Skip to content

Latest commit

History

333 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

BEDTools

Created by Aaron Quinlan Spring 2009.

Copyright 2009,2010,2011 Aaron Quinlan. All rights reserved.

Stable releases: http://code.google.com/p/bedtools

Repository: https://github.com/arq5x/bedtools

Released under GNU public license version 2 (GPL v2).

Summary

BEDTools is a collection of utilities for comparing, summarizing, and intersecting genomic features in BED, GTF/GFF, VCF and BAM formats.

Manual

See the extensive PDF manual included at: http://code.google.com/p/bedtools/downloads/detail?name=BEDTools-User-Manual.v4.pdf.

This manual covers many common usage examples. There are also examples available at: http://code.google.com/p/bedtools/wiki/Usagehttp://code.google.com/p/bedtools/wiki/UsageAdvanced

Installation

  1. Unpack the source downloaded tarball.
  2. cd into the expanded folder.
  3. Type "make clean" and hit enter.
  4. Type "make all" and hit enter.
  5. If you encountered no errors, then all of the BED Tools should now be in bin/ If not, try to troubleshoot then email me: aaronquinlan at gmail dot com
  6. Copy the files in bin/ to ~/bin or if you have the privileges, to /usr/local/bin.
  7. Use the tools.

List of available tools

UtilityDescription
intersectBed (BAM)Returns overlaps between two BED/GFF/VCF files.
pairToBed (BAM)Returns overlaps between a paired-end BED file and a regular BED/VCF/GFF file.
bamToBed (BAM)Converts BAM alignments to BED6, BED12, or BEDPE format.
bedToBam (BAM)Converts BED/GFF/VCF features to BAM format.
bed12ToBed6Converts "blocked" BED12 features to discrete BED6 features.
bedToIgvCreates IGV batch scripts for taking multiple snapshots from BED/GFF/VCF features.
coverageBed (BAM)Summarizes the depth and breadth of coverage of features in one BED versus features (e.g, "windows", exons, etc.) defined in another BED/GFF/VCF file.
genomeCoverageBed (BAM)Creates either a histogram, BEDGRAPH, or a "per base" report of genome coverage.
unionBedGraphsCombines multiple BedGraph files into a single file, allowing coverage/other comparisons between them.
annotateBedAnnotates one BED/VCF/GFF file with overlaps from many others.
groupBySummarizes data in a file/stream based on common columns.
overlapReturns the number of bases pairs of overlap b/w two features on the same line.
*pairToPair *Returns overlaps between two paired-end BED files.
closestBedReturns the closest feature to each entry in a BED/GFF/VCF file.
subtractBedRemoves the portion of an interval that is overlapped by another feature.
windowBed (BAM)Returns overlaps between two BED/VCF/GFF files based on a user-defined window.
mergeBedMerges overlapping features into a single feature.
complementBedReturns all intervals _not_ spanned by the features in a BED/GFF/VCF file.
fastaFromBedCreates FASTA sequences based on intervals in a BED/GFF/VCF file.
maskFastaFromBedMasks a FASTA file based on BED coordinates.
shuffleBedRandomly permutes the locations of a BED file among a genome.
slopBedAdjusts each BED entry by a requested number of base pairs.
sortBedSorts a BED file by chrom, then start position. Other ways as well.
linksBedCreates an HTML file of links to the UCSC or a custom browser.

About

A flexible suite of utilities for genome arithmetic. That is, set theory on genomic features.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages