You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-2Lines changed: 28 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,16 @@
1
1
fast BAM/CRAM depth calculation for **WGS**, **exome**, or **targeted sequencing**.
2
2
[](http://bioconda.github.io/recipes/mosdepth/README.html)
> `mosdepth` must be built with the `--mm:refc` flag for optimal performance and correct operation.
10
+
11
+
```
12
+
13
+
9
14
`mosdepth` can output:
10
15
11
16
+ per-base depth about 2x as fast `samtools depth`--about 25 minutes of CPU time for a 30X genome.
@@ -23,6 +28,7 @@ when appropriate, the output files are bgzipped and indexed for ease of use.
23
28
## usage
24
29
25
30
```
31
+
26
32
mosdepth 0.3.11
27
33
28
34
Usage: mosdepth [options] <prefix> <BAM-or-CRAM>
@@ -63,6 +69,7 @@ Other options:
63
69
-m --use-median output median of each region (in --by) instead of mean.
64
70
-R --read-groups <string> only calculate depth for these comma-separated read groups IDs.
65
71
-h --help show help
72
+
66
73
```
67
74
If you use mosdepth please cite [the publication in bioinformatics](https://academic.oup.com/bioinformatics/article/doi/10.1093/bioinformatics/btx699/4583630?guestAccessKey=35b55064-4566-4ab3-a769-32916fa1c6e6)
68
75
@@ -77,7 +84,9 @@ If you don't want this behavior, simply send a bed file with 3 columns.
77
84
78
85
To calculate the coverage in each exome capture region:
`-n` means don't output per-base data, this will make `mosdepth`
@@ -108,12 +119,15 @@ improvement.
108
119
To create a set of "callable" regions as in [GATK's callable loci tool](https://software.broadinstitute.org/gatk/documentation/tooldocs/current/org_broadinstitute_gatk_tools_walkers_coverage_CallableLoci.php):
109
120
110
121
```
122
+
111
123
# by setting these ENV vars, we can control the output labels (4th column)
124
+
112
125
export MOSDEPTH_Q0=NO_COVERAGE # 0 -- defined by the arguments to --quantize
0 commit comments