1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
#ifndef OTUHIERARCHYCOMMAND_H
#define OTUHIERARCHYCOMMAND_H
/*
* otuhierarchycommand.h
* Mothur
*
* Created by westcott on 1/19/10.
* Copyright 2010 Schloss Lab. All rights reserved.
*
*/
#include "command.hpp"
#include "listvector.hpp"
//**********************************************************************************************************************
class OtuHierarchyCommand : public Command {
public:
OtuHierarchyCommand(string);
~OtuHierarchyCommand(){}
vector<string> setParameters();
string getCommandName() { return "otu.hierarchy"; }
string getCommandCategory() { return "OTU-Based Approaches"; }
string getHelpString();
string getCommonQuestions();
string getOutputPattern(string);
string getCitation() { return "http://www.mothur.org/wiki/Otu.hierarchy"; }
string getDescription() { return "relates OTUs at different distances"; }
int execute();
void help() { m->mothurOut(getHelpString()); }
private:
bool abort, asv;
set<string> mylabels; //holds labels to be used
string label, listFile, asvlistFile, taxfile, countfile, output, list1Label, list2Label;
vector<string> outputNames;
void processHierarchy();
void processASV();
vector< vector<string> > getListVectors();
vector< vector<string> > getListVector(string, string&);
};
//**********************************************************************************************************************
#endif
|