Free Tools › Dot Plot Sequence Alignment

Dot Plot Sequence Alignment (DNA and Protein Dot Matrix)

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

310 letters · looks like DNA/RNA
394 letters · looks like DNA/RNA
Preset (identical letters of window)
Strands

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.

Dot plot of seq1 (310 nt) against seq2 (394 nt), window 10 with 9 matches required: 272 same-strand dots and 66 reverse-complement dots (matching windows), 13 matching regions.11002003001100200300seq1 (310 nt)seq2 (394 nt)Same strandReverse complementWindow 10, at least 9 identical basestimelyscholar.com/free-tools/dot-plot-sequence-alignment

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.

Longest matching regions

Strandseq1 positions (x)seq2 positions (y)Length (nt)Identity
Same1–921–929298.9%
Same90–181114–2059297.8%
Reverse180–251335–2647297.2%
Same249–310333–3946298.3%
Same149–182233–2663494.1%
Same149–181203–2353393.9%
Same66–75178–1871090.0%
Same66–75208–2171090.0%
Same66–75238–2471090.0%
Reverse138–147173–1641090.0%
Reverse140–149171–1621090.0%
Same154–16366–751090.0%
Reverse175–184287–2781090.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.

How to read a dot plot

Similar region. A diagonal line from upper left to lower right.
Insertion or deletion. The line breaks and resumes on a shifted diagonal: lower for extra letters in sequence 2, further right for extra letters in sequence 1.
Repeat. Extra lines parallel to the main diagonal. A tandem repeat gives a ladder of evenly spaced lines.
Inversion (DNA). An orange line running the other way: the segment matches the other strand (reverse complement).
Low-complexity region. A solid block, from stretches such as ATATAT or a run of one amino acid.
Get new free research tools firstOccasional emails when we add tools and guides. No spam.

We only use your email to send these updates, never share it, and you can unsubscribe by replying to any email or writing to info@timelyscholar.com. Privacy Policy

How to Use the Dot Plot Sequence Alignment

  1. 1

    Paste two sequences

    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.

  2. 2

    Choose the settings

    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.

  3. 3

    Read the plot

    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.

  4. 4

    Use the results

    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.

What is a dot plot in bioinformatics?

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.

How it is calculated

Sources

Dot Plot Sequence Alignment: FAQ

What is a dot plot in bioinformatics?

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.

How do I read a dot plot?

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.

What do the window size and matches required do?

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.

What settings should I use for DNA and for protein?

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.

What does a self dot plot show?

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.

How do I find inversions and inverted repeats?

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.

What does a solid square or block of dots mean?

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).

Why is my dot plot empty or covered in dots?

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.

Should I use a dot plot or BLAST and pairwise alignment?

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.

What are the advantages and limitations of dot plots?

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.

Can I compare whole genomes or very long sequences?

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.

Related Free Tools

Chat on WhatsApp