read_quality.py¶
Calculate Phred quality score distribution for each position on the read.
Note
Each read should have the same (fixed) length.
Usage¶
Options¶
| Option | Description | Default |
|---|---|---|
-i, --input-file | Alignment file in BAM or SAM format | Required |
-o, --out-prefix | Prefix of output files | Required |
-r, --reduce | Ignore nucleotides with a particular phred score occurring fewer than this many times (reduces R vector size) | 1 |
-q, --mapq | Minimum mapping quality for "uniquely mapped" | 30 |
Output¶
prefix.qual.r— R script for generating boxplotprefix.qual.boxplot.pdf— quality boxplot (if R is available)