[BioPython] sequence logo with biopython

bartek wilczynski bartek at rezolwenta.eu.org
Tue Sep 18 09:12:41 EDT 2007


Peter <biopython at maubp.freeserve.co.uk> wrote:
> > 
> > m.weblogo("x.png",colorscheme="BW") # brings you a monochrome logo image
> 
> Does this let you do things like:
> 
> m.weblogo("x.png", res=300)
> 
> i.e. an integer, or do you have to use a string:
> 
> m.weblogo("x.png", res="300")
> 
> One way to "fix" this (if it is a problem) would be to do this:
> 
> for k,v in kwds.items():
>      values[k]=str(v)
> 
> rather than:
> 
> for k,v in kwds.items():
>      values[k]=v
> 
> Anyway, given we have at least ten days until the release (Michiel will 
> be away - see his email on the developers list), and this is a little 
> change, I would be happy for this to go into CVS now.

Thanks for another good idea. I submitted the code to CVS. 

-- 
cheers
   Bartek


More information about the BioPython mailing list