Help for this page

Select Code to Download


  1. or download this
    use Bio::Phylo::Parsers;
    my $parser = new Bio::Phylo::Parsers;
    ...
    # the nexus format is a mixed format, that can contain
    # trees, taxa, matrices, etc.
    my $arrayref = $parser->parse( -format => 'nexus', -file => $nexusfile
    + );
    
  2. or download this
    my $trees = $parser->parse(-format => 'nexus', -I_want => 'trees', -fi
    +le => $nexusfile);