You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description

Computes the least common ancestor of a group of nodes in a tree. The tree must be specified in the Rich Newick Format.

Usage

LCA tree_ident ({taxon1, taxon2, [, taxon3...]} [{taxon4, taxon5, [, taxon6...]}]) [result output file]

tree_ident

The name of the network to analyse.

mandatory

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2824ff4b-a569-4c45-9d41-7a0329b88d9b"><ac:plain-text-body><![CDATA[

({taxon1, taxon2, [, taxon3...]} [,{taxon4, taxon5, [, taxon6...]}])

A list of sets of taxa in the specified tree.

mandatory

]]></ac:plain-text-body></ac:structured-macro>

result output file

Optional file destination for command output.

optional

The tool prints the given tree with all internal nodes labeled. If a node is not labeled in the original tree, then the node receives a generated name. Then the tool reads sets of nodes. For each node set read, the command prints their least common ancestor.

Examples

#NEXUS

BEGIN TREES;

Tree tree1 = ((1,4,3),2);
Tree tree2 = ((1,2),(4,3));


END;


BEGIN PHYLONET;

LCA tree2 ({1,4}, {2,3});

END;

See Also

  • No labels