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