Sequence logos¶
Sequence logo’s display sequence information. They’re extensively applied to transcription factor binding site (TFBS) display. They can also be applied to sequence alignments more generally.
Drawing logo for a TFBS¶
We use the TFBS for the TATA box binding protein.
Drawing a sequence logo from a multiple sequence alignment¶
This can be done for an entire alignment, but bear in mind it can take some time to render. Note that we include gap characters in the display.
Sequence logo of protein alignment¶
No difference here except it uses the built-in colour scheme from the protein MolType
.