Quality filters

Figure 21.67 gives an example of a variant that is called when the base quality filter is NOT applied, and not called when it is. To understand why it is not called when the base quality filter is applied look at the data in figure 21.68. This figure shows the same data as in figure 21.67, however, now with the 'Show quality scores' option in the side panel of the reads track switched on. This reveals that the reads that carry the potential 'G' variant tend to have poor quality. As all reads that have a base with quality less than 20 in this potential variant position are ignored when the 'Base quality filter' is turned on, no variant is called, most likely because it now does not meet the requirements of either the 'Minimum coverage', 'Minimum count' or 'Minimum frequency' filters. Note that the error in the example shown is a 'typical' Illumina error: the reference has a 'T' that is surrounded by stretches of 'G'. The 'G' signals 'drown' the signal of the 'T'.

Image removedbybaseqfilterbefore
Figure 21.67: An example of a variant that is removed by the base quality filter.

Image removedbybaseqfilterafter
Figure 21.68: The same data as in figure 21.67, now with the 'Show quality scores' option in the reads track switched on.