]> git.donarmstrong.com Git - mothur.git/blob - deuniqueseqscommand.h
changes while testing 1.26
[mothur.git] / deuniqueseqscommand.h
1 #ifndef DEUNIQUESEQSCOMMAND_H
2 #define DEUNIQUESEQSCOMMAND_H
3 /*
4  *  deuniqueseqscommand.h
5  *  Mothur
6  *
7  *  Created by westcott on 10/19/10.
8  *  Copyright 2010 Schloss Lab. All rights reserved.
9  *
10  */
11
12 #include "command.hpp"
13
14 /* This command is the reverse of unique.seqs */ 
15
16 class DeUniqueSeqsCommand : public Command {
17
18 public:
19         DeUniqueSeqsCommand(string);
20         DeUniqueSeqsCommand();
21         ~DeUniqueSeqsCommand() {}
22         
23         vector<string> setParameters();
24         string getCommandName()                 { return "deunique.seqs";               }
25         string getCommandCategory()             { return "Sequence Processing";         }
26         string getOutputFileNameTag(string, string);
27         string getHelpString(); 
28         string getCitation() { return "http://www.mothur.org/wiki/Deunique.seqs"; }
29         string getDescription()         { return "reverse of the unique.seqs command, and creates a fasta file from a fasta and name file"; }
30
31         
32         int execute(); 
33         void help() { m->mothurOut(getHelpString()); }  
34         
35         
36 private:
37
38         string fastaFile, nameFile, outputDir;
39         vector<string> outputNames;
40         bool abort;
41         
42         map<string, string> nameMap;
43         
44         int readNamesFile();
45         
46 };
47
48 #endif
49