baltic

baltic is a Python library for parsing phylogenetic trees. It takes Newick, Nexus, or Nextstrain JSON and allows you to manipulate, explore, and visualize them.

  • Efficient manipulation of phylogenetic trees
  • Advanced analysis for time-scaled phylogenies
  • Flexible visualization tools
  • Integration with Python scientific libraries
  • Support for multiple tree formats

baltic is ideal for:

  • Exploring pathogen evolution
  • Studying speciation and extinction patterns
  • Visualizing evolutionary relationships
  • Integrating phylogenetic + metadata

Versions & change log

Browse the Examples, Tutorials, and As seen in.

Join discussions on our GitHub and issues page for feature requests.

Find baltic questions tagged on StackOverflow.

Support baltic

  • Contribute code

  • Cite

    Potter et al. 2026. baltic: the Backronymed Adaptable Lightweight Tree vIsualisation Code, bioRxiv 2026.09.20.752947.