7 * Created by Sarah Westcott on 1/22/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
16 #include "globaldata.hpp"
17 #include "utilities.hpp"
21 #define SKIPLINE(f,c) {while((c=f.get())!=EOF && ((c) != '\n')){}}
25 /****************************************************************************/
32 virtual void read() {};
33 int readSpecialChar(istream&, char, string);
34 int readNodeChar(istream& f);
35 float readBranchLength(istream& f);
38 GlobalData* globaldata;
39 int numNodes, numLeaves;
43 /****************************************************************************/
45 class ReadNewickTree : public ReadTree {
48 ReadNewickTree(string file) : treeFile(file) { openInputFile(file, filehandle); }
54 int readNewickInt(istream&, int&, Tree*);
55 void readTreeString();
56 void nexusTranslation();
62 /****************************************************************************/