Automic VaultAutomic Vault

brew

使用 Homebrew, apt, apk 安装 kraken2

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kraken2

local Homebrew formula metadata

概览

软件包摘要

Taxonomic sequence classification system

命令和别名

  • k2
  • kraken2
  • kraken2-build
  • kraken2-inspect

历史

项目历史与用法

Kraken 2 is the second-generation Kraken taxonomic sequence classifier for DNA reads. It matters in bioinformatics packaging because it packages a high-performance, database-heavy scientific CLI into standard Unix package-manager workflows while still reflecting the research tool's unusually large external data requirements.

项目历史

The original Kraken classifier was published in Genome Biology in 2014 as an ultrafast metagenomic sequence classification method based on exact k-mer alignments. Kraken 2 was created after Kraken 1's speed exposed a practical problem: large k-mer/LCA databases could demand enough RAM to make the tool hard to run on ordinary workstations.

Kraken 2's manual describes the key redesign: it stores minimizers instead of every k-mer, uses a probabilistic compact hash table, supports translated search against amino-acid databases, and adds spaced seeds and special database support. The Kraken 2 paper was published in Genome Biology on 2019-11-28 and reported lower memory use and faster classification while keeping Kraken-style exact-match taxonomy assignment.

采用历史

Kraken 2 became part of the common metagenomics command-line toolkit because it preserved Kraken's CLI-centered workflow while reducing the memory barrier for large microbial reference databases. Its Homebrew, Debian, Ubuntu, Alpine, and source-build packaging reflects the way sequencing labs and HPC users install reproducible command-line tools across mixed Linux and macOS environments.

The project also kept compatibility with the surrounding Kraken ecosystem, including the original Kraken paper lineage and related abundance-estimation workflows such as Bracken, which helped make Kraken 2 an upgrade path rather than a disconnected replacement.

使用方式

Users install the program, then build or download a taxonomy database before classifying reads with commands such as kraken2, kraken2-build, and kraken2-inspect. The manual emphasizes that database construction depends on external taxonomy and sequence downloads, disk space, RAM, OpenMP-capable builds, and Unix utilities.

For package managers, Kraken 2 is an example where the packaged executable is only part of the operational story: the large mutable reference database, network downloads, and local storage policy matter as much as the binary.

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

Kraken 2 is a package-nerd case study in scientific software distribution: a small CLI package fronts a large and evolving data dependency that cannot simply be vendored into the formula. It also shows why bioinformatics packages often need both upstream manuals and package-manager metadata to communicate runtime expectations.

时间线

  • 2014: The original Kraken paper was published in Genome Biology.
  • 2018-06-26: The Kraken 2 GitHub repository and v2.0.6-beta release were published.
  • 2019-11-28: The Kraken 2 paper was published in Genome Biology.
  • 2025-11-24: Kraken 2 v2.17.1 was published on GitHub.

Related projects

  • Kraken 1 is the direct predecessor. Bracken is a related abundance-estimation tool commonly used with Kraken classification output. The broader method family includes other metagenomic classifiers and low-memory variants that respond to the same taxonomy-indexing tradeoffs.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
k2cli全局可执行文件
kraken2cli全局可执行文件
kraken2-buildcli全局可执行文件
kraken2-inspectcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.17.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v2.17.1

https://github.com/DerrickWood/kraken2

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:kraken2
版本2.17.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/kraken2
主页https://github.com/DerrickWood/kraken2
仓库https://github.com/DerrickWood/kraken2
上游文档https://github.com/DerrickWood/kraken2/blob/master/docs/MANUAL.markdown
许可证MIT
源码归档https://github.com/DerrickWood/kraken2/archive/refs/tags/v2.17.1.tar.gz
依赖gperftools, libomp, python@3.14, wget
macOS 提供的库perl, rsync
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekraken2
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

kraken2 2.1.3-1

taxonomic classification system using exact k-mer matches

https://www.ccb.jhu.edu/software/kraken2/

sudo apt install kraken2
  • Section: science
  • Architecture: amd64
  • 7 依赖
  • normalized package name match
  • 匹配方式:Kraken2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: kraken2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

kraken2 2.1.3-1

taxonomic classification system using exact k-mer matches

https://www.ccb.jhu.edu/software/kraken2/

sudo apt install kraken2
  • Section: universe/science
  • Architecture: amd64
  • 7 依赖
  • normalized package name match
  • 匹配方式:Kraken2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: kraken2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

k2 0_git20260430-r0

Chess engine with UCI and Xboard interface

https://github.com/serg-meus/k2

sudo apk add k2
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: k2
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:K2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: k2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment