]> git.donarmstrong.com Git - mothur.git/blobdiff - subsamplecommand.h
moved mothur's source into a folder to make grabbing just the source easier on github
[mothur.git] / subsamplecommand.h
diff --git a/subsamplecommand.h b/subsamplecommand.h
deleted file mode 100644 (file)
index 7235a7b..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#ifndef SUBSAMPLECOMMAND_H
-#define SUBSAMPLECOMMAND_H
-
-/*
- *  subsamplecommand.h
- *  Mothur
- *
- *  Created by westcott on 10/27/10.
- *  Copyright 2010 Schloss Lab. All rights reserved.
- *
- */
-#include "command.hpp"
-#include "sharedrabundvector.h"
-#include "listvector.hpp"
-#include "rabundvector.hpp"
-#include "inputdata.h"
-#include "sequence.hpp"
-
-
-class SubSampleCommand : public Command {
-
-public:
-       SubSampleCommand(string);
-       SubSampleCommand();
-       ~SubSampleCommand() {}
-       
-       vector<string> setParameters();
-       string getCommandName()                 { return "sub.sample";  }
-       string getCommandCategory()             { return "General";             }
-       string getHelpString(); 
-       string getCitation() { return "http://www.mothur.org/wiki/Sub.sample"; }
-       string getDescription()         { return "get a sampling of sequences from a list, shared, rabund, sabund or fasta file"; }
-
-       int execute(); 
-       void help() { m->mothurOut(getHelpString()); }  
-       
-private:       
-       bool abort, pickedGroups, allLines, persample;
-       string listfile, groupfile, sharedfile, rabundfile, sabundfile, fastafile, namefile;
-       set<string> labels; //holds labels to be used
-       string groups, label, outputDir;
-       vector<string> Groups, outputNames;
-       int size;
-       vector<string> names;
-       map<string, vector<string> > nameMap;
-       
-       int getSubSampleShared();
-       int getSubSampleList();
-       int getSubSampleRabund();
-       int getSubSampleSabund();
-       int getSubSampleFasta();
-       int processShared(vector<SharedRAbundVector*>&);
-       int processRabund(RAbundVector*&, ofstream&);
-       int processSabund(SAbundVector*&, ofstream&);
-       int processList(ListVector*&, ofstream&, set<string>&);
-       int getNames();
-       int readNames();
-       
-};
-
-#endif
-