X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clusterfragmentscommand.h;h=c322529f3bedf95600a8b30e0ac013be2870d290;hb=d71a31a60542608595ce1278cc4a3398479cec7f;hp=01f38e45ff55518238894a79503928759124679c;hpb=60c648c1c7dabd7f3710b92212fdc5b86a43d402;p=mothur.git diff --git a/clusterfragmentscommand.h b/clusterfragmentscommand.h index 01f38e4..c322529 100644 --- a/clusterfragmentscommand.h +++ b/clusterfragmentscommand.h @@ -32,13 +32,18 @@ class ClusterFragmentsCommand : public Command { public: ClusterFragmentsCommand(string); ClusterFragmentsCommand(); - ~ClusterFragmentsCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~ClusterFragmentsCommand() {} + + vector setParameters(); + string getCommandName() { return "cluster.fragments"; } + string getCommandCategory() { return "Sequence Processing"; } + string getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Cluster.fragments"; } + string getDescription() { return "creates a namesfile with sequences that are a fragment of a larger sequence"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: bool abort; @@ -49,7 +54,6 @@ private: map sizes; //this map a seq name to the number of identical seqs in the names file map::iterator itSize; vector outputNames; - map > outputTypes; int readFASTA(); void readNameFile();