User Tools

Site Tools


inputfiles

This is an old revision of the document!


Input files accepted by treeKO

Single tree file

The main input of treeKO are trees in newick format. These trees can either be rooted or unrooted. If they are unrooted, the program will root the tree according to the rooting method that the user has selected in the configuration file or it will use the default method. Information regarding duplication and speciation nodes can be provided by the user using the extended newick format (NHX http://phylosoft.org/NHX/). In order to use it, each internal node in the tree should be labeled with a tag like &&NHX:evoltype=“S” in the case of a speciation node or like &&NHX:evoltype=“D” in the case of a duplication node. See the example below:

((A:0.060947,B:0.674458)0.304000:0.040684[&&NHX:evoltype=S],(C:0.297950,(D1:0.499928,(E:0.427602,(D2:0.670545,D3:0.418440)0.998000:0.355432[&&NHX:evoltype=D])0.896000:0.109511[&&NHX:evoltype=S])0.999850:0.378397[&&NHX:evoltype=D])0.304000:0.040684[&&NHX:evoltype=S])[&&NHX:evoltype=S];

Multifurcations should also be marked using a similar code: &&NHX:evoltype=“MD” when a collapsed node contains more than one sequence per species and &&NHX:evoltype=“MS” when there is one sequence per species.

Additionally you can mark horizontal gene transfer events on your tree. In this case the node will be annotated as &&NHX:HGT=True.

List of trees

Instead of a second tree, a list of trees can also be provided. This list can have one of these four formats:

seed_name <tab> path_to_tree_file
seed_name <tab> tree_in_newick_format
path_to_tree_file
tree_in_newick_format
inputfiles.1370257596.txt.gz · Last modified: 2013/06/03 13:06 by mmarcet