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::Parsers::Nexus - Parser used by Bio::Phylo::IO, 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 and http://rutgervos.blogspot.com.

REVISION

 $Id: Nexus.pm 1385 2010-10-21 15:51:30Z rvos $