[Bioperl-l] How to display newick tree in graphics?

Allen Day allenday at ucla.edu
Fri Mar 12 17:31:17 EST 2004

this can be done using Bio::TreIO::svggraph.  this module will write SVG
images of a Bio::Tree.  there is a dependency of this module on SVG::Graph
and SVG.


On Fri, 12 Mar 2004, Josh Lauricha wrote:

> On Fri 03/12/04 10:49, Yuhui wrote:
> > hi,
> > a newbie to perl here, can someone teach me how to
> > output a newick file in the form of a image on a
> > webpage.
> The sort version is, right now you can't, but I've got some code that
> will let you, its not to well documented now and is probably buggy, but
> seems to be working for me.
> The problem is, Bio::Graphics is geared towards sequence objects, so
> drawing a tree won't work to well. Since there was some interest in
> generalizing Bio::Graphics, I've added Bio::Graphics::Image (basically
> just a wraper around GD::Image (contains one, not inherits)) and
> Bio::Graphics::Widget{.pm,::Tree.pm} which aims to be a generic "here's
> a chunk of space, draw something" object. But neither of these have been
> added to bioperl, but I've been planning on making them availible for
> critique for a while, just been a little to busy to get around to it.

More information about the Bioperl-l mailing list