X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=listseqscommand.h;h=1a31a6dd432e837159be8d916f7ce2a25e4d4dec;hb=44f3a3c81a34fdee62550d98838a4b421e8df08e;hp=391ec9a46b9f09671f79fbc0f895730338570d4c;hpb=aa9238c0a9e6e7aa0ed8b8b606b08ad4fd7dcfe3;p=mothur.git diff --git a/listseqscommand.h b/listseqscommand.h index 391ec9a..1a31a6d 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; + vector names, outputNames; + string fastafile, namefile, groupfile, alignfile, inputFileName, outputDir, listfile, taxfile; bool abort; int readFasta(); @@ -31,6 +42,7 @@ class ListSeqsCommand : public Command { int readGroup(); int readAlign(); int readList(); + int readTax(); };