]> git.donarmstrong.com Git - mothur.git/blob - sffmultiplecommand.h
added code to format fast files for uchime. started work on sff.multiple command
[mothur.git] / sffmultiplecommand.h
1 #ifndef Mothur_sffmultiplecommand_h
2 #define Mothur_sffmultiplecommand_h
3
4 //
5 //  sffmultiplecommand.h
6 //  Mothur
7 //
8 //  Created by Sarah Westcott on 8/14/12.
9 //  Copyright (c) 2012 Schloss Lab. All rights reserved.
10 //
11
12 #include "command.hpp"
13
14 class SffMultipleCommand : public Command {
15         
16 public:
17         SffMultipleCommand(string);
18         SffMultipleCommand();
19         ~SffMultipleCommand(){}
20         
21         vector<string> setParameters();
22         string getCommandName()                 { return "sff.multiple";                        }
23         string getCommandCategory()             { return "Sequence Processing";         }
24         string getOutputFileNameTag(string, string);
25         string getHelpString(); 
26         string getCitation() { return "http://www.mothur.org/wiki/Sff.multiple"; }
27         string getDescription()         { return "run multiple sff files through, sffinfo, trim.flow, shhh.flows and trim.seqs combining the results"; }
28     
29         int execute(); 
30         void help() { m->mothurOut(getHelpString()); }  
31         
32 private:
33         string filename, outputDir, flowOrder;
34         vector<string> outputNames;
35         bool abort, trim;
36         int maxFlows, minFlows, minLength, maxLength, maxHomoP, tdiffs, bdiffs, pdiffs, sdiffs, ldiffs, numLinkers, numSpacers;
37         int numFlows, numFPrimers, numRPrimers, processors;
38         float signal, noise;
39     
40     int readFile(vector<string>& sffFiles, vector<string>& oligosFiles);
41     
42 };
43
44
45 #endif