1 #ifndef PARSELISTCOMMAND_H
2 #define PARSELISTCOMMAND_H
7 * Created by westcott on 2/24/10.
8 * Copyright 2010 Schloss Lab. All rights reserved.
12 #include "command.hpp"
14 #include "inputdata.h"
15 #include "listvector.hpp"
17 /***************************************************************************************/
19 class ParseListCommand : public Command {
22 ParseListCommand(string);
24 ~ParseListCommand() {}
26 vector<string> setParameters();
27 string getCommandName() { return "parse.list"; }
28 string getCommandCategory() { return "OTU-Based Approaches"; }
29 string getOutputFileNameTag(string, string);
30 string getHelpString();
31 string getCitation() { return "http://www.mothur.org/wiki/Parse.list"; }
32 string getDescription() { return "parses a list file by group"; }
35 void help() { m->mothurOut(getHelpString()); }
38 int parse(ListVector*);
45 string outputDir, listfile, groupfile, label;
48 vector<string> outputNames;
50 map<string, ofstream*> filehandles;
51 map<string, ofstream*>::iterator it3;
55 /***************************************************************************************/