<div dir="ltr"><div><div><div>Hi Iddo,<br><br></div>Bio.Phylo doesn&#39;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.<br><br></div>I think your best bet is to use another program/library like ETE2, Archaeopteryx, or iTOL.<br><br></div>-Eric<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 23, 2015 at 8:09 AM, Iddo Friedberg <span dir="ltr">&lt;<a href="mailto:idoerg@gmail.com" target="_blank">idoerg@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>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.<br><br></div><div>Thanks,<br><br></div><div>Iddo<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><div><div><br>-- <br><div>Iddo Friedberg<br><a href="http://iddo-friedberg.net/contact.html" target="_blank">http://iddo-friedberg.net/contact.html</a><br>++++++++++[&gt;+++&gt;++++++&gt;++++++++&gt;++++++++++&gt;+++++++++++&lt;&lt;&lt;&lt;&lt;-]&gt;&gt;&gt;&gt;++++.&gt;<br>++++++..----.&lt;&lt;&lt;&lt;++++++++++++++++++++++++++++.-----------..&gt;&gt;&gt;+.-----.<br>.&gt;-.&lt;&lt;&lt;&lt;--.&gt;&gt;&gt;++.&gt;+++.&lt;+++.----.-.&lt;++++++++++++++++++.&gt;+.&gt;.&lt;++.&lt;&lt;&lt;+.&gt;&gt;<br>&gt;&gt;----.&lt;--.&gt;++++++.&lt;&lt;&lt;&lt;------------------------------------.<br></div>
</div></div></div></font></span></div>
<br>_______________________________________________<br>
Biopython mailing list  -  <a href="mailto:Biopython@mailman.open-bio.org">Biopython@mailman.open-bio.org</a><br>
<a href="http://mailman.open-bio.org/mailman/listinfo/biopython" rel="noreferrer" target="_blank">http://mailman.open-bio.org/mailman/listinfo/biopython</a><br></blockquote></div><br></div>