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.
12 #include "command.hpp"
13 #include "sharedlistvector.h"
14 #include "inputdata.h"
16 #include "readmatrix.hpp"
18 /* The shared() command:
19 The shared command can only be executed after a successful read.shared command.
20 The shared command parses a .list file and separates it into groups.
21 It outputs a .shared file containing the OTU information for each group.
22 There are no shared command parameters. The shared command should be in the following format: shared(). */
27 class SharedCommand : public Command {
35 void printSharedData();
36 GlobalData* globaldata;
38 SharedListVector* SharedList;
41 map<string, SharedRAbundVector*>::iterator it;