# Newick Tree Format

**URL:** <https://forum.biobakery.org/t/newick-tree-format/3022>\
**Category:** GraPhlAn\
**Created:** [January 19, 2022, 4:14pm UTC](https://forum.biobakery.org/t/newick-tree-format/3022 "2022-01-19T16:14:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unaimend](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/unaimend/32/1185_2.png) [@Unaimend](https://forum.biobakery.org/u/Unaimend)\
**Post date:** [January 19, 2022, 4:14pm UTC](https://forum.biobakery.org/t/newick-tree-format/3022/1 "2022-01-19T16:14:13Z")

</div>

How does a tree in Newick format have to look like so I can color with an annotation file

---

<div class="post-metadata">

**Author:** ![Yan\_Yan](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/yan_yan/32/93_2.png) [@Yan\_Yan](https://forum.biobakery.org/u/Yan_Yan)\
**Post date:** [February 4, 2022, 3:18pm UTC](https://forum.biobakery.org/t/newick-tree-format/3022/2 "2022-02-04T15:18:05Z")

</div>

Hi there,  
You would need two files: a tree file (e.g. [guide.txt](https://github.com/biobakery/graphlan/blob/master/examples/guide/guide.txt)) and an annotation file (e.g. [guide\_rings.txt](https://github.com/biobakery/graphlan/releases/download/1.1.3/guide_rings.txt)). The tree file lists all of your taxa. Here, each taxonomic rank is separated by a “.” (e.g. Family.Genus.Species), and each species will be plotted as a leaf on the tree. You can refer to more information at [https://github.com/biobakery/graphlan](https://github.com/biobakery/graphlan).  
Thanks  
Yan
