The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bio::Phylo::Unparsers::Pagel - Unparses pagel data files. No serviceable parts inside.

DESCRIPTION

This module unparses a Bio::Phylo data structure into an input file for Discrete/Continuous/Multistate. The pagel file format (as it is interpreted here) consists of:

first line

the number of tips, the number of characters

subsequent lines

offspring name, parent name, branch length, character state(s).

During unparsing, the tree is randomly resolved, and branch lengths are formatted to %f floats (i.e. integers, decimal point, integers).

The pagel module is called by the Bio::Phylo::IO object, so look there to learn how to create Pagel formatted files.

SEE ALSO

Bio::Phylo::IO

The pagel unparser is called by the Bio::Phylo::IO object. Look there to learn how to create pagel formatted files.

Bio::Phylo::Manual

Also see the manual: Bio::Phylo::Manual and http://rutgervos.blogspot.com.

REVISION

 $Id: Pagel.pm 604 2008-09-05 17:32:28Z rvos $