# 使用 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
- **版本:** 1.3.6
- **来源摘要:** Ultra-fast all-in-one FASTQ preprocessor
- **主页:** <https://github.com/OpenGene/fastp>
- **仓库:** <https://github.com/OpenGene/fastp>
- **最后更新:** 2026-06-29T10:45:23Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fastp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
