| 1 | <html> |
| 2 | |
| 3 | <head> |
| 4 | <title>Per Base Sequence Quality</title> |
| 5 | <style type="text/css"> |
| 6 | body { |
| 7 | font-family: sans-serif; |
| 8 | } |
| 9 | </style> |
| 10 | </head> |
| 11 | <body> |
| 12 | <h1>Per Base Sequence Quality</h1> |
| 13 | <h2>Summary</h2> |
| 14 | <p> |
| 15 | This view shows an overview of the range of quality values across all bases |
| 16 | at each position in the FastQ file. |
| 17 | </p> |
| 18 | <p><img src="per_base_quality.png"></p> |
| 19 | <p> |
| 20 | For each position a BoxWhisker type plot is drawn. The elements of the |
| 21 | plot are as follows: |
| 22 | </p> |
| 23 | <ul> |
| 24 | <li>The central red line is the median value</li> |
| 25 | <li>The yellow box represents the inter-quartile range (25-75%)</li> |
| 26 | <li>The upper and lower whiskers represent the 10% and 90% points</li> |
| 27 | <li>The blue line represents the mean quality</li> |
| 28 | </ul> |
| 29 | <p> |
| 30 | The y-axis on the graph shows the quality scores. The higher the score |
| 31 | the better the base call. The background of the graph divides the |
| 32 | y axis into very good quality calls (green), calls of reasonable quality |
| 33 | (orange), and calls of poor quality (red). The quality of calls on most |
| 34 | platforms will degrade as the run progresses, so it is common to see |
| 35 | base calls falling into the orange area towards the end of a read. |
| 36 | </p> |
| 37 | <p> |
| 38 | It should be mentioned that there are number of different ways to encode |
| 39 | a quality score in a FastQ file. FastQC attempts to automatically determine |
| 40 | which encoding method was used, but in some very limited datasets it is |
| 41 | possible that it will guess this incorrectly (ironically only when your |
| 42 | data is universally very good!). The title of the graph will describe the |
| 43 | encoding FastQC thinks your file used. |
| 44 | </p> |
| 45 | <p> |
| 46 | Results from this module will not be displayed if your input is a BAM/SAM |
| 47 | file in which quality scores have not been recorded. |
| 48 | </p> |
| 49 | |
| 50 | |
| 51 | <h2>Warning</h2> |
| 52 | <p> |
| 53 | A warning will be issued if the lower quartile for any base is less |
| 54 | than 10, or if the median for any base is less than 25. |
| 55 | </p> |
| 56 | |
| 57 | <h2>Failure</h2> |
| 58 | <p> |
| 59 | This module will raise a failure if the lower quartile for any base is |
| 60 | less than 5 or if the median for any base is less than 20. |
| 61 | </p> |
| 62 | |
| 63 | <h2>Common reasons for warnings</h2> |
| 64 | <p> |
| 65 | The most common reason for warnings and failures in this module is a general |
| 66 | degradation of quality over the duration of long runs. In general sequencing |
| 67 | chemistry degrades with increasing read length and for long runs you may find |
| 68 | that the general quality of the run falls to a level where a warning or error |
| 69 | is triggered. |
| 70 | </p> |
| 71 | <p> |
| 72 | If the quality of the library falls to a low level then the most common remedy |
| 73 | is to perform quality trimming where reads are truncated based on their average |
| 74 | quality. For most libraries where this type of degradation has occurred you |
| 75 | will often be simultaneously running into the issue of adapter read-through so |
| 76 | a combined adapter and quality trimming step is often employed. |
| 77 | </p> |
| 78 | <p> |
| 79 | Another possibility is that a warn / error is triggered because of a short loss |
| 80 | of quality earlier in the run, which then recovers to produce later good |
| 81 | quality sequence. This can happen if there is a transient problem with the run |
| 82 | (bubbles passing through a flowcell for example). You can normally see this |
| 83 | type of error by looking at the per-tile quality plot (if available for your |
| 84 | platform). In these cases trimming is not advisable as it will remove later |
| 85 | good sequence, but you might want to consider masking bases during subsequent |
| 86 | mapping or assembly. |
| 87 | </p> |
| 88 | <p> |
| 89 | If your library has reads of varying length then you can find a warning or error |
| 90 | is triggered from this module because of very low coverage for a given base range. |
| 91 | Before committing to any action, check how many sequences were responsible for |
| 92 | triggering an error by looking at the sequence length distribution module results. |
| 93 | </p> |
| 94 | </body> |
| 95 | </html> |