]> git.donarmstrong.com Git - mothur.git/blob - chopseqscommand.h
added command descriptions
[mothur.git] / chopseqscommand.h
1 #ifndef CHOPSEQSCOMMAND_H
2 #define CHOPSEQSCOMMAND_H
3
4 /*
5  *  chopseqscommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 5/10/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12
13
14 #include "command.hpp"
15 #include "sequence.hpp"
16
17 class ChopSeqsCommand : public Command {
18         
19         public:
20         
21                 ChopSeqsCommand(string);
22                 ChopSeqsCommand();      
23                 ~ChopSeqsCommand(){};
24         
25                 vector<string> setParameters();
26                 string getCommandName()                 { return "chop.seqs";           }
27                 string getCommandCategory()             { return "Sequence Processing"; }
28                 string getHelpString(); 
29                 string getCitation() { return "http://www.mothur.org/wiki/Chops.seqs"; }
30                 string getDescription()         { return "trim sequence length"; }
31         
32                 int execute(); 
33                 void help() { m->mothurOut(getHelpString()); }          
34         
35         private:
36                 string fastafile, outputDir, keep;
37                 bool abort, countGaps, Short;
38                 int numbases;
39                 vector<string> outputNames;
40                 
41                 string getChopped(Sequence);
42 };
43
44 #endif
45
46