🍺 BREW Explorer

← all formulae

bedtools

brew install bedtools v2.31.1 MIT

Tools for genome arithmetic (set theory on the genome)

110
30-day installs · #3333
320
90-day · #3437
1.7k
365-day · #3034
1.0k
★ GitHub stars · updated 2mo ago

Runtime dependencies

xz

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "xz"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Tools for genome arithmetic (set theory on the genome)",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:49+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "bedtools",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-10T22:16:43Z",
  "github_readme_excerpt": "![shamalamadingdong](https://github.com/arq5x/bedtools2/blob/master/docs/bedtools.swiss.png \"foo\")\n\nbedtools - the swiss army knife for genome arithmetic         \n=====================================================\n\n[Download current version](https://github.com/arq5x/bedtools2/releases/latest)\n\n[Documentation](http://bedtools.readthedocs.org)\n\n[Cheat-sheet from Ilya Levantis](https://gist.github.com/ilevantis/6d6ecf8718a5803acff736c2dffc933e)\n\nSummary\n-------\nCollectively, the bedtools utilities are a swiss-army knife of tools for a wide-range of genomics analysis tasks. The most widely-used tools enable genome arithmetic: that is, set theory on the genome. For example, bedtools allows one to intersect, merge, count, complement, and shuffle genomic intervals from multiple files in widely-used genomic file formats such as BAM, BED, GFF/GTF, VCF.\n\nWhile each individual tool is designed to do a relatively simple task (e.g., intersect two interval files), quite sophisticated analyses can be conducted by combining multiple bedtools operations on the UNIX command line.\n\nPerformance\n-----------\nAs of version 2.18, ``bedtools`` is substantially more scalable thanks to improvements we have made in the algorithm used to process datasets that are pre-sorted\nby chromosome and start position. As you can see in the plots below, the speed and memory consumption scale nicely\nwith sorted data as compared to the poor scaling for unsorted data. The current version of bedtools intersect is as fast as (or slightly faster) than the ``bedops`` package\u0027s ``bedmap`` which uses a similar algorithm for sorted data.  The plots below represent counting the number of intersecting alignments from exome capture BAM files against CCDS exons.\nThe alignments have been converted to BED to facilitate comparisons to ``bedops``. We compare to the bedmap ``--ec`` option because similar error checking is enforced by ``bedtools``.\n\n\n**Note:** bedtools could not complete when using 100 million alignments a",
  "github_repo": "arq5x/bedtools2",
  "github_stars": 1038,
  "github_topics": [],
  "homepage": "https://github.com/arq5x/bedtools2",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 110,
  "installs_365d": 1707,
  "installs_90d": 320,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "bedtools",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 3333,
  "rank_365d": 3034,
  "rank_90d": 3437,
  "raw_hash": "0339284923d2791a",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/bedtools.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    {
      "python": "build"
    },
    "bzip2"
  ],
  "version_head": null,
  "version_stable": "2.31.1",
  "versioned_formulae": [],
  "why_use_this": null
}