1 #ifndef NORMALIZESHAREDCOMMAND_H
2 #define NORMALIZESHAREDCOMMAND_H
5 * normalizesharedcommand.h
8 * Created by westcott on 9/15/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
13 #include "command.hpp"
14 #include "inputdata.h"
15 #include "sharedrabundvector.h"
17 class NormalizeSharedCommand : public Command {
20 NormalizeSharedCommand(string);
21 NormalizeSharedCommand();
22 ~NormalizeSharedCommand() {}
24 vector<string> setParameters();
25 string getCommandName() { return "normalize.shared"; }
26 string getCommandCategory() { return "OTU-Based Approaches"; }
27 string getHelpString();
30 void help() { m->mothurOut(getHelpString()); }
35 vector<SharedRAbundVector*> lookup;
36 vector<SharedRAbundFloatVector*> lookupFloat;
38 bool abort, allLines, pickedGroups, makeRelabund;
39 set<string> labels; //holds labels to be used
40 string groups, label, outputDir, method, sharedfile, relabundfile, format, inputfile;
42 vector<string> Groups, outputNames;
44 int normalize(vector<SharedRAbundVector*>&, ofstream&);
45 int normalize(vector<SharedRAbundFloatVector*>&, ofstream&);
46 int eliminateZeroOTUS(vector<SharedRAbundVector*>&);
47 int eliminateZeroOTUS(vector<SharedRAbundFloatVector*>&);