]> git.donarmstrong.com Git - mothur.git/blob - shared.h
added smart distance feature and optimized all commands using line by line processing
[mothur.git] / shared.h
1 #ifndef SHARED_H
2 #define SHARED_H
3
4 /*
5  *  shared.h
6  *  Dotur
7  *
8  *  Created by Sarah Westcott on 12/5/08.
9  *  Copyright 2008 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12  
13 using namespace std;
14
15 #include "mothur.h"
16 #include "sharedrabundvector.h"
17 #include "sharedlistvector.h"
18 #include "globaldata.hpp"
19
20 class Shared {
21         public:
22                 Shared();
23                 ~Shared() {};
24                 void getSharedVectors(SharedListVector*);
25                 map<string, SharedRAbundVector*> sharedGroups; //string is groupname, SharedVector* is out info for that group
26                 
27         private:
28                 GlobalData* globaldata;
29                 void parse(int, SharedListVector*);
30                 vector< map<string, SharedRAbundVector*> > sharedRAbund;  //contains all the info needed to create the .shared file not sure if we will need 
31 };
32
33 #endif