]> git.donarmstrong.com Git - mothur.git/blobdiff - clustersplitcommand.h
some changes to trim.flows
[mothur.git] / clustersplitcommand.h
index 4d1f4358ccf94382af1bb513e5cfaf10d87c8f34..9bce0995ee9cc9d7f212df0296335487502a3fd9 100644 (file)
@@ -23,7 +23,12 @@ class ClusterSplitCommand : public Command {
        
 public:
        ClusterSplitCommand(string);
+       ClusterSplitCommand();
        ~ClusterSplitCommand();
+       vector<string> getRequiredParameters();
+       vector<string> getValidParameters();
+       vector<string> getRequiredFiles();
+       map<string, vector<string> > getOutputFiles() { return outputTypes; }
        int execute();  
        void help();
        
@@ -31,18 +36,21 @@ private:
        GlobalData* globaldata;
        vector<int> processIDS;   //processid
        vector<string> outputNames;
+       map<string, vector<string> > outputTypes;
 
-       string method, fileroot, tag, outputDir, phylipfile, columnfile, namefile, distfile, format, showabund, timing;
+       string method, fileroot, tag, outputDir, phylipfile, columnfile, namefile, distfile, format, showabund, timing, splitmethod, taxFile, fastafile;
        double cutoff, splitcutoff;
-       int precision, length, processors;
-       bool print_start, abort, hard;
+       int precision, length, processors, taxLevelCutoff;
+       bool print_start, abort, hard, large;
        time_t start;
        ofstream outList, outRabund, outSabund;
        
        void printData(ListVector*);
        int createProcesses(vector < vector < map<string, string> > >);
        vector<string> cluster(vector< map<string, string> >, set<string>&);
-       int mergeLists(vector<string>, string, set<string>);
+       int mergeLists(vector<string>, map<float, int>, ListVector*);
+       map<float, int> completeListFile(vector<string>, string, set<string>&, ListVector*&);
+       int createMergedDistanceFile(vector< map<string, string> >);
 };
 
 #endif