How to create a sequence logo for aligned DNA sequences? For the given sequences in Kevin Murphy book (chapter 2, figure 2.5), I am deriving logo using this wiki_link I am not getting expected results.
DNA Sequences:
You can do it using weblogo as added above, here is a little code to do it in python
from Bio.Seq import Seq
from Bio import motifs
instances = df['binding'] #just input the list of DNA sequences
m = motifs.create(instances)
m.weblogo('logo.png')
Here you have to provide instances as list of DNA sequences and the result will be saved as logo.png or you may change the png to jpeg or tiff as you may want it.