Functions
newick.c File Reference

Collection of routines for reading and parsing newick trees. More...

Functions

static int parse_newick (pllStack **stack, int *inp)
 
void stack_dump (pllStack **stack)
 
static void assign_ranks (pllStack *stack, int *nodes, int *leaves)
 
int pllValidateNewick (pllNewickTree *t)
 Validate if a newick tree is a valid phylogenetic tree. More...
 
int pllNewickUnroot (pllNewickTree *t)
 Convert a binary rooted trree to a binary unrooted tree. More...
 
pllNewickTreepllNewickParseString (const char *newick)
 Parse a newick tree string. More...
 
void pllNewickParseDestroy (pllNewickTree **t)
 Deallocate newick parser stack structure. More...
 
pllNewickTreepllNewickParseFile (const char *filename)
 Parse a newick tree file. More...
 

Detailed Description

Collection of routines for reading and parsing newick trees.

Auxiliary functions for reading and parsing newick tree formats