Dotplot with annotated sequences#
If sequences in a dotplot have been annotated, the dotplot() method returns an AnnotatedDrawable.
Reloading sequences and annotations#
The data file, tp53-annotations.json, was created from a query of Ensembl for one-to-one orthologs of human TP53 between Human, Macaque, Orangutan and Marmoset. The resulting sequences were annotated with the location of the CDS for the canonical transcript, then the annotation_db was saved as json using annotation_db.to_json().
Removing annotation tracks#
Thus we could remove the left annotation track, for instance with