X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=listseqscommand.h;h=8e4cce3c932100ff1ab88d49b346ff87e7791a06;hb=e10c72304ee071c0c40e0218a06d89dc4731cbc2;hp=6a210a180e5bc9453005c7aefb8613fa45d52c03;hpb=14edc148cb299c5624f72bb681375b704aa74f43;p=mothur.git diff --git a/listseqscommand.h b/listseqscommand.h index 6a210a1..8e4cce3 100644 --- a/listseqscommand.h +++ b/listseqscommand.h @@ -16,14 +16,25 @@ class ListSeqsCommand : public Command { public: - ListSeqsCommand(string); - ~ListSeqsCommand(){}; - int execute(); - void help(); - + ListSeqsCommand(string); + ListSeqsCommand(); + ~ListSeqsCommand(){} + + vector setParameters(); + string getCommandName() { return "list.seqs"; } + string getCommandCategory() { return "Sequence Processing"; } + string getOutputFileNameTag(string, string); + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/List.seqs"; } + string getDescription() { return "lists sequences from a list, fasta, name, group, alignreport or taxonomy file"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + + private: - vector names; - string fastafile, namefile, groupfile, alignfile, inputFileName, outputDir, listfile, taxfile; + vector names, outputNames; + string fastafile, namefile, groupfile, countfile, alignfile, inputFileName, outputDir, listfile, taxfile; bool abort; int readFasta(); @@ -32,6 +43,7 @@ class ListSeqsCommand : public Command { int readAlign(); int readList(); int readTax(); + int readCount(); };