forked from deweylab/RSEM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModelParams.h
More file actions
39 lines (32 loc) · 737 Bytes
/
ModelParams.h
File metadata and controls
39 lines (32 loc) · 737 Bytes
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
#ifndef MODELPARAMS_H_
#define MODELPARAMS_H_
#include<cstdio>
#include<cstring>
#include "utils.h"
#include "Refs.h"
struct ModelParams {
int M;
READ_INT_TYPE N[3];
int minL, maxL;
bool estRSPD; // true if user wants to estimate RSPD; false if use uniform distribution
int B; // number of bins in RSPD
int mate_minL, mate_maxL;
double probF; //probability of forward strand
double mean, sd;
Refs *refs;
int seedLen;
//default parameters
ModelParams() {
minL = 1; maxL = 1000;
estRSPD = false;
B = 20; // default bin size if estRSPD is true
mate_minL = 1; mate_maxL = 1000;
probF = 0.5;
mean = -1; sd = 0;
M = 0;
memset(N, 0, sizeof(N));
refs = NULL;
seedLen = 0;
}
};
#endif /* MODELPARAMS_H_ */