# 使用 Homebrew, Nix 安装 sratoolkit

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

## 安装

```sh
sudo av install brew:sratoolkit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sratoolkit
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sratoolkit
```

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

## 软件包事实

- **软件包键:** brew:sratoolkit
- **软件包管理器:** Homebrew
- **版本:** 3.4.1
- **来源摘要:** Data tools for INSDC Sequence Read Archive
- **主页:** <https://github.com/ncbi/sra-tools>
- **仓库:** <https://github.com/ncbi/sra-tools>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- abi-dump (别名)
- abi-dump.3 (别名)
- abi-dump.3.4.1 (别名)
- align-info (别名)
- align-info.3 (别名)
- align-info.3.4.1 (别名)
- check-corrupt (别名)
- check-corrupt.3 (别名)
- check-corrupt.3.4.1 (别名)
- fasterq-dump (别名)
- fasterq-dump-orig.3.4.1 (别名)
- fasterq-dump.3 (别名)
- fasterq-dump.3.4.1 (别名)
- fastq-dump (别名)
- fastq-dump-orig.3.4.1 (别名)
- fastq-dump.3 (别名)
- fastq-dump.3.4.1 (别名)
- illumina-dump (别名)
- illumina-dump.3 (别名)
- illumina-dump.3.4.1 (别名)
- kdbmeta (别名)
- kdbmeta.3 (别名)
- kdbmeta.3.4.1 (别名)
- ngs-pileup (别名)
- ngs-pileup.3 (别名)
- ngs-pileup.3.4.1 (别名)
- prefetch (别名)
- prefetch-orig.3.4.1 (别名)
- prefetch.3 (别名)
- prefetch.3.4.1 (别名)
- rcexplain (别名)
- rcexplain.3 (别名)
- rcexplain.3.4.1 (别名)
- ref-variation (别名)
- ref-variation.3 (别名)
- ref-variation.3.4.1 (别名)
- sam-dump (别名)
- sam-dump-orig.3.4.1 (别名)
- sam-dump.3 (别名)
- sam-dump.3.4.1 (别名)
- sff-dump (别名)
- sff-dump.3 (别名)
- sff-dump.3.4.1 (别名)
- sra-info (别名)
- sra-info.3 (别名)
- sra-info.3.4.1 (别名)
- sra-pileup (别名)
- sra-pileup-orig.3.4.1 (别名)
- sra-pileup.3 (别名)
- sra-pileup.3.4.1 (别名)
- sra-search (别名)
- sra-search.3 (别名)
- sra-search.3.4.1 (别名)
- sra-stat (别名)
- sra-stat.3 (别名)
- sra-stat.3.4.1 (别名)
- srapath (别名)
- srapath-orig.3.4.1 (别名)
- srapath.3 (别名)
- srapath.3.4.1 (别名)
- sratools (别名)
- sratools.3 (别名)
- sratools.3.4.1 (别名)
- test-sra (别名)
- test-sra.3 (别名)
- test-sra.3.4.1 (别名)
- var-expand (别名)
- var-expand.3 (别名)
- var-expand.3.4.1 (别名)
- vdb-config (别名)
- vdb-config.3 (别名)
- vdb-config.3.4.1 (别名)
- vdb-decrypt (别名)
- vdb-decrypt.3 (别名)
- vdb-decrypt.3.4.1 (别名)
- vdb-dump (别名)
- vdb-dump-orig.3.4.1 (别名)
- vdb-dump.3 (别名)
- vdb-dump.3.4.1 (别名)
- vdb-encrypt (别名)
- vdb-encrypt.3 (别名)
- vdb-encrypt.3.4.1 (别名)
- vdb-validate (别名)
- vdb-validate.3 (别名)
- vdb-validate.3.4.1 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

SRA Toolkit is NCBI's command-line toolkit for working with data in the INSDC Sequence Read Archive. It is one of the standard bioinformatics packages that turns accession identifiers into local data files and converts SRA containers into FASTQ, FASTA, SAM, and related analysis formats.

### 项目历史

The project is maintained in NCBI's `sra-tools` repository and organized around many small CLI tools, including `prefetch`, `fasterq-dump`, `fastq-dump`, `sam-dump`, `vdb-config`, `vdb-validate`, and related VDB utilities. Its release notes show long-running 2.x and 3.x maintenance, with changes covering download behavior, cloud access, build systems, and format conversion.

SRA Toolkit 3.0.1 reorganized the source tree so the end-user toolkit, internal tools, archive loaders, and test tools were separated into different tool categories. That change made explicit the distinction between the tools ordinary package users install and the broader internal machinery around NCBI's archive workflows.

### 采用历史

The package metadata in this batch shows SRA Toolkit packaged by Homebrew and Nix, while NCBI's own wiki documents Linux, macOS, Windows, Docker, and cloud workflows. In practice, package managers carry it because reproducible sequencing workflows often need the same accession-download and FASTQ-conversion commands on laptops, workstations, clusters, and containers.

### 使用方式

Common usage centers on `prefetch` to download an accession and `fasterq-dump` to extract FASTQ or FASTA output. The official wiki recommends the `prefetch` plus `fasterq-dump` workflow, documents resumable downloads, validation with `vdb-validate`, local cache configuration with `vdb-config`, and scratch-space considerations for large conversions.

Configuration is a real part of SRA Toolkit usage. NCBI documents `vdb-config -i`, the user repository, remote-access settings, cloud identity reporting, and the `${HOME}/.ncbi/user-settings.mkfg` settings file used by containerized runs.

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

SRA Toolkit is package-nerd significant because it is a large scientific CLI suite with many executables, nontrivial runtime configuration, network access, cache behavior, and cloud credential paths. Packaging it well affects reproducible bioinformatics pipelines, HPC modules, container images, and users who expect `prefetch` and `fasterq-dump` to behave consistently across platforms.

### 时间线

- 2021: Official wiki documented toolkit configuration with `vdb-config` and cache/user-repository settings.
- 2022: SRA Toolkit 3.0.1 removed the requirement for interactive configuration and reorganized repository tool categories.
- 2023: SRA Toolkit 3.0.5 added PacBio support and reference-sequence output features to `fasterq-dump`.
- 2024: SRA Toolkit 3.1.0 added SRA Lite-related `prefetch` behavior and AlmaLinux support.
- 2025: SRA Toolkit 3.2.x release notes continued maintenance of `prefetch`, `fasterq-dump`, and build behavior.

### Related projects

- SRA Toolkit is tied to NCBI SRA, INSDC sequence archives, NCBI VDB, dbGaP controlled-access workflows, and cloud storage access patterns documented by NCBI.

### 来源

- <https://github.com/ncbi/sra-tools>
- <https://github.com/ncbi/sra-tools/wiki/03.-Quick-Toolkit-Configuration>
- <https://github.com/ncbi/sra-tools/wiki/08.-prefetch-and-fasterq-dump>
- <https://github.com/ncbi/sra-tools/wiki/SRA-tools-docker>
- source_facts.executables
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ${HOME}/.ncbi/user-settings.mkfg
## 其他软件包管理器记录

- Nix - sratoolkit: normalized package name match | nixpkgs package indexes: pkgs/by-name/sr/sratoolkit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
