]> git.donarmstrong.com Git - mothur.git/blobdiff - screenseqscommand.h
paralellized seq.error and dist.shared added some error checks to libshuff and dist...
[mothur.git] / screenseqscommand.h
index 81b915efcbf97e4b91bfca3bf27353da8f9ea8e9..b165bba2f2f343a8a20a4b07cb2290a43fd13c32 100644 (file)
@@ -17,13 +17,17 @@ class ScreenSeqsCommand : public Command {
 public:
        ScreenSeqsCommand(string);
        ScreenSeqsCommand();
-       ~ScreenSeqsCommand();
-       vector<string> getRequiredParameters();
-       vector<string> getValidParameters();
-       vector<string> getRequiredFiles();
-       map<string, vector<string> > getOutputFiles() { return outputTypes; }
-       int execute();
-       void help();
+       ~ScreenSeqsCommand() {}
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "screen.seqs";                         }
+       string getCommandCategory()             { return "Sequence Processing";         }
+       string getHelpString(); 
+       string getCitation() { return "http://www.mothur.org/wiki/Screen.seqs"; }
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
+       
        
 private:
 
@@ -39,6 +43,7 @@ private:
        int screenNameGroupFile(set<string>);
        int screenGroupFile(set<string>);
        int screenAlignReport(set<string>);
+       int screenQual(set<string>);
        
        int driver(linePair*, string, string, string, set<string>&);
        int createProcesses(string, string, string, set<string>&);
@@ -48,11 +53,12 @@ private:
        #endif
 
        bool abort;
-       string fastafile, namefile, groupfile, alignreport, outputDir;
+       string fastafile, namefile, groupfile, alignreport, outputDir, qualfile;
        int startPos, endPos, maxAmbig, maxHomoP, minLength, maxLength, processors, criteria;
        vector<string> outputNames;
        vector<string> optimize;
-       map<string, vector<string> > outputTypes;
+       map<string, int> nameMap;
+       int readNames();
        
        int getSummary(vector<unsigned long int>&);
        int createProcessesCreateSummary(vector<int>&, vector<int>&, vector<int>&, vector<int>&, vector<int>&, string);