public:
TrimSeqsCommand(string);
TrimSeqsCommand();
- ~TrimSeqsCommand();
- vector<string> getRequiredParameters();
- vector<string> getValidParameters();
- vector<string> getRequiredFiles();
- map<string, vector<string> > getOutputFiles() { return outputTypes; }
- int execute();
- void help();
+ ~TrimSeqsCommand(){}
+
+ vector<string> setParameters();
+ string getCommandName() { return "trim.seqs"; }
+ string getCommandCategory() { return "Sequence Processing"; }
+ string getHelpString();
+
+ int execute();
+ void help() { m->mothurOut(getHelpString()); }
private:
bool cullAmbigs(Sequence&);
bool compareDNASeq(string, string);
int countDiffs(string, string);
- map<string, vector<string> > outputTypes;
bool abort;
string fastaFile, oligoFile, qFileName, groupfile, outputDir;
map<string, int> groupToIndex;
vector<string> primerNameVector; //needed here?
vector<string> barcodeNameVector; //needed here?
+ map<string, int> groupCounts;
vector<int> processIDS; //processid
vector<linePair*> lines;