-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsegmatch.cuh
68 lines (50 loc) · 1.29 KB
/
segmatch.cuh
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#pragma once
#include <iostream>
#include "functions_library.cuh"
#include "parameter_load.h"
#include <cstdlib>
#include <curand.h>
#include <curand_kernel.h>
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#include <thrust/system_error.h>
#include <thrust/system/cuda/error.h>
#include <sstream>
#include <algorithm>
#include <random>
#include <chrono>
#include <iomanip>
#include <string>
#include <map>
#include <string>
#include <vector>
#include <queue>
#include <thread>
#include <mutex>
#include <shared_mutex>
using namespace std;
class segmatch
{
private:
shared_mutex g_mutex;
vector<pair<int, int>> positions_start_end;
vector<string> sequences_to_Check_ID;
vector<string> sequences_to_Check;
int total_Bases = 0;
string node_ID = "";
int node_Index = -1;
float cutoff = 0.000;
int cutoff_Count = 0;
string tissue_Name = "";
int tissue_Index = -1;
string output_Folder_location;
string intermediate_Folder_location;
string node_intermediary_location;
string node_results_Location;
int CPU_cores = -1;
string Multi_Read = "YES";
public:
segmatch(string parameter_Master_Location);
void ingress();
void get_Match(int start, int stop, string &sequence_Query, string header,string generation);
};