Free Tools › Dot Plot Sequence Alignment
Compare two sequences visually. A dot marks each pair of windows in which at least the number of letters you choose are identical, position by position, so similar regions line up as diagonal lines. DNA is compared on both strands, so inversions show up as lines running the other way, and the longest matching regions are listed with their coordinates, with all of them available as a CSV download.
FreeNo account neededYour data stays in your browser
Example: seq2 is seq1 with a 24-nt insertion after position 90 (the line steps down), positions 151–180 repeated three times (three stacked lines), and positions 181–250 inverted (the orange line). To see the repeat as a ladder in a self-comparison, click Swap sequences first, then tick Compare sequence 1 with itself.
Point at (or tap) the plot to read positions.
272 same-strand dots and 66 reverse-complement dots (matching windows). About 7 dots would be expected by chance between unrelated sequences of these lengths and composition (both strands together). 13 matching regions; the longest is 92 nt.
| Strand | seq1 positions (x) | seq2 positions (y) | Length (nt) | Identity |
|---|---|---|---|---|
| Same | 1–92 | 1–92 | 92 | 98.9% |
| Same | 90–181 | 114–205 | 92 | 97.8% |
| Reverse | 180–251 | 335–264 | 72 | 97.2% |
| Same | 249–310 | 333–394 | 62 | 98.3% |
| Same | 149–182 | 233–266 | 34 | 94.1% |
| Same | 149–181 | 203–235 | 33 | 93.9% |
| Same | 66–75 | 178–187 | 10 | 90.0% |
| Same | 66–75 | 208–217 | 10 | 90.0% |
| Same | 66–75 | 238–247 | 10 | 90.0% |
| Reverse | 138–147 | 173–164 | 10 | 90.0% |
| Reverse | 140–149 | 171–162 | 10 | 90.0% |
| Same | 154–163 | 66–75 | 10 | 90.0% |
| Reverse | 175–184 | 287–278 | 10 | 90.0% |
A region is a run of matching windows on one diagonal; positions are 1-based, and identity is the share of identical letters over the region (no gaps). For reverse-complement matches, sequence 2 positions run from high to low, as in BLAST. Regions only one window long (10 nt, in gray) are at the chance level here; treat them as noise unless they recur.
Paste DNA, RNA, or protein as plain text or FASTA, up to 3,000 letters each, or click Load example pair. To look for repeats inside one sequence, tick Compare sequence 1 with itself.
Start with Standard. A dot needs at least the required number of identical letters in the window: require more (or use Exact for DNA or Strict for protein) to remove noise, or fewer (Sensitive) to find more diverged regions.
Diagonals are similar regions, a shifted diagonal marks an insertion or deletion, parallel lines are repeats, and orange lines running the other way are inversions on the opposite DNA strand. Point at the plot to read positions.
Compare the dot count with the number expected by chance, check the table of matching regions (positions, length, and identity), and download the regions as CSV and the plot as PNG or SVG.
A dot plot, or dot matrix, places one sequence along each axis and marks the positions where the two sequences match. Gibbs and McIntyre introduced the method in 1970, and it is still one of the most complete ways to compare two sequences, because it shows every region of similarity at once rather than a single best alignment.
Comparing single letters gives a noisy plot, especially for DNA, where two random bases match one time in four. Following Maizel and Lenk (1981), this tool slides a window along each diagonal and draws a dot only when at least the required number of letter pairs in the window are identical. The window and the matches required work together: with the same number of matches, a longer window is more permissive, so raise both together. Under the plot, the tool shows how many dots unrelated sequences of the same lengths and composition would give by chance, so you can tell signal from noise.
Sequence 1 runs left to right and sequence 2 from top to bottom, so a matching region is a line from upper left to lower right. An insertion or deletion breaks the line, which continues on a shifted diagonal. Repeats add lines parallel to the main diagonal. A self-comparison is symmetric about the main diagonal, and a tandem repeat forms a ladder of lines spaced by the length of the repeat unit. Low-complexity regions such as ATATAT fill in as solid blocks.
DNA has two strands, and an inverted segment matches the reverse complement of the other sequence, not the sequence as written. Like Dotter and other programs that compare both strands, this tool also compares sequence 1 with the reverse complement of sequence 2 and draws those matches in orange in the original coordinates, so an inversion runs from lower left to upper right. A self-comparison on both strands also reveals inverted repeats and palindromes at least about as long as the window (10 bp with the DNA settings), which can form hairpins; shorter sites, such as 6-bp restriction sites, usually do not show.
For DNA, the Standard setting (9 identical bases in a window of 10) gives about 260 chance dots per strand for two unrelated 3,000-nt sequences. Sensitive (7 of 10) is close to the default stringency of EMBOSS dotmatcher for DNA and finds more diverged regions at the cost of more noise, and Exact (10 of 10) works like the default word size of EMBOSS dottup. Proteins have 20 letters, so chance matches are rarer, and the protein settings use a window of 15 with 5 to 8 identities. This tool counts identical letters only; for distant protein homologs, a dot plot that scores similarity with BLOSUM62, such as EMBOSS dotmatcher or Dotter, is more sensitive.
A dot plot does not produce an alignment, a score, or a significance value. When you need the residue-by-residue alignment, use a pairwise alignment tool or BLAST. For chromosomes and whole genomes, use a genome-scale tool such as D-GENIES, which aligns the sequences first and then draws an interactive dot plot.
A dot plot, also called a dot matrix, compares two sequences by placing one along the horizontal axis and the other along the vertical axis. A dot is drawn wherever a stretch of one sequence matches a stretch of the other, so matching regions line up as diagonal lines. It shows every region of similarity at once, not just a single best alignment.
Look for diagonal lines first. Here, sequence 1 runs left to right and sequence 2 top to bottom, so a line from upper left to lower right means the sequences match along that stretch. A break followed by a shifted line marks an insertion or deletion, extra parallel lines mark repeats, orange lines running the other way mark inversions, and scattered single dots are usually chance matches.
The tool slides a window along both sequences and draws a dot only when at least the required number of letters in the two windows are identical. Fewer required matches catch short or diverged similarities but add random dots; more required matches clean up the plot but can hide weak signals. With the same number of matches, a longer window is more permissive, so change both together. For two unrelated 3,000-letter DNA sequences, 7 of 8 gives about 3,400 chance dots per strand and 9 of 10 only about 260.
For DNA, start with Standard (9 of 10) and switch to Sensitive (7 of 10) for more diverged sequences or Exact (10 of 10) for very similar ones. Protein has 20 amino acids, so chance matches are rarer: start with 6 identities in a window of 15. Check the chance estimate under the plot; a dot count close to it means you are mostly seeing noise.
Comparing a sequence with itself gives a solid main diagonal, because every position matches itself (it breaks only where N or other letters that never match fall in the window), and the plot is a mirror image across that line. Lines parallel to the main diagonal are direct repeats, and a ladder of closely spaced lines is a tandem repeat whose spacing equals the repeat unit. On both strands, orange lines show inverted repeats and palindromes at least about as long as the window.
Keep Both strands selected. An inverted segment sits on the opposite strand, so it only matches the reverse complement, which the tool checks and draws in orange in the original coordinates. An inversion then appears as an orange line running from lower left to upper right, and the regions table lists it as Reverse, with sequence 2 positions running from high to low.
A dense block usually marks a low-complexity region: a stretch built from very few letters or one short motif repeated many times, such as ATATAT in DNA or a proline-rich stretch in a protein. In a run of one letter every window matches every other, and in a short motif repeated many times windows match at every shift that is a multiple of the motif length, so the region fills in as a block of closely spaced lines. Search tools such as BLAST can mask these regions with low-complexity filters (DUST for DNA and SEG for protein).
An empty plot usually means the settings are too strict for how similar your sequences are, so lower the matches required or use the Sensitive setting. It can also mean the match is on the strand you left out, so select Both strands. DNA and protein cannot be compared letter for letter, so the tool asks you to translate the DNA first. A plot covered in dots means the settings are too lenient or the sequences have low complexity, so raise the matches required.
Use a dot plot for the big picture: it shows every region of similarity at once, including repeats, duplications, and rearrangements that a single alignment can hide. Use an alignment when you need the residue-by-residue match, percent identity, and a score; BLAST also gives E-values that estimate how often a match that good would occur by chance. Many analyses use both.
Dot plots show all matches between two sequences without assumptions about gaps, which makes repeats, insertions, deletions, and rearrangements easy to spot. They do not give an alignment, a score, or statistical significance, and what you see depends on the window and stringency you choose. The work also grows with the product of the two lengths, so very long sequences need genome-scale tools.
This tool accepts up to 3,000 letters per sequence and runs in your browser, which suits genes, transcripts, plasmid regions, and proteins. For chromosomes and whole genomes, use a genome-scale tool such as D-GENIES, Gepard, or MUMmer (matches found with nucmer or mummer and drawn with mummerplot), which find matches with fast word or alignment searches before drawing them.