]> 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 2c31ba2245b523b7f18c0a3559ee9cd6f85890df..b165bba2f2f343a8a20a4b07cb2290a43fd13c32 100644 (file)
@@ -16,9 +16,18 @@ class ScreenSeqsCommand : public Command {
        
 public:
        ScreenSeqsCommand(string);
-       ~ScreenSeqsCommand();
-       int execute();
-       void help();
+       ScreenSeqsCommand();
+       ~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:
 
@@ -34,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>&);
@@ -43,9 +53,16 @@ private:
        #endif
 
        bool abort;
-       string fastafile, namefile, groupfile, alignreport, outputDir;
-       int startPos, endPos, maxAmbig, maxHomoP, minLength, maxLength, processors;
+       string fastafile, namefile, groupfile, alignreport, outputDir, qualfile;
+       int startPos, endPos, maxAmbig, maxHomoP, minLength, maxLength, processors, criteria;
        vector<string> outputNames;
+       vector<string> optimize;
+       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);
+       int driverCreateSummary(vector<int>&, vector<int>&, vector<int>&, vector<int>&, vector<int>&, string, linePair*);       
 };
 
 #endif