[Biopython] Rendering a phylogram

Eric Talevich eric.talevich at gmail.com
Wed Sep 23 21:07:55 UTC 2015


Hi Iddo,

Bio.Phylo doesn't have a function to plot hypermetric trees, just the basic
rectangular phylogram with fixed branch lengths. But the
matplotlib-generated PDF is easy to edit in Inkscape, if that helps.

I think your best bet is to use another program/library like ETE2,
Archaeopteryx, or iTOL.

-Eric



On Wed, Sep 23, 2015 at 8:09 AM, Iddo Friedberg <idoerg at gmail.com> wrote:

> Hi,
>
> I would like to draw a phylogram with all leaf nodes aligned to the right.
> Phylo.draw renders teh branch lengths correctly, but the leaf nodes are not
> right aligned. I care less about relative branch lengths, and more about
> right-justified node alignment. Could not find anything in phylo cookbook.
>
> Thanks,
>
> Iddo
>
> --
> Iddo Friedberg
> http://iddo-friedberg.net/contact.html
> ++++++++++[>+++>++++++>++++++++>++++++++++>+++++++++++<<<<<-]>>>>++++.>
> ++++++..----.<<<<++++++++++++++++++++++++++++.-----------..>>>+.-----.
> .>-.<<<<--.>>>++.>+++.<+++.----.-.<++++++++++++++++++.>+.>.<++.<<<+.>>
> >>----.<--.>++++++.<<<<------------------------------------.
>
> _______________________________________________
> Biopython mailing list  -  Biopython at mailman.open-bio.org
> http://mailman.open-bio.org/mailman/listinfo/biopython
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20150923/d77f7888/attachment.html>


More information about the Biopython mailing list