# Dot plot (bioinformatics)

In bioinformatics a dot plot is a graphical method for comparing two biological sequences and identifying regions of close similarity after sequence alignment. It is a type of recurrence plot.

## History

One way to visualize the similarity between two protein or nucleic acid sequences is to use a similarity matrix, known as a dot plot. These were introduced by Gibbs and McIntyre in 1970[1] and are two-dimensional matrices that have the sequences of the proteins being compared along the vertical and horizontal axes. For a simple visual representation of the similarity between two sequences, individual cells in the matrix can be shaded black if residues are identical, so that matching sequence segments appear as runs of diagonal lines across the matrix.

## Interpretation

Some idea of the similarity of the two sequences can be gleaned from the number and length of matching segments shown in the matrix. Identical proteins will obviously have a diagonal line in the center of the matrix. Insertions and deletions between sequences give rise to disruptions in this diagonal. Regions of local similarity or repetitive sequences give rise to further diagonal matches in addition to the central diagonal. One way of reducing this noise is to only shade runs or 'tuples' of residues, e.g. a tuple of 3 corresponds to three residues in a row. This is effective because the probability of matching three residues in a row by chance is much lower than single-residue matches.

Dot plots compare two sequences by organizing one sequence on the x-axis, and another on the y-axis, of a plot. When the residues of both sequences match at the same location on the plot, a dot is drawn at the corresponding position. Note, that the sequences can be written backwards or forwards, however the sequences on both axes must be written in the same direction. Also note, that the direction of the sequences on the axes will determine the direction of the line on the dot plot. Once the dots have been plotted, they will combine to form lines. The closeness of the sequences in similarity will determine how close the diagonal line is to what a graph showing a curve demonstrating a direct relationship is. This relationship is affected by certain sequence features such as frame shifts, direct repeats, and inverted repeats. Frame shifts include insertions, deletions, and mutations. The presence of one of these features, or the presence of multiple features, will cause for multiple lines to be plotted in a various possibility of configurations, depending on the features present in the sequences. A feature that will cause a very different result on the dot plot is the presence of low-complexity region/regions. Low-complexity regions are regions in the sequence with only a few amino acids, which in turn, causes redundancy within that small or limited region. These regions are typically found around the diagonal, and may or may not have a square in the middle of the dot plot.

## Software to create dot plots

• ANACON – Contact analysis of dot plots.
• D-Genies[2] – Specializes in interactive whole genome dotplots of large genomes
• Dotlet – Provides a program allowing you to construct a dot plot with your own sequences.
• dotmatcher[3] – Web tool to generate dot plots (and part of the EMBOSS suite).
• Dotplot Archived 2016-10-03 at the Wayback Machine – easy (educational) HTML5 tool to generate dot plots from RNA sequences.
• dotplot – R package to rapidly generate dot plots as either traditional or ggplot graphics.
• Dotter[4] – Stand alone program to generate dot plots.
• JDotter[5] – Java version of Dotter.
• Flexidot[6] – Customizable and ambiguity-aware dotplot suite for aesthetics, batch analyses and printing (implemented in Python).
• Gepard[7] – Dot plot tool suitable for even genome scale.
• Genomdiff – An open source Java dot plot program for viruses.
• LAST for whole-genome "split-alignment".[8]
• lastz[9] and laj – Programs to prepare and visualize genomic alignments.
• yass[10] - Web-based tool to generate (both forward and reverse complement) dot plots from genomic alignments.
• re-DOT-able – A Java desktop application which allows the comparison of two sets of DNA/RNA sequences through the creation of an interactive dot plot.
• seqinr – R package to generate dot plots.
• SynMap – An easy to use, web-based tool to generate dotplots for many species with access to an extensive genome database. Offered by the comparative genomics platform CoGe.
• UGENE Dot Plot viewer – Opensource dot plot visualizer.
• General introduction to dot plots with example algorithms and a software tool to create small and medium size dot plots.

In addition to the tools listed above, the NCBI Blast Server at https://blast.ncbi.nlm.nih.gov/Blast.cgi includes Dot Plots in its output.