]> git.donarmstrong.com Git - mothur.git/blob - makebiomcommand.h
added make.biom command
[mothur.git] / makebiomcommand.h
1 #ifndef Mothur_makebiomcommand_h
2 #define Mothur_makebiomcommand_h
3
4 //
5 //  makebiomcommand.h
6 //  Mothur
7 //
8 //  Created by Sarah Westcott on 4/16/12.
9 //  Copyright (c) 2012 Schloss Lab. All rights reserved.
10 //
11
12
13 #include "command.hpp"
14 #include "sharedrabundvector.h"
15 #include "inputdata.h"
16
17
18 class MakeBiomCommand : public Command {
19         
20 public:
21         MakeBiomCommand(string);
22         MakeBiomCommand();      
23         ~MakeBiomCommand(){}
24         
25         vector<string> setParameters();
26         string getCommandName()                 { return "make.biom";   }
27         string getCommandCategory()             { return "General";             }
28         string getHelpString(); 
29         string getCitation() { return "http://biom-format.org/documentation/biom_format.html, http://www.mothur.org/wiki/Make.biom"; }
30         string getDescription()         { return "creates a biom file"; }
31     
32         int execute(); 
33         void help() { m->mothurOut(getHelpString()); }  
34         
35 private:
36     
37         string sharedfile, contaxonomyfile, groups, outputDir, format, label;
38         vector<string> outputNames, Groups;
39         set<string> labels;
40     
41         bool abort, allLines;
42     
43     int getBiom(vector<SharedRAbundVector*>&);
44     vector<string> getMetaData(vector<SharedRAbundVector*>&);
45 };
46
47
48 #endif