Skip to content
This repository was archived by the owner on Jun 28, 2023. It is now read-only.

Newick Tree

Ryan Moore edited this page Oct 30, 2017 · 2 revisions

Newick Tree

Iroki reads Newick formatted trees. This is a widely used format for storing phylogenetic and other types of trees in plain text.

Note: If your tree has parentheses in the leaf names, then you will get a Bio::Newick::ParseError. This is from the low level Newick parser that Iroki uses, so for now it cannot be avoided.

((A:1.5,B:1.2),C:0.4,(D:0.6,E:0.67));

You can download this tree here.

When opened in a tree viewer the above tree looks like this

A Simple Tree

Further reading

Clone this wiki locally