[Biojava-l] textlogodrawer

Mark Schreiber mark_s@sanger.otago.ac.nz
Sat, 5 Jan 2002 10:09:44 +1300 (NZDT)


Hi,

I have some possibly useful but rather ugly code that i used for an
upcomming paper in bioinformatics. I would be happy to distribute it to
the group or to individuals when I get back from my summer holidays :-)

Mark

On Thu, 3 Jan 2002, Thomas Down wrote:

> On Thu, Jan 03, 2002 at 02:37:30PM +0100, Bert Coessens wrote:
> > Does anyone have an example of some code that can be used to draw
> > motiflogo's from a distribution of information content per base? I'm
> > trying to use the classes and interfaces from biojava.org, but can't
> > figger out how I should program a working implementation.
> 
> Hi...
> 
> There's code in BioJava (since release 1.1) for drawing
> `logo' representations of BioJava's Distribution objects,
> in the package org.biojava.bio.gui, which I think should
> do what you want (Note: you actually need to pass in a
> probability distribution -- the information content gets
> calculated for you).
> 
> If you download the BioJava source distribution (or check
> a copy out from CVS), there's a small example program which
> shows how these are used.  See demos/dist/TestDistribution.java
> 
> Let me know if you have any trouble with this,
> 
>     Thomas.
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Schreiber			Ph: 64 3 4797875
Rm 218				email mark_s@sanger.otago.ac.nz
Department of Biochemistry
University of Otago		
PO Box 56
Dunedin
New Zealand
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~