# 使用 Homebrew 安装 bedtk

查看 bedtk 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bedtk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bedtk
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:bedtk
- **软件包管理器:** Homebrew
- **版本:** 1.2
- **来源摘要:** Simple toolset for BED files
- **主页:** <https://github.com/lh3/bedtk>
- **仓库:** <https://github.com/lh3/bedtk>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bedtk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2
## 项目历史与用法

bedtk is Heng Li's compact command-line toolkit for BED files, focused on fast interval overlap operations with a smaller scope than bedtools.

### 项目历史

The bedtk repository was created in October 2019, with the first visible commit adding interval intersection. Its README describes a simple BED toolset implementing intersection, subtraction, sorting, merging, and breadth-of-coverage calculations.

The project is tied to the 2021 Bioinformatics article 'Bedtk: finding interval overlap with implicit interval tree,' which explains its algorithmic focus. Upstream releases reached v1.0 in April 2025 and v1.2 in August 2025.

### 采用历史

The supplied package metadata lists Homebrew packaging. Upstream positions bedtk as a narrow, performance-oriented companion rather than a complete bedtools replacement.

### 使用方式

bedtk is used for operations such as filtering overlapping or non-overlapping BED/VCF records, intersection without pre-sorting, coverage breadth, sorting, and merging.

### 为什么软件包爱好者会关心

bedtk is notable because it comes from the lh3 bioinformatics tool lineage and deliberately keeps the surface area small. It is the kind of package a genomics CLI user installs when they care about speed and memory more than a broad command catalog.

### 时间线

- 2019: Repository created and initial intersection work committed.
- 2021: bedtk paper published in Bioinformatics.
- 2025: v1.0, v1.1, and v1.2 releases published.

### Related projects

- bedtools is explicitly named by upstream as broader and more versatile.
- cgranges is linked from the README and is related to the interval-overlap implementation family.

### 来源

- <https://api.github.com/repos/lh3/bedtk>
- <https://github.com/lh3/bedtk#readme>
- <https://github.com/lh3/bedtk/releases>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/bedtk.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bedtk.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
