Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, apt, zypper 安装 htslib

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install htslib

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install htslib

MacPorts ports tree · science/htslib/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install htslib

Fedora Rawhide package metadata · htslib · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#htslib

nixpkgs package indexes · pkgs/by-name/ht/htslib/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install htslib-test

Debian stable package indexes · htslib-test · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install bgzip

openSUSE Tumbleweed package metadata · bgzip · 来源: download.opensuse.org

概览

软件包摘要

C library for high-throughput sequencing data formats

命令和别名

  • annot-tsv
  • bgzip
  • htsfile
  • ref-cache
  • tabix

历史

项目历史与用法

HTSlib is the C library layer of the Samtools family, providing shared reading and writing support for high-throughput sequencing formats such as SAM, BAM, CRAM, VCF, and BCF. It matters beyond a single command-line package because many genomics tools build on the same file-format and indexing behavior.

项目历史

The Samtools site describes the project as three related repositories: Samtools for alignment manipulation, BCFtools for variant data, and HTSlib as the common C library. Its download page preserves the split in historical context, noting that before HTSlib was introduced, Samtools and BCFtools were shipped together in a single samtools-0.1.x source package.

The annotated 1.0 tag in the official GitHub repository, dated 2014-08-15, describes the first HTSlib release as supporting SAM, BAM, CRAM, VCF, and BCF. Later release notes show the library continuing to absorb format, indexing, threading, remote-I/O, and ABI changes that affect downstream tools.

采用历史

HTSlib's adoption is tightly coupled to the Samtools ecosystem: the Samtools site says Samtools and BCFtools use HTSlib internally, while HTSlib is also distributed separately for developers writing programs against its API. Packaging across Homebrew, Debian-family distributions, Fedora, MacPorts, Nix, and openSUSE reflects its role as a build-time and runtime dependency rather than only an end-user utility.

使用方式

Package users often encounter HTSlib through utilities installed with the library, especially bgzip, htsfile, tabix, ref-cache, and annot-tsv. Developers use the C API for compressed genomic files, indexes, region queries, remote access, and format detection in sequencing and variant-analysis workflows.

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

HTSlib is package-nerd significant because it is both a library ABI and a bundle of small Unix-style genomics tools. Changes such as the 2019 1.10 release's SAM header API, multi-threaded SAM I/O, on-the-fly indexing, S3 updates, and 64-bit reference-position support are the sort of low-level package events that can ripple through many bioinformatics builds.

时间线

  • 2012: The samtools/htslib repository was created on GitHub.
  • 2014: The 1.0 tag marked the first HTSlib release, supporting SAM, BAM, CRAM, VCF, and BCF.
  • 2019: Release 1.10 added a SAM header API, multi-threaded SAM reading and writing, on-the-fly indexing, and S3 interface updates.
  • 2026: Release notes for 1.23.1 documented CRAM decoder security fixes and related build updates.

Related projects

  • Samtools and BCFtools are the closest sibling projects, both using HTSlib internally. Related file-format work includes the SAM, BAM, CRAM, VCF, BCF, BGZF, and tabix indexing formats that HTSlib reads, writes, or helps index.

来源

  • Samtools project site, HTSlib download notes, GitHub repository metadata, and official release/tag metadata.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
annot-tsvcli全局可执行文件
bgzipcli全局可执行文件
htsfilecli全局可执行文件
ref-cachecli全局可执行文件
tabixcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本1.24
管理器更新时间2026-07-09
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/samtools/htslib

安装元数据

软件包元数据

软件包键brew:htslib
版本1.24
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/htslib
主页https://www.htslib.org/
仓库https://github.com/samtools/htslib
上游文档https://github.com/samtools/htslib#readme
许可证MIT AND BSD-3-Clause
源码归档https://github.com/samtools/htslib/releases/download/1.24/htslib-1.24.tar.bz2
最后更新2026-07-09T19:51:46Z
Pulseupdated
依赖libdeflate, xz
macOS 提供的库bzip2, curl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

htslib-test 1.21+ds-1

Test data for HTSlib

