-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCPUfunctions.h
37 lines (21 loc) · 897 Bytes
/
CPUfunctions.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
#ifndef _CPUFUNCTIONS_H_
#define _CPUFUNCTIONS_H_
#include "dependencies.h"
#include "bwt.h"
typedef struct MultiInputItem
{
char queryFile1[MAX_FIELD_LEN];
char queryFile2[MAX_FIELD_LEN];
int insert_low;
int insert_high;
char bamOutputPrefix[MAX_FIELD_LEN];
char readGrpID[MAX_FIELD_LEN];
char sampleName[MAX_FIELD_LEN];
char readGrpOpt[MAX_FIELD_LEN];
} MultiInputItem;
MultiInputItem *loadMultiInputFile(char *fileName, int isPair, int isBAM, int &lineNum);
void updateInputOption(InputOptions *input_options, MultiInputItem *multiInputArray, int i);
void processIndexFileName(IndexFileNames &index, char *indexName, IniParams ini_params);
void loadIndex(IndexFileNames index, BWT **bwt, BWT **revBwt, HSP **hsp, uint **lkt, uint **revLkt,
uint **revOccValue, uint **occValue, uint &numOfOccValue, uint &lookupWordSize, char isShareIndex);
#endif