File: myseqdist.h

package info (click to toggle)
mothur 1.44.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,328 kB
  • sloc: cpp: 158,612; makefile: 119; sh: 10
file content (44 lines) | stat: -rwxr-xr-x 808 bytes parent folder | download | duplicates (3)
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
#ifndef CORRECTDIST_H
#define CORRECTDIST_H


/*
 *  pds.seqdist.h
 *  
 *
 *  Created by Pat Schloss on 8/12/11.
 *  Copyright 2011 Patrick D. Schloss. All rights reserved.
 *
 */

#include "mothurout.h"
#include "utils.hpp"

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

class correctDist {
public:
	correctDist(string, int);
	correctDist(int);
	~correctDist(){}
	
	int addSeq(string, string);
	void execute(string);
	
private:
	MothurOut* m;
    Utils util;
    vector<vector<int> > sequences;
    vector<string> names;
    int processors;
    
	int getSequences(string);
	vector<int> fixSequence(string);
	int createProcess(string);
};

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

#endif