1 #ifndef SHAREDCOMMAND_H
2 #define SHAREDCOMMAND_H
7 * Created by Sarah Westcott on 1/2/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
15 #include "command.hpp"
16 #include "sharedlistvector.h"
17 #include "inputdata.h"
19 #include "readmatrix.hpp"
21 /* The shared() command:
22 The shared command can only be executed after a successful read.shared command.
23 The shared command parses a .list file and separates it into groups.
24 It outputs a .shared file containing the OTU information for each group.
25 There are no shared command parameters. The shared command should be in the following format: shared(). */
30 class SharedCommand : public Command {
38 void printSharedData();
39 GlobalData* globaldata;
41 SharedListVector* SharedList;
44 map<string, SharedRAbundVector*>::iterator it;