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 getHelpString();
30 string getCitation() { return "http://www.mothur.org/wiki/Parse.list"; }
31 string getDescription() { return "parses a list file by group"; }
34 void help() { m->mothurOut(getHelpString()); }
37 int parse(ListVector*);
44 string outputDir, listfile, groupfile, label;
47 vector<string> outputNames;
49 map<string, ofstream*> filehandles;
50 map<string, ofstream*>::iterator it3;
54 /***************************************************************************************/