# What is “aligned sequences” and “consensus sequence” in the context of sequence logo? How to compute these?

In bioinformatics, a sequence logo is a graphical representation of the sequence conservation of nucleotides (in a strand of DNA/RNA) or amino acids (in protein sequences).

so, What is "aligned sequences" and "consensus sequence"?

how can I get these sequences based on following data?

Figure 2.5 from the book "Machine Learning - A Probabilistic Perspective"

• Is this homework? – benn Jul 29 '19 at 12:27
• @KamilSJaron from the book "Machine Learning - A Probabilistic Perspective" – czlsws Jul 29 '19 at 14:01
• @KamilSJaron stats.stackexchange.com/q/419575/247356 – czlsws Jul 29 '19 at 14:03
• @KamilSJaron what does "AT" in "be made of AT" mean? – czlsws Jul 29 '19 at 14:58

The consensus sequence is the most frequent letter at each position in the alignment, i.e. [AT]TAGC etc. where [AT] means A or T since they are jointly high in frequency (5 each).