File: samtools.md

package info (click to toggle)
multiqc 1.21%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,164 kB
  • sloc: python: 52,323; javascript: 7,064; sh: 76; makefile: 21
file content (51 lines) | stat: -rw-r--r-- 1,346 bytes parent folder | download | duplicates (2)
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
50
51
---
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
```