[Biopython-dev] Bio.Phylo bugs & pain points

Eric Talevich eric.talevich at gmail.com
Sat Feb 18 17:11:27 UTC 2012


On Sat, Feb 18, 2012 at 11:34 AM, Eric Talevich <eric.talevich at gmail.com>wrote:

> So -- do the trees drawn by Phylo.draw() look right?
>
>
Here's how to get a quick tree, using a test file from the Biopython source
distribution:

>>> from Bio import Phylo
>>> tree = Phylo.read("Tests/PhyloXML/apaf.xml", "phyloxml")
>>> Phylo.draw(tree)


If you don't have the Tests/ directory, you can use any other Newick, Nexus
or PhyloXML tree; just change the file name and format name in the call to
Phylo.read().

Thanks,
Eric



More information about the Biopython-dev mailing list