# mosdepth を Homebrew, Nix, apt でインストール

mosdepth のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:mosdepth
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mosdepth
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mosdepth
```

  証拠: nixpkgs package indexes: pkgs/by-name/mo/mosdepth/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Ubuntu apt (92%):

```sh
sudo apt install mosdepth
```

  証拠: Ubuntu 24.04 LTS package indexes: mosdepth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## パッケージ情報

- **パッケージキー:** brew:mosdepth
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mosdepth>
- **バージョン:** 0.3.14
- **ソース概要:** Fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing
- **ホームページ:** <https://github.com/brentp/mosdepth>
- **リポジトリ:** <https://github.com/brentp/mosdepth>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/brentp/mosdepth/archive/refs/tags/v0.3.14.tar.gz>
- **最終更新:** 2026-07-13T04:04:09Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- mosdepth (cli)
- mosdepth (エイリアス)

## 依存関係

- htslib

## ビルド依存関係

- nim

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.3.14
- マネージャ更新日: 2026-07-13
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/brentp/mosdepth
- 検出された最新: v0.3.14 (最新)
## プロジェクトの歴史と使われ方

mosdepth is a command-line tool for fast BAM/CRAM depth and coverage calculation across whole-genome, exome, or targeted sequencing datasets.

### プロジェクトの歴史

mosdepth was introduced by Brent S. Pedersen and Aaron R. Quinlan in a Bioinformatics paper published online in October 2017 and appearing in the March 2018 issue. The paper presented it as a quick coverage calculator for genome and exome sequencing data.

The implementation is written in Nim and uses HTSlib via hts-nim. Its algorithm tracks alignment chunk starts and ends in chromosome-sized arrays rather than using a pileup engine for every read base.

### 採用の歴史

mosdepth gained adoption because sequencing coverage summaries are a routine need for variant calling QC, copy-number workflows, targeted panels, exomes, and whole genomes. The paper compared mosdepth with samtools, bedtools, and sambamba and showed faster runtime on a 30x genome benchmark.

The official README documents binary releases, Bioconda, Homebrew, and Docker usage, making it straightforward to package in bioinformatics environments and reproducible workflow containers.

### 使われ方

The CLI consumes position-sorted BAM or CRAM input and can report per-base depth, region summaries from BED files, fixed windows, quantized coverage, coverage thresholds, and distributions.

Users choose mosdepth when they need fast genome-wide or region-based coverage calculation and can accept the memory profile of chromosome-sized arrays.

### パッケージ好きにとっての重要性

mosdepth is notable to package maintainers because it is a compact compiled bioinformatics binary whose value comes from speed, HTSlib integration, and predictable command-line output files rather than from daemon-style services or configuration.

It is also a representative Nim-based scientific CLI in package-manager ecosystems that otherwise contain many C/C++, Python, and Perl genomics tools.

### タイムライン

- 2017: Bioinformatics article published online introducing mosdepth.
- 2018: Article appears in Bioinformatics volume 34 issue 5.
- 2025: GitHub wiki FAQ updated.
- 2026: GitHub releases list a latest release dated April 24, 2026.

### Related projects

- samtools depth, BEDTools genomecov, and sambamba are related depth/coverage tools compared in the official paper and README.
- HTSlib and hts-nim are implementation dependencies named in the README and paper.

### ソース

- <https://academic.oup.com/bioinformatics/article/34/5/867/4583630>
- <https://github.com/brentp/mosdepth>
- <https://github.com/brentp/mosdepth/wiki>
- <https://pmc.ncbi.nlm.nih.gov/articles/PMC6030888/>
- input.source_facts.package-manager


## セキュリティノート

mosdepth に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mosdepth
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Nix - mosdepth: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/mosdepth/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mosdepth - 0.3.6+ds-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mosdepth from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | BAM/CRAM depth calculation biological sequencing | https://github.com/brentp/mosdepth
- Ubuntu apt - mosdepth-examples - 0.3.6+ds-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mosdepth-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Test data for mosdepth | https://github.com/brentp/mosdepth


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://pkg.so/ja/scientific-computing-tools/) - Matched scientific computing metadata.
- [htslib](https://pkg.so/ja/brew/htslib/) - Runtime dependency declared by Homebrew.
- [nim](https://pkg.so/ja/brew/nim/) - Build dependency declared by Homebrew.
- [bismark](https://pkg.so/ja/brew/bismark/) - Shares pkgdb curated category or tags: bioinformatics, cli, genomics, science, wgs.
- [samtools](https://pkg.so/ja/brew/samtools/) - Shares pkgdb curated category or tags: bam, bioinformatics, cli, cram, genomics.
- [sambamba](https://pkg.so/ja/brew/sambamba/) - Shares pkgdb curated category or tags: bam, bioinformatics, cli, genomics, science.
- [augustus](https://pkg.so/ja/brew/augustus/) - Shares pkgdb curated category or tags: bioinformatics, cli, genomics, science.
- [perbase](https://pkg.so/ja/brew/perbase/) - Shares pkgdb curated category or tags: bam, bioinformatics, cli, cram, genomics.
- [tabixpp](https://pkg.so/ja/brew/tabixpp/) - Shares pkgdb curated category or tags: bioinformatics, cli, genomics, science.
- [chopper](https://pkg.so/ja/brew/chopper/) - Shares pkgdb curated category or tags: bioinformatics, cli, genomics, science.
- [minigraph](https://pkg.so/ja/brew/minigraph/) - Shares pkgdb curated category or tags: bioinformatics, cli, genomics, science.

## Combined YAML source

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


## ソース

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
