-
Notifications
You must be signed in to change notification settings - Fork 0
/
Align.h
38 lines (34 loc) · 848 Bytes
/
Align.h
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
#ifndef ALIGN_H_
#define ALIGN_H_
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include "Config.h"
#include "Metrix/AbstractMetrix.h"
#include "Node.h"
#include "Transform.h"
class Align {
public:
// constructor
Align(Config input);
~Align();
void setFinal(bool time);
bool getFinal();
vector<Node> getRegion();
vector<string> getOrder();
double getProfile();
double ChosenAlign(string seedone, string seedtwo);
private:
Config Parameters;
vector<Node> MasterRegion;
vector<string> OutputOrder;
double CorrelationProfile;
bool FINAL_Align;
void CalculateProfile();
void loadRegions(string name);
int countlines(string name);
void loadarray(double currentregion[], int windowstart, int currentindex, bool reversal);
void Swap(int index, int length);
};
#endif /*ALIGN_H_*/