HIV Databases HIV Databases home HIV Databases home
HIV sequence database

Rainbow Tree

Purpose: To create a color-coded phylogenetic tree. See details below.

Input tree
Paste your tree file
in Newick format

Or upload Newick tree file
Or put job number

Color tree according to
first character(s) in sequence names
the column in field of sequence names delimited by
paste or upload grouped sequence names (example) icon

Assign colors default icon
Specify outgroup icon

Advanced options
Tree title
Branch thickness
Tip labels

 Show label:
categories full sequence names no label symbols icon

 Label style (in radial tree):
axial horizontal


vertical horizontal no legend

 Show legend at:
top left top top right
left center right
bottom left bottom bottom right
Color interior edges icon
Show node labels icon
E-mail Always email results

Details: This tool groups sequences based on sequence names, and draws a color-coded tree using up to 20 colors. It is useful when you already have a tree and want to color its branches to depict particular groupings of sequences. For example, the Sample Input with default settings depicts the HIV-1 M-group reference phylogeny color-coded by subtype.

For more information, see Rainbow Tree Explanation.

Download stand-alone R script:

References: This tool was developed by Peter Hraber and Hyejin Yoon, using APE in R, as described in:

last modified: Mon Apr 11 10:35 2016

Questions or comments? Contact us at

Operated by Los Alamos National Security, LLC, for the U.S. Department of Energy's National Nuclear Security Administration
Copyright © 2005-2012 LANS LLC All rights reserved | Disclaimer/Privacy

Dept of Health & Human Services Los Alamos National Institutes of Health