Skip to content

Latest commit

 

History

History

0.2.0

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

phyTreeViz container

Main tool: phyTreeViz

Code repository: https://github.com/moshi4/phyTreeViz

Basic information on how to use this tool:

  • executable: phytreeviz
  • help: --help
  • version: --version
  • description: Visualizing phylogenetic trees

Additional information:

phyTreeViz is a simple and minimal phylogenetic tree visualization python package implemented based on matplotlib. This package was developed to enhance phylogenetic tree visualization functionality of BioPython.

This is contains a python library as well as a command line executable.

Full documentation:

Example Usage

CLI example

phytreeviz -i input.nwk -o output.png 

API example

from phytreeviz import TreeViz, load_example_tree_file

tree_file = load_example_tree_file("small_example.nwk")

tv = TreeViz(tree_file)
tv.show_branch_length(color="red")
tv.show_confidence(color="blue")
tv.show_scale_bar()

tv.savefig("api_example01.png", dpi=300)