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

mosdepth

快速计算 BAM/CRAM 覆盖度、深度分布和目标区域覆盖统计的工具。Fast coverage and depth calculation for BAM/CRAM files.

速览 | Quick Look

安装 | Install

mamba install -c bioconda mosdepth

常用命令 | Common Commands

全基因组深度:

mosdepth -t 8 sample sample.sorted.bam

按 BED 区域统计:

mosdepth -t 8 --by targets.bed sample sample.sorted.bam

设置阈值统计覆盖比例:

mosdepth -t 8 --by targets.bed --thresholds 1,10,20,30 sample sample.bam

输出不压缩 per-base 文件:

mosdepth -t 8 --no-per-base sample sample.bam

关键参数 | Key Options

常见坑 | Pitfalls

参考 | References