X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=listseqscommand.h;h=9d320d9e9a94ad031826bc547d42a03b30e8ec30;hp=889b3733df47f346be5a3fd9dd327a0660913c61;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281 diff --git a/listseqscommand.h b/listseqscommand.h index 889b373..9d320d9 100644 --- a/listseqscommand.h +++ b/listseqscommand.h @@ -19,17 +19,23 @@ class ListSeqsCommand : public Command { ListSeqsCommand(string); ListSeqsCommand(); ~ListSeqsCommand(){} - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + + vector setParameters(); + string getCommandName() { return "list.seqs"; } + string getCommandCategory() { return "Sequence Processing"; } + string getHelpString(); + string getOutputPattern(string); + 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, outputNames; - map > outputTypes; - string fastafile, namefile, groupfile, alignfile, inputFileName, outputDir, listfile, taxfile; + string fastafile, namefile, groupfile, countfile, alignfile, inputFileName, outputDir, listfile, taxfile, fastqfile; bool abort; int readFasta(); @@ -38,7 +44,8 @@ class ListSeqsCommand : public Command { int readAlign(); int readList(); int readTax(); - + int readCount(); + int readFastq(); }; #endif