1 #ifndef GETSEQSCOMMAND_H
2 #define GETSEQSCOMMAND_H
8 * Created by Sarah Westcott on 7/8/09.
9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
13 #include "command.hpp"
15 class GetSeqsCommand : public Command {
19 GetSeqsCommand(string);
23 vector<string> setParameters();
24 string getCommandName() { return "get.seqs"; }
25 string getCommandCategory() { return "Sequence Processing"; }
27 string getHelpString();
28 string getOutputPattern(string);
29 string getCitation() { return "http://www.mothur.org/wiki/Get.seqs"; }
30 string getDescription() { return "gets sequences from a list, fasta, name, group, alignreport, quality or taxonomy file"; }
33 void help() { m->mothurOut(getHelpString()); }
38 vector<string> outputNames;
39 string accnosfile, accnosfile2, fastafile, namefile, countfile, groupfile, alignfile, listfile, taxfile, qualfile, outputDir;
41 map<string, string> uniqueMap;
43 map<string, set<string> > sanity; //maps file type to names chosen for file. something like "fasta" -> vector<string>. If running in debug mode this is filled and we check to make sure all the files have the same names. If they don't we output the differences for the user.
55 int createMisMatchFile(ofstream&, string, string, set<string>, set<string>);