-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathSampling.h
82 lines (63 loc) · 1.37 KB
/
Sampling.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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#ifndef SAMPLING_H
#define SAMPLING_H
#define LENS 10000
#include "NGSNGS_cli.h"
#include "fasta_sampler.h"
struct Parsarg_for_Sampling_thread{
fasta_sampler *reffasta;
int simmode;
int threadno;
int totalThreads; //<- this contains the total number of threads. This is shared among all threads
int* FragLen;
double* FragFreq;
int No_Len_Val;
double distparam1;
double distparam2;
int LengthType;
char *NtQual_r1;
char *NtQual_r2;
ransampl_ws ***QualDist_r1;
ransampl_ws ***QualDist_r2;
int FixedQual_r1r2;
int qsreadcycle;
double* MisMatch;
int doMisMatchErr;
int MisLength;
double *NtErr_r1;
double *NtErr_r2;
int threadseed;
size_t reads;
size_t BufferLength;
BGZF **bgzf_fp;
samFile *SAMout;
sam_hdr_t *SAMHeader;
bam1_t **list_of_reads;
int LengthData;
int MaximumLength;
int AddAdapt;
const char* Adapter_1;
const char* Adapter_2;
int DoNonBiotin;
int DoBiotin;
float *BriggsParam;
int Duplicates;
const char* SizeFile;
const char* SizeFileFlag;
int FixedSize;
int lowerlimit;
int maxreadlength;
outputformat_e OutputFormat;
seqtype_e SeqType;
const char* QualFlag;
int DoSeqErr;
int Align;
char PolyNt;
int rng_type;
float *IndelFuncParam;
int DoIndel;
const char* IndelDumpFile;
int bedfilesample;
int VCFcapture;
};
void* Sampling_threads(void *arg);
#endif