1 #ifndef GETRABUNDCOMMAND_H
2 #define GETRABUNDCOMMAND_H
8 * Created by Sarah Westcott on 6/2/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
14 #include "command.hpp"
15 #include "inputdata.h"
16 #include "listvector.hpp"
19 class GetRAbundCommand : public Command {
21 GetRAbundCommand(string);
25 vector<string> setParameters();
26 string getCommandName() { return "get.rabund"; }
27 string getCommandCategory() { return "OTU-Based Approaches"; }
29 string getHelpString();
30 string getOutputPattern(string);
31 string getCitation() { return "http://www.mothur.org/wiki/Get.rabund"; }
32 string getDescription() { return "creates a rabund file"; }
36 void help() { m->mothurOut(getHelpString()); }
41 string filename, listfile, sabundfile, inputfile, format, outputDir, countfile;
43 vector<string> outputNames;
45 bool abort, allLines, sorted;
46 set<string> labels; //holds labels to be used
49 int processList(ofstream& out);
50 int createRabund(CountTable& ct, ListVector*& list, RAbundVector*& rabund);