-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrna.h
54 lines (37 loc) · 987 Bytes
/
trna.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
#ifndef __TRNA_H
#define __TRNA_H
// need a way to record mutations and their impacts
// would also be good to record parent of each gene
class gene {
public:
/// position of the tRNA
double locus ;
/// the name of the tRNA - just a number unique for that run
int name ;
/// sequence
double sequence ;
/// genotype (meaningless unless --mutation-pathways is used)
string genotype ;
// expression
double expression ;
// frequency over time ;
// vector<int> frequency ;
// generation when gene was first seen
int birth ;
/// u rates per locus
double somatic ;
double germline ;
// progenitor
int progenitor ;
// mode of birth (helps for traceback)
char birth_mode ;
// indel rate
// float indel ;
// number of mutations accumulated by this tRNA
int muts ;
// sort function
bool operator <(const gene &g1 ) {
return g1.locus > locus ;
}
} ;
#endif