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::Nexus - Unparses nexus matrices. No serviceable parts inside.

DESCRIPTION

This module turns a Bio::Phylo::Matrices::Matrix object into a nexus formatted matrix. It is called by the Bio::Phylo::IO 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

Bio::Phylo::IO

The newick unparser is called by the Bio::Phylo::IO object. Look there to learn how to unparse newick strings.

Bio::Phylo::Manual

Also see the manual: Bio::Phylo::Manual.

REVISION

$Id: Nexus.pm 4213 2007-07-15 03:11:27Z rvosa $