Archive Ensembl HomeArchive Ensembl Home
Bio::EnsEMBL::Compara::Graph::NewickParser Class Reference

List of all members.

Class Summary




Module which implements a newick string parser as a finite state machine which enables it
to parse the full Newick specification.  Module does not need to be instantiated, the method
can be called directly.

Definition at line 18 of file

Available Methods

public next_token ()
parse_newick_into_tree ()

Method Documentation

public Bio::EnsEMBL::Compara::Graph::NewickParser::next_token ( )

Undocumented method

click to view
public Bio::EnsEMBL::Compara::NestedSet Bio::EnsEMBL::Compara::Graph::NewickParser::parse_newick_into_tree ( )
  Arg 1      : string $newick_tree
  Arg 2      : string $class (optional)
  Example    : $tree = Bio::EnsEMBL::Compara::Graph::NewickParser::parse_newick_into_tree($newick_tree);
  Description: Read the newick string and returns (the root of) a tree.
               Tree nodes are instances of $class, or Bio::EnsEMBL::Compara::NestedSet by default.
  Returntype : Bio::EnsEMBL::Compara::NestedSet or $class
  Exceptions : none
  Caller     : general
click to view

The documentation for this class was generated from the following file: