DOKK / manpages / debian 12 / mosdepth / mosdepth.1.en
MOSDEPTH(1) User Commands MOSDEPTH(1)

mosdepth - manual page for mosdepth 0.3.3

mosdepth 0.3.3

Usage: mosdepth [options] <prefix> <BAM-or-CRAM>

Arguments:

<prefix>
outputs: `{prefix}.mosdepth.dist.txt`
`{prefix}.mosdepth.summary.txt`
`{prefix}.per-base.bed.gz` (unless -n/--no-per-base is specified) `{prefix}.regions.bed.gz` (if --by is specified) `{prefix}.quantized.bed.gz` (if --quantize is specified) `{prefix}.thresholds.bed.gz` (if --thresholds is specified)
<BAM-or-CRAM>
the alignment file for which to calculate depth.

Common Options:

number of BAM decompression threads [default: 0]
chromosome to restrict depth calculation.
optional BED file or (integer) window-sizes.
dont output per-base depth. skipping this output will speed execution substantially. prefer quantized or thresholded values if possible.
fasta file for use with CRAM files [default: ].

Other options:

exclude reads with any of the bits in FLAG set [default: 1796]
only include reads with any of the bits in FLAG set. default is unset. [default: 0]
dont look at internal cigar operations or correct mate overlaps (recommended for most use-cases).
write quantized output see docs for description.
mapping quality threshold. reads with a quality less than this value are ignored [default: 0]
for each interval in --by, write number of bases covered by at least threshold bases. Specify multiple integer values separated by ','.
output median of each region (in --by) instead of mean.
only calculate depth for these comma-separated read groups IDs.
show help
November 2022 mosdepth 0.3.3