]> git.donarmstrong.com Git - mothur.git/blob - mergefilecommand.h
added command descriptions
[mothur.git] / mergefilecommand.h
1 #ifndef MERGEFILECOMMAND_H
2 #define MERGEFILECOMMAND_H
3
4 /*
5  *  mergefilecommand.h
6  *  Mothur
7  *
8  *  Created by Pat Schloss on 6/14/09.
9  *  Copyright 2009 Patrick D. Schloss. All rights reserved.
10  *
11  */
12
13 #include "mothur.h"
14 #include "command.hpp"
15
16 class MergeFileCommand : public Command {
17 public:
18         MergeFileCommand(string);
19         MergeFileCommand();
20         ~MergeFileCommand(){}
21         
22         vector<string> setParameters();
23         string getCommandName()                 { return "merge.files"; }
24         string getCommandCategory()             { return "General";             }
25         string getHelpString(); 
26         string getCitation() { return "http://www.mothur.org/wiki/Merge.files"; }
27         string getDescription()         { return "appends files creating one file"; }
28
29         
30         int execute(); 
31         void help() { m->mothurOut(getHelpString()); }  
32         
33 private:
34         vector<string> fileNames, outputNames;
35         string outputFileName;
36         int numInputFiles;
37         bool abort;
38 };
39
40 #endif