纠正错误 / Fix 添加实例 / Add example
文件格式 / Formats

fastp

一体化 FASTQ 质控、过滤、接头剪切和 HTML/JSON 报告工具。All-in-one FASTQ quality control, filtering, adapter trimming, and reporting tool.

速览 | Quick Look

安装 | Install

mamba install -c bioconda fastp

常用命令 | Common Commands

双端 reads 质控:

fastp -i sample_R1.fq.gz -I sample_R2.fq.gz \
  -o sample.clean_R1.fq.gz -O sample.clean_R2.fq.gz \
  -h sample.fastp.html -j sample.fastp.json \
  -w 8

单端 reads 质控:

fastp -i sample.fq.gz -o sample.clean.fq.gz -h sample.fastp.html -j sample.fastp.json

限制长度并启用低复杂度过滤:

fastp -i R1.fq.gz -I R2.fq.gz -o clean_R1.fq.gz -O clean_R2.fq.gz \
  --length_required 30 --low_complexity_filter

关键参数 | Key Options

常见坑 | Pitfalls

参考 | References