Bioinformatics explained: Dot plots

Dot plots are two-dimensional plots where the x-axis and y-axis each represents a sequence and the plot itself shows a comparison of these two sequences by a calculated score for each position of the sequence. If a window of fixed size on one sequence (one axis) match to the other sequence a dot is drawn at the plot. Dot plots are one of the oldest methods for comparing two sequences [Maizel and Lenk, 1981].

The scores that are drawn on the plot are affected by several issues.

Contrary to simple sequence alignments dot plots can be a very useful tool for spotting various evolutionary events which may have happened to the sequences of interest.

Below is shown some examples of dot plots where sequence insertions, low complexity regions, inverted repeats etc. can be identified visually.

Similar sequences

The most simple example of a dot plot is obtained by plotting two homologous sequences of interest. If very similar or identical sequences are plotted against each other a diagonal line will occur.

The dot plot in figure 18.6 shows two related sequences of the Influenza A virus nucleoproteins infecting ducks and chickens. Accession numbers from the two sequences are: DQ232610 and DQ023146. Both sequences can be retrieved directly from NCBI.

Image dotplot_example
Figure 18.6: Dot plot of DQ232610 vs. DQ023146 (Influenza A virus nucleoproteins) showing and overall similarity.

Repeated regions

Sequence repeats can also be identified using dot plots. A repeat region will typically show up as lines parallel to the diagonal line.

Image repeats_gray
Figure 18.7: Direct and inverted repeats shown on an amino acid sequence generated for demonstration purposes.

If the dot plot shows more than one diagonal in the same region of a sequence, the regions depending to the other sequence are repeated. In figure 18.8 you can see a sequence with repeats.

Image dotplot_repeat
Figure 18.8: The dot plot of a sequence showing repeated elements. See also figure 18.7.

Frame shifts

Frame shifts in a nucleotide sequence can occur due to insertions, deletions or mutations. Such frame shifts can be visualized in a dot plot as seen in figure 18.9. In this figure, three frame shifts for the sequence on the y-axis are found.

  1. Deletion of nucleotides
  2. Insertion of nucleotides
  3. Mutation (out of frame)

Image dotplot_frameshift
Figure 18.9: This dot plot show various frame shifts in the sequence. See text for details.

Sequence inversions

In dot plots you can see an inversion of sequence as contrary diagonal to the diagonal showing similarity. In figure 18.10 you can see a dot plot (window length is 3) with an inversion.

Image dotplot_inversion
Figure 18.10: The dot plot showing an inversion in a sequence. See also figure 18.7.

Low-complexity regions

Low-complexity regions in sequences can be found as regions around the diagonal all obtaining a high score. Low complexity regions are calculated from the redundancy of amino acids within a limited region [Wootton and Federhen, 1993]. These are most often seen as short regions of only a few different amino acids. In the middle of figure 18.11 is a square shows the low-complexity region of this sequence.

Image dotplot_Low-complexity
Figure 18.11: The dot plot showing a low-complexity region in the sequence. The sequence is artificial and low complexity regions do not always show as a square.