NAME

Bio::Phylo::Parsers::Nexus - Parses nexus files. No serviceable parts inside.

DESCRIPTION

This module parses nexus files. It is called by the Bio::Phylo::IO module, there is no direct usage. The parser can handle files and strings with multiple tree, taxon, and characters blocks whose links are defined using Mesquite's "TITLE = 'some_name'" and "LINK TAXA = 'some_name'" tokens.

The parser returns a reference to an array containing one or more taxa, trees and matrices objects. Nexus comments are stripped, private nexus blocks (and the 'assumptions' block) are skipped. It currently doesn't handle 'mixed' data.

SEE ALSO

Bio::Phylo::IO

The nexus parser is called by the Bio::Phylo::IO object. Look there for examples of file parsing and manipulation.

Bio::Phylo::Manual

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

REVISION

$Id: Nexus.pm 4234 2007-07-17 13:41:02Z rvosa $