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 58
|
#ifndef REMOVERARECOMMAND_H
#define REMOVERARECOMMAND_H
/*
* removerarecommand.h
* mothur
*
* Created by westcott on 1/21/11.
* Copyright 2011 Schloss Lab. All rights reserved.
*
*/
#include "command.hpp"
#include "listvector.hpp"
#include "sharedrabundvectors.hpp"
class RemoveRareCommand : public Command {
public:
RemoveRareCommand(string);
~RemoveRareCommand(){}
vector<string> setParameters();
string getCommandName() { return "remove.rare"; }
string getCommandCategory() { return "OTU-Based Approaches"; }
string getHelpString();
string getOutputPattern(string);
string getCitation() { return "http://www.mothur.org/wiki/Remove.rare"; }
string getDescription() { return "removes rare sequences from a sabund, rabund, shared or list and group file"; }
int execute();
void help() { m->mothurOut(getHelpString()); }
private:
string sabundfile, rabundfile, sharedfile, groupfile, countfile, listfile, groups, label;
int nseqs, allLines;
bool abort, byGroup;
vector<string> outputNames, Groups;
set<string> labels;
void processSabund();
void processRabund();
int processList();
void processShared();
void processLookup(SharedRAbundVectors*&);
};
#endif
|