# example 1: a tree with named internal nodes;
(A,(B,(C,(D,E)2DE)CDE3)BC3DE)ROOT;
# example 2: a tree with named internal nodes and branch lengths
(A:0.1,(B:0.2,(C:0.3,(D:0.4,E:0.5)2DE:0.6)CDE3:0.05)BC3DE:0.1)ROOT:0.43;
# example 3: a tree with named internal nodes, branch lengths and bootstrap scores
# in this case, the bootstrap values are put into square brackets
(A:0.1,(B:0.2,(C:0.3,(D:0.4,E:0.5)2DE:0.6[40](40))CDE3:0.05[80](80))BC3DE:0.1[100](100))ROOT:0.43[90](90);
<?xml version="1.0" encoding="UTF-8"?><phyloxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phyloxml.org" xsi:schemaLocation="http://www.phyloxml.org http://www.phyloxml.org/1.10/phyloxml.xsd">
<phylogeny rooted="true">
<clade>
<clade>
<name>A</name>
</clade>
<clade>
<clade>
<name>B</name>
</clade>
<clade>
<clade>
<name>C</name>
</clade>
<clade>
<clade>
<name>D</name>
</clade>
<clade>
<name>E</name>
</clade>
<name>2DE</name>
</clade>
<name>CDE3</name>
</clade>
<name>BC3DE</name>
</clade>
<name>ROOT</name>
</clade>
</phylogeny>
</phyloxml>
... and the phyloXML equivalent of 'example 3' is :
<?xml version="1.0" encoding="UTF-8"?><phyloxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phyloxml.org" xsi:schemaLocation="http://www.phyloxml.org http://www.phyloxml.org/1.10/phyloxml.xsd">
<phylogeny rooted="true">
<clade>
<clade>
<branch_length>0.1</branch_length>
<name>A</name>
</clade>
<clade>
<clade>
<branch_length>0.2</branch_length>
<name>B</name>
</clade>
<clade>
<clade>
<branch_length>0.3</branch_length>
<name>C</name>
</clade>
<clade>
<clade>
<branch_length>0.4</branch_length>
<name>D</name>
</clade>
<clade>
<branch_length>0.5</branch_length>
<name>E</name>
</clade>
<branch_length>0.6</branch_length>
<confidence type="unknow">40</confidence>
<name>2DE</name>
</clade>
<branch_length>0.05</branch_length>
<confidence type="unknow">80</confidence>
<name>CDE3</name>
</clade>
<branch_length>0.1</branch_length>
<confidence type="unknow">100</confidence>
<name>BC3DE</name>
</clade>
<branch_length>0.43</branch_length>
<confidence type="unknow">90</confidence>
<name>ROOT</name>
</clade>
</phylogeny>
</phyloxml>
Evolview supports the use of parentheses in leaf names. As long as they come in pairs, parentheses can be put at anywhere (start, end, middle) of the leaf name; multiple and nested parentheses in a single leaf name are also supported.
For example, the tree below:
( ( (
(A)(NC_1)B(C):0.4,
((B)B_(NC_2)):0.3)90:0.2,
(
C_(NC_3):0.1,
(D_(NC_4)):0.001)75:0.2 )90:0.3,
E_(NC_5)_E:0.44 )100:0.3;
will be visualised as:
Float numbers less than 0.0001 (1e-4; non-inclusive) will be displayed as scientific numbers. For example, the tree:
(A:0.0001,(B:0.00002,(C:0.000003,D:0.000004)100:0.05)100:0.1)90:0.43;
will be visualised as:
In addition, branch lengths can be directly written as scientific numbers. For example, the following tree will be correctly parsed and visualised:
(A:1e-2,(B:0.00002,(C:0.000003,D:1.45e-5)100:0.05)100:0.1)90:0.43;