https://github.com/samtools/htslib

sudo apt install htslib-test
  • Section: libs
  • Architecture: all
  • Source Package: htslib
  • 1 依赖
  • normalized package name match
  • 匹配方式:Htslib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: htslib-test from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhts-dev 1.21+ds-1

development files for the HTSlib

https://github.com/samtools/htslib

sudo apt install libhts-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: htslib
  • 6 依赖
  • normalized package name match
  • 匹配方式:Htslib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhts-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhts3t64 1.21+ds-1

C library for high-throughput sequencing data formats

https://github.com/samtools/htslib

sudo apt install libhts3t64
  • Section: libs
  • Architecture: amd64
  • Source Package: htslib
  • 8 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Htslib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhts3t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tabix 1.21+ds-1

generic indexer for TAB-delimited genome position files

https://github.com/samtools/htslib

sudo apt install tabix
  • Section: science
  • Architecture: amd64
  • Source Package: htslib
  • 6 依赖
  • normalized package name match
  • 匹配方式:Htslib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tabix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

htslib

nix profile install nixpkgs#htslib
  • normalized package name match
  • 匹配方式:Htslib
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/htslib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

htslib-test 1.19+ds-1.1build3

Test data for HTSlib

https://github.com/samtools/htslib

sudo apt install htslib-test
  • Section: universe/libs
  • Architecture: all
  • Source Package: htslib
  • 1 依赖
  • normalized package name match
  • 匹配方式:Htslib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: htslib-test from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhts-dev 1.19+ds-1.1build3

development files for the HTSlib

https://github.com/samtools/htslib

sudo apt install libhts-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: htslib
  • 5 依赖
  • normalized package name match
  • 匹配方式:Htslib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhts-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhts3t64 1.19+ds-1.1build3

C library for high-throughput sequencing data formats

https://github.com/samtools/htslib

sudo apt install libhts3t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: htslib
  • 8 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Htslib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhts3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tabix 1.19+ds-1.1build3

generic indexer for TAB-delimited genome position files

https://github.com/samtools/htslib

sudo apt install tabix
  • Section: universe/science
  • Architecture: amd64
  • Source Package: htslib
  • 6 依赖
  • normalized package name match
  • 匹配方式:Htslib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tabix from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

htslib 1.23.1-2.fc45

C library for high-throughput sequencing data formats

http://www.htslib.org

sudo dnf install htslib
  • License: MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: htslib
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Htslib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: htslib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

htslib-devel 1.23.1-2.fc45

Development files for htslib

http://www.htslib.org

sudo dnf install htslib-devel
  • License: MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: i686
  • Source Package: htslib
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Htslib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: htslib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

htslib-tools 1.23.1-2.fc45

Additional htslib-based tools

http://www.htslib.org

sudo dnf install htslib-tools
  • License: MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: htslib
  • 8 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Htslib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: htslib-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

htslib

sudo port install htslib
  • normalized package name match
  • 匹配方式:Htslib
MacPorts ports tree · api.github.com · MacPorts ports tree: science/htslib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
zypper92%

bgzip 1.21-1.3

Block compression/decompression utility from the HTSlib project

https://github.com/samtools/htslib/

sudo zypper install bgzip
  • License: MIT
  • Category: Productivity/Scientific/Other
  • Architecture: x86_64
  • Source Package: libhts
  • 8 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Bgzip
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: bgzip from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

htsfile 1.21-1.3

Identify high-throughput sequencing data files from the HTSlib project

https://github.com/samtools/htslib/

sudo zypper install htsfile
  • License: MIT
  • Category: Productivity/Scientific/Other
  • Architecture: x86_64
  • Source Package: libhts
  • 9 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Htsfile
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: htsfile from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

tabix 1.21-1.3

Generic indexer for TAB-delimited genome position files from the HTSlib project

https://github.com/samtools/htslib/

sudo zypper install tabix
  • License: MIT
  • Category: Productivity/Scientific/Other
  • Architecture: x86_64
  • Source Package: libhts
  • 10 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Tabix
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tabix from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 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