1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
#ifndef READCLUSTER_H
#define READCLUSTER_H
/*
* readcluster.h
* Mothur
*
* Created by westcott on 10/28/09.
* Copyright 2009 Schloss Lab. All rights reserved.
*
*/
#include "mothur.h"
#include "nameassignment.hpp"
#include "listvector.hpp"
#include "counttable.h"
#include "utils.hpp"
/******************************************************/
class ReadCluster {
public:
ReadCluster(string, float, string, bool);
~ReadCluster();
int read(NameAssignment*&);
int read(CountTable*&);
string getOutputFile() { return OutPutFile; }
void setFormat(string f) { format = f; }
ListVector* getListVector() { return list; }
private:
string distFile, outputDir;
string OutPutFile, format;
ListVector* list;
float cutoff;
MothurOut* m;
bool sortWanted;
Utils util;
int convertPhylip2Column(NameAssignment*&);
int convertPhylip2Column(CountTable*&);
};
/******************************************************/
#endif
|