File: readphylipvector.h

package info (click to toggle)
mothur 1.48.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 13,684 kB
  • sloc: cpp: 161,854; makefile: 122; sh: 31
file content (34 lines) | stat: -rwxr-xr-x 809 bytes parent folder | download | duplicates (4)
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
#ifndef READPHYLIPVECTOR_H
#define READPHYLIPVECTOR_H

/*
 *  readphylipvector.h
 *  mothur
 *
 *  Created by westcott on 1/11/11.
 *  Copyright 2011 Schloss Lab. All rights reserved.
 *
 */


#include "mothur.h"
#include "mothurout.h"

/******************************************************/

class ReadPhylipVector {
	
public:
	ReadPhylipVector(string); //phylipfile - lt or square
	~ReadPhylipVector() = default;
	vector<string> read(vector< vector<double> >&); //pass in matrix to fill with values, returns vector of strings containing names in phylipfile
	vector<string> read(vector<seqDist>&); //pass in matrix to fill with values, returns vector of strings containing names in phylipfile
	
private:
	string distFile;
	MothurOut* m;
};

/******************************************************/

#endif