]> git.donarmstrong.com Git - mothur.git/blobdiff - binsequencecommand.h
added pipeline commands which involved change to command factory and command class...
[mothur.git] / binsequencecommand.h
index 8ea88cbfcff767eec8461df493cea50217675404..df7ea7593dd266c71a3a1b7a49c03c70596a368f 100644 (file)
@@ -25,7 +25,12 @@ class BinSeqCommand : public Command {
        
 public:
        BinSeqCommand(string);  
+       BinSeqCommand();
        ~BinSeqCommand();
+       vector<string> getRequiredParameters();
+       vector<string> getValidParameters();
+       vector<string> getRequiredFiles();
+       map<string, vector<string> > getOutputFiles() { return outputTypes; }
        int execute();
        void help();    
        
@@ -37,11 +42,12 @@ private:
        FastaMap* fasta;
        GroupMap* groupMap;
        bool abort, allLines;
-       set<int> lines; //hold lines to be used
        set<string> labels; //holds labels to be used
-       string filename, fastafile, namesfile, groupfile, line, label;
+       string filename, fastafile, namesfile, groupfile, label, outputDir;
        ofstream out;
        ifstream in, inNames;
+       vector<string> outputNames;
+       map<string, vector<string> > outputTypes;
        
        void readNamesFile();
        int process(ListVector*);