[Biopython] Phylo Tree: Need to align Taxa for visual representation
Asma Riyaz
asmariyaz23 at gmail.com
Thu Apr 10 18:29:24 UTC 2014
Hi,
I am using Bio.Phylo package to display a tree, and I am having problems
representing it the way I want it to be.
Here is my code:
gs=gridspec.GridSpec(1, 2,height_ratios=[1,1,-2,2]
,width_ratios=[1,1,-2,2],hspace=0,wspace=0)
phyl_ax=plt.subplot(gs[0])
Phylo.draw(tree, axes=phyl_ax, do_show=False,show_confidence=False)
With the above code I am able to produce, wrong.png
I would like the tree to be displayed similar to correct.png (I got this of
a 3rd party software MEGA) and want to automate the process (hence Phylo)
I have tried several of rcParams settings with line specifically but no
success.
Appreciate any help provided.
Asma
-------------- next part --------------
A non-text attachment was scrubbed...
Name: correct.png
Type: image/png
Size: 9950 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/biopython/attachments/20140410/f03188d6/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrong.png
Type: image/png
Size: 11667 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/biopython/attachments/20140410/f03188d6/attachment-0005.png>
More information about the Biopython
mailing list