1 #ifndef VALIDPARAMETERS_H
2 #define VALIDPARAMETERS_H
8 * Created by Sarah Westcott on 1/5/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
15 #include "utilities.hpp"
17 //This class contains a list of all valid parameters in Mothur.
18 //It has a function which will tell you if your parameter is valid.
19 //When adding a new parameter you must add it to the valid list in the class constructor.
22 class ValidParameters {
27 bool isValidParameter(string);
28 bool isValidParameter(string, string, string);
29 vector <string> addParameters(string[], int);
30 void initCommandParameters();
31 void initParameterRanges();
34 map<string, string> readdist;
35 map<string, string> readotu;
36 map<string, string> readtree;
37 map<string, string> cluster;
38 map<string, string> deconvolute;
39 map<string, string> parsimony;
40 map<string, string> collectsingle;
41 map<string, string> collectshared;
42 map<string, string> rarefactsingle;
43 map<string, string> rarefactshared;
44 map<string, string> summarysingle;
45 map<string, string> summaryshared;
46 map<string, string> unifracweighted;
47 map<string, string> unifracunweighted;
48 map<string, string> libshuff;
49 map<string, string> heatmap;
51 map<string, string>::iterator it;
52 map<string, vector<string> > commandParameters;
53 map<string, vector<string> > parameterRanges;