1 #ifndef CONSENSUSSEQSCOMMAND_H
2 #define CONSENSUSSEQSCOMMAND_H
5 * consensusseqscommand.h
8 * Created by westcott on 11/23/10.
9 * Copyright 2010 Schloss Lab. All rights reserved.
14 #include "command.hpp"
15 #include "listvector.hpp"
17 class ConsensusSeqsCommand : public Command {
19 ConsensusSeqsCommand(string);
20 ConsensusSeqsCommand();
21 ~ConsensusSeqsCommand(){}
23 vector<string> setParameters();
24 string getCommandName() { return "consensus.seqs"; }
25 string getCommandCategory() { return "Sequence Processing"; }
26 string getHelpString();
29 void help() { m->mothurOut(getHelpString()); }
34 string fastafile, listfile, namefile, label, outputDir;
36 vector<string> outputNames;
37 map<string, string> fastaMap;
38 map<string, string> nameMap;
39 map<string, string> nameFileMap;
43 int processList(ListVector*&);
44 string getConsSeq(string, ofstream&, string&, int);
45 char getBase(vector<int>);