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 56 57
|
#ifndef Mothur_listotucommand_h
#define Mothur_listotucommand_h
//
// listotucommand.h
// Mothur
//
// Created by Sarah Westcott on 5/15/12.
// Copyright (c) 2012 Schloss Lab. All rights reserved.
//
#include "command.hpp"
#include "listvector.hpp"
#include "sharedrabundvectors.hpp"
#include "sharedrabundfloatvectors.hpp"
/**************************************************************************************************/
class ListOtusCommand : public Command {
public:
ListOtusCommand(string);
~ListOtusCommand(){}
vector<string> setParameters();
string getCommandName() { return "list.otus"; }
string getCommandCategory() { return "OTU-Based Approaches"; }
//commmand category choices: Sequence Processing, OTU-Based Approaches, Hypothesis Testing, Phylotype Analysis, General, Clustering and Hidden
string getHelpString();
string getOutputPattern(string);
string getCitation() { return "http://www.mothur.org/wiki/List.otulabels"; }
string getDescription() { return "lists otu labels from shared or relabund file. Can be used by get.otus with output from classify.otu, otu.association, or corr.axes to select specific otus."; }
int execute();
void help() { m->mothurOut(getHelpString()); }
private:
bool abort, allLines;
string sharedfile, relabundfile, label, inputFileName, format, listfile, constaxonomy;
vector<string> outputNames;
vector<string> Groups;
set<string> labels;
int printList(vector<string> currentLabels, string distance);
int createList(string);
};
/**************************************************************************************************/
#endif
|