Next: , Previous: , Up: Phylogenetics   [Contents]

2.3.2.3 Root trees

The NewOutgroup filter takes an input tree and (re)root it according to a given species name.

Synopsis:

maf.filter=                                 \
    [...],
    NewOutgroup(                            \
        tree_input=BioNJ,                   \
        tree_output=NioNJ_rooted,           \
        outgroup=outgroupSpecies),          \
    [...]

Arguments:

tree_input={string}

The tag name of the tree to reroot.

tree_output={string}

The tag name to use to store the rerooted tree. If the same as tree_input, the rerooted tree will replace the old one.

outgroup={string}

The name of the species to use as outgroup. One and only one sequence for this species should be present in each block for which rerooting is to be performed.

Extra-data:

(user-defined tag)

A rooted tree.