Dotplot

A technique (Gibbs and McIntyre) for comparing sequences. All cogent3 sequence collections classes (SequenceCollection, Alignment and ArrayAlignment) have a dotplot method.

The method returns a drawable, as demonstrated below between unaligned sequences.

import os

from cogent3 import load_unaligned_seqs


seqs = load_unaligned_seqs("../../data/SCA1-cds.fasta", moltype="dna")
draw = seqs.dotplot()
draw.show()