# 使用 Homebrew, apt, Nix 安装 fastp

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

## 安装

```sh
sudo av install brew:fastp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fastp
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install fastp
```

  证据: Debian stable package indexes: fastp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#fastp
```

  证据: nixpkgs package indexes: pkgs/by-name/fa/fastp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fastp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fastp>
- **版本:** 1.3.6
- **来源摘要:** Ultra-fast all-in-one FASTQ preprocessor
- **主页:** <https://github.com/OpenGene/fastp>
- **仓库:** <https://github.com/OpenGene/fastp>
- **许可证:** MIT
- **源码归档:** <https://github.com/OpenGene/fastp/archive/refs/tags/v1.3.6.tar.gz>
- **最后更新:** 2026-06-29T10:45:23Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- fastp (cli)
- fastp (别名)

## 依赖

- highway
- isa-l
- libdeflate

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.3.6
- 管理器更新时间: 2026-06-29
- 本地数据: OK
- 上游仓库: https://github.com/OpenGene/fastp
- 检测到的最新版本: v1.3.6 (当前)
## 项目历史与用法

fastp is an all-in-one FASTQ preprocessor for short-read sequencing data. It combines quality control, filtering, adapter trimming, per-read cutting, UMI handling, paired-end merging, and HTML/JSON reporting in one command-line tool.

### 项目历史

The OpenGene fastp repository was created in 2017, and the original fastp paper appeared in Bioinformatics in 2018. The project described itself as an ultra-fast all-in-one FASTQ preprocessor at a time when many pipelines chained separate QC, trimming, and filtering tools.

The README documents continuing expansion after the original release: batch processing, STDIN/STDOUT streaming, output splitting for parallel processing, polyG/polyX trimming, UMI processing, duplication analysis, and support for modern dependencies such as ISA-L, libdeflate, and Google Highway. A 2025 iMeta paper is listed by the project as the fastp 1.0 citation.

### 采用历史

fastp has broad bioinformatics packaging and workflow adoption signals. Its README advertises Bioconda installation, Debian packaging, and direct use from the European Galaxy server, and the source repository has remained active with releases into 2026.

The tool became popular because it gives sequencing users an immediate before-and-after QC report while also producing cleaned FASTQ files. That made it convenient for command-line pipelines, Galaxy workflows, and package managers that prefer one reproducible executable over a chain of small filters.

### 使用方式

Typical fastp usage passes input and output FASTQ files with -i/-o for single-end data and -i/-I/-o/-O for paired-end data. By default it writes fastp.html and fastp.json reports, making it useful both as a preprocessing step and as a QC artifact generator.

The README also documents streaming operation, interleaved input, failed-read output, partial processing for quick previews, output splitting, paired-end merging, and automatic adapter handling. No persistent config or credential file is documented.

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

fastp matters to package nerds because it condensed a common NGS preprocessing stack into one fast native binary with reports. The interesting packaging edge is its performance dependency chain: ISA-L, libdeflate, and Highway need to line up cleanly across Linux and macOS builds.

### 时间线

- 2017: The public OpenGene fastp repository is created.
- 2018: The original Bioinformatics fastp paper is published.
- 2025: The project lists the fastp 1.0 iMeta paper as the preferred citation.
- 2026: v1.3.6 is released.

### Related projects

- The README compares fastp reports to FastQC and mentions Trimmomatic-style sliding-window quality cutting. It also points long-read users to OpenGene fastplong.

### 来源

- <https://github.com/OpenGene/fastp>
- <https://github.com/OpenGene/fastp#readme>
- <https://doi.org/10.1093/bioinformatics/bty560>
- <https://doi.org/10.1002/imt2.70078>
- <https://api.github.com/repos/OpenGene/fastp/releases>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fastp
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Debian apt - fastp - 0.24.0+dfsg-1: normalized package name match | Debian stable package indexes: fastp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Ultra-fast all-in-one FASTQ preprocessor | https://github.com/OpenGene/fastp
- Nix - fastp: normalized package name match | nixpkgs package indexes: pkgs/by-name/fa/fastp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fastp - 0.23.4+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: fastp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Ultra-fast all-in-one FASTQ preprocessor | https://github.com/OpenGene/fastp


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://pkg.so/zh-hans/scientific-computing-tools/) - Matched scientific computing metadata.
- [libdeflate](https://pkg.so/zh-hans/brew/libdeflate/) - Runtime dependency declared by Homebrew.
- [trim-galore](https://pkg.so/zh-hans/brew/trim-galore/) - Shares pkgdb curated category or tags: bioinformatics, cli, fastq, quality-control, science.
- [rasusa](https://pkg.so/zh-hans/brew/rasusa/) - Shares pkgdb curated category or tags: bioinformatics, cli, fastq, science, sequencing.
- [fastq-tools](https://pkg.so/zh-hans/brew/fastq-tools/) - Shares pkgdb curated category or tags: bioinformatics, cli, fastq, science, sequencing.
- [fastqc](https://pkg.so/zh-hans/brew/fastqc/) - Shares pkgdb curated category or tags: bioinformatics, cli, fastq, quality-control, science.
- [badread](https://pkg.so/zh-hans/brew/badread/) - Shares pkgdb curated category or tags: bioinformatics, cli, science, sequencing.
- [nanoq](https://pkg.so/zh-hans/brew/nanoq/) - Shares pkgdb curated category or tags: bioinformatics, cli, fastq, quality-control, science.
- [bbtools](https://pkg.so/zh-hans/brew/bbtools/) - Shares pkgdb curated category or tags: bioinformatics, cli, quality-control, science, sequencing.
- [adapterremoval](https://pkg.so/zh-hans/brew/adapterremoval/) - Shares pkgdb curated category or tags: bioinformatics, cli, fastq, science, sequencing.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
