]> git.donarmstrong.com Git - mothur.git/blobdiff - clusterfragmentscommand.h
fixed io
[mothur.git] / clusterfragmentscommand.h
index 01f38e45ff55518238894a79503928759124679c..c322529f3bedf95600a8b30e0ac013be2870d290 100644 (file)
@@ -32,13 +32,18 @@ class ClusterFragmentsCommand : public Command {
 public:
        ClusterFragmentsCommand(string);
        ClusterFragmentsCommand();
-       ~ClusterFragmentsCommand();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();  
-       void help();
+       ~ClusterFragmentsCommand() {}
+       
+       vector<string> 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<string, int> sizes;  //this map a seq name to the number of identical seqs in the names file
        map<string, int>::iterator itSize; 
        vector<string> outputNames;
-       map<string, vector<string> > outputTypes;
        
        int readFASTA();
        void readNameFile();