Clustal Omega  1.0.3
src/clustal/tree.h
Go to the documentation of this file.
00001 /*********************************************************************
00002  * Clustal Omega - Multiple sequence alignment
00003  *
00004  * Copyright (C) 2010 University College Dublin
00005  *
00006  * Clustal-Omega is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License as
00008  * published by the Free Software Foundation; either version 2 of the
00009  * License, or (at your option) any later version.
00010  *
00011  * This file is part of Clustal-Omega.
00012  *
00013  ********************************************************************/
00014 
00015 /*
00016  *  RCS $Id: tree.h 193 2011-02-07 15:45:21Z andreas $
00017  */
00018 
00019 #ifndef CLUSTALO_TREE_H
00020 #define CLUSTALO_TREE_H
00021 
00022 #include "symmatrix.h"
00023 #include "muscle_tree.h"
00024 #include "seq.h"
00025 
00026 enum {LEFT_NODE = 0, RGHT_NODE, PRNT_NODE, DIFF_NODE};
00027 
00028 extern void
00029 GuideTreeUpgma(tree_t **tree,
00030                char **labels, symmatrix_t *tmat, char *ftree);
00031 
00032 extern int
00033 GuideTreeFromFile(tree_t **tree,
00034                   mseq_t *mseq, char *ftree);
00035     
00036 extern void
00037 TraverseTree(int **piOrderLR_p, 
00038           tree_t *tree, mseq_t *mseq);
00039 
00040 #endif