Bio::Phylo::Unparsers::Nexus - Serializer used by Bio::Phylo::IO, no serviceable parts inside


NAME

Bio::Phylo::Unparsers::Nexus - Serializer used by Bio::Phylo::IO, no serviceable parts inside


DESCRIPTION

This module turns a the Bio::Phylo::Matrices::Matrix manpage object into a nexus formatted matrix. It is called by the the Bio::Phylo::IO manpage facade, don't call it directly. You can pass the following additional arguments to the unparse call:


        # an array reference of matrix, forest and taxa objects:
        -phylo => [ $block1, $block2 ]

        # the arguments that can be passed for matrix objects, 
        # refer to Bio::Phylo::Matrices::Matrix::to_nexus:
        -matrix_args => {}
        # the arguments that can be passed for forest objects, 
        # refer to Bio::Phylo::Forest::to_nexus:
        -forest_args => {}
        # the arguments that can be passed for taxa objects, 
        # refer to Bio::Phylo::Taxa::to_nexus:
        -taxa_args => {}        
        
        OR:
        
        # for backward compatibility:
        -phylo => $matrix


SEE ALSO

the Bio::Phylo::IO manpage

The nexus serializer is called by the the Bio::Phylo::IO manpage object.

the Bio::Phylo::Manual manpage

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


REVISION

 $Id: Nexus.pm 1171 2009-07-07 06:23:58Z rvos $
 Bio::Phylo::Unparsers::Nexus - Serializer used by Bio::Phylo::IO, no serviceable parts inside