biomcmc-lib  0.1
low level library for phylogenetic analysis
Data Structures | Typedefs | Functions
newick_space.h File Reference

Reads a list of trees in newick format and creates vector of topologies. More...

#include "read_newick_trees.h"
Include dependency graph for newick_space.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  newick_space_struct
 Collection of topologies from tree file. Each topology will have its own char_vector. More...
 

Typedefs

typedef struct newick_space_structnewick_space
 

Functions

newick_space new_newick_space ()
 
void del_newick_space (newick_space nwk)
 
topology new_single_topology_from_newick_file (char *filename)
 Convenience function to read one newick tree from file, skipping checks (comments, multiline trees, etc.)
 
newick_space new_newick_space_from_file (char *filename)
 
void update_newick_space_from_file (newick_space nwk, char *filename)
 
void update_newick_space_from_string (newick_space nwk, char *tree_string, size_t string_size)
 
void update_newick_space_from_topology (newick_space nwk, topology topol)
 

Detailed Description

Reads a list of trees in newick format and creates vector of topologies.

Currently does not check for duplicated trees, or same leaf names on a tree