]> git.donarmstrong.com Git - mothur.git/blobdiff - chimeraseqscommand.h
added mantel command
[mothur.git] / chimeraseqscommand.h
index 5b55120e0d0981b432f71332dc1db57e8fae5ce7..7e51748b3b7c8b16bf983e44f0771275f7cd532f 100644 (file)
 
 #include "mothur.h"
 #include "command.hpp"
-#include "filterseqscommand.h"
-#include "sequence.hpp"
-#include "sparsematrix.hpp"
-#include "dist.h"
-
-typedef list<PCell>::iterator MatData;
-typedef map<int, float> SeqMap;  //maps sequence to all distance for that seqeunce
 
 /***********************************************************/
 
 class ChimeraSeqsCommand : public Command {
 public:
        ChimeraSeqsCommand(string);
+       ChimeraSeqsCommand() {}
        ~ChimeraSeqsCommand();
+       vector<string> getRequiredParameters();
+       vector<string> getValidParameters();
+       vector<string> getRequiredFiles();
+       map< string, vector<string> > getOutputFiles() { return outputTypes; }
        int execute();
        void help();
        
+               
 private:
-       //Dist* distCalculator;
-       
-       struct Preference {
-               string leftParent;
-               string rightParent;
-               float score;
-
-       };
-
-       Dist* distCalculator;
-       bool abort;
-       string method, fastafile;
-       bool filter, correction;
-       int processors, midpoint;
-       FilterSeqsCommand* filterSeqs;
-       vector<Sequence> seqs;
-       vector<Preference> pref;
-       
-       int findAverageMidPoint();
-       void readSeqs();
-       void generatePreferences(SparseMatrix*, SparseMatrix*);
-       int createSparseMatrix(int, int, SparseMatrix*, vector<Sequence>);
-       
+       vector<string> outputNames;
+       map< string, vector<string> > outputTypes;
 
 };