File: samtools.md

package info (click to toggle)
multiqc 1.9%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 27,568 kB
  • sloc: python: 28,657; javascript: 3,233; sh: 74; makefile: 24
file content (49 lines) | stat: -rw-r--r-- 1,353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
Name: Samtools
URL: http://www.htslib.org
Description: >
    Samtools is a suite of programs for interacting with high-throughput
    sequencing data.
---

The Samtools module parses results generated by
[Samtools](http://www.htslib.org),
a suite of programs for interacting with high-throughput
sequencing data.

Supported commands:

* `stats`
* `flagstats`
* `idxstats`
* `rmdup`

### idxstats
The `samtools idxstats` prints its results to standard
out (no consistent file name) and has no header lines
(no way to recognise from content of file). As such, `idxstats`
result files must have the string `idxstat` somewhere in the filename.

There are a few MultiQC config options that you can add to
customise how the idxstats module works. A typical configuration
could look as follows:
```yaml
# Always include these chromosomes in the plot
samtools_idxstats_always:
    - X
    - Y

# Never include these chromosomes in the plot
samtools_idxstats_ignore:
    - MT

# Threshold where chromosomes are ignored in the plot.
# Should be a fraction, default is 0.001 (0.1% of total)
samtools_idxstats_fraction_cutoff: 0.001

# Name of the X and Y chromosomes.
# If not specified, MultiQC will search for any chromosome
# names that look like x, y, chrx or chry (case insensitive search)
samtools_idxstats_xchr: myXchr
samtools_idxstats_ychr: myYchr
```