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"; }
29 string getDescription() { return "normalize samples in a shared or relabund file"; }
33 void help() { m->mothurOut(getHelpString()); }
38 vector<SharedRAbundVector*> lookup;
39 vector<SharedRAbundFloatVector*> lookupFloat;
41 bool abort, allLines, pickedGroups, makeRelabund;
42 set<string> labels; //holds labels to be used
43 string groups, label, outputDir, method, sharedfile, relabundfile, format, inputfile;
45 vector<string> Groups, outputNames;
47 int normalize(vector<SharedRAbundVector*>&);
48 int normalize(vector<SharedRAbundFloatVector*>&);
49 int eliminateZeroOTUS(vector<SharedRAbundVector*>&);
50 int eliminateZeroOTUS(vector<SharedRAbundFloatVector*>&);