]> git.donarmstrong.com Git - mothur.git/blob - readsharedcommand.h
8e7f2903f1f1be4b3f3c0519d3890d9ce04248d3
[mothur.git] / readsharedcommand.h
1 #ifndef READSHAREDCOMMAND_H
2 #define READSHAREDCOMMAND_H
3 /*
4  *  readsharedcommand.h
5  *  Mothur
6  *
7  *  Created by Sarah Westcott on 2/12/09.
8  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
9  *
10  */
11 #include <iostream>
12 #include <fstream>
13 #include "command.hpp"
14 #include "readmatrix.hpp"
15 #include "inputdata.h"
16
17 /* The read.shared must be run before you execute a collect.shared, rarefaction.shared or summary.shared command.
18 The read.shared command is used to read a shared file. The read.shared should be entered in the following format:
19 read.shared(shared=yourSharedFile). The shared parameter is required.  */
20
21 class GlobalData;
22
23 class ReadSharedCommand : public Command {
24 public:
25         ReadSharedCommand();
26         ~ReadSharedCommand();
27         int execute();
28         
29 private:
30         GlobalData* globaldata;
31         ReadMatrix* read;
32         InputData* input;
33         string filename;
34 };
35
36 #endif
37
38
39
40