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();
28 string getCitation() { return "http://www.mothur.org/wiki/Normalize.shared"; }
31 void help() { m->mothurOut(getHelpString()); }
36 vector<SharedRAbundVector*> lookup;
37 vector<SharedRAbundFloatVector*> lookupFloat;
39 bool abort, allLines, pickedGroups, makeRelabund;
40 set<string> labels; //holds labels to be used
41 string groups, label, outputDir, method, sharedfile, relabundfile, format, inputfile;
43 vector<string> Groups, outputNames;
45 int normalize(vector<SharedRAbundVector*>&, ofstream&);
46 int normalize(vector<SharedRAbundFloatVector*>&, ofstream&);
47 int eliminateZeroOTUS(vector<SharedRAbundVector*>&);
48 int eliminateZeroOTUS(vector<SharedRAbundFloatVector*>&);