1 #ifndef ERRORCHECKING_H
2 #define ERRORCHECKING_H
7 * Created by Sarah Westcott on 1/2/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
14 #include "globaldata.hpp"
15 #include "validcommands.h"
16 #include "validparameter.h"
17 #include "utilities.hpp"
23 bool checkInput(string);
26 GlobalData* globaldata;
27 ValidCommands* validCommand;
28 ValidParameters* validParameter;
29 void validateReadFiles();
30 void validateReadDist();
31 void validateReadPhil();
32 void validateParseFiles();
33 void validateTreeFiles();
36 string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, treefile, sharedfile, cutoff, format;
37 string precision, method, fileroot, label, line, iters, jumble, freq, single, rarefaction, shared, summary, randomtree;
38 string commandName, optionText;