ARB
Main Page
Namespaces
Classes
Files
File List
File Members
TREEGEN
rns.h
Go to the documentation of this file.
1
#ifndef RNS_H
2
#define RNS_H
3
4
#ifndef BASE_H
5
#include "
base.h
"
6
#endif
7
#ifndef SIMCFG_H
8
#include "
simcfg.h
"
9
#endif
10
#ifndef FRAND_H
11
#include "
frand.h
"
12
#endif
13
14
typedef
double
SingleProb
[
BASETYPES
];
15
typedef
double
DoubleProb
[
BASETYPES
][
BASETYPES
];
16
17
// -----------------------------
18
// Erzeugung der Ur-RNS
19
20
extern
int
orgLen
;
21
extern
double
orgHelixPart
;
22
23
// -----------------
24
// Mutation
25
26
extern
int
timeSteps
;
27
extern
Frand
mrpb_Init
,
28
l2hrpb_Init
,
29
pairPart
,
30
mutationRate
,
31
splitRate
,
32
helixGcDruck
,
33
helixGcRate
,
34
helixAtRate
,
35
loopGcDruck
,
36
loopGcRate
,
37
loopAtRate
;
38
extern
double
transitionRate
,
39
transversionRate
;
40
41
// ---------------------------
42
// Ausgabefilepointer
43
44
extern
FILE *
topo
,
45
*
seq
;
46
47
// ---------------------
48
// Eine Species
49
50
typedef
struct
S_RNS
{
51
char
*
base
;
// Array der Basen
52
int
bases
,
// Anzahl Basen
53
helix
,
// Anzahl Basenpaare in helikalen Bereichen
54
pairing
,
// Anzahl paarender Basenpaare (G-C und A-T)
55
laufNr
;
// erhoeht sich mit jeder neuen RNS (fuer Namensvergabe)
56
57
} *
RNS
;
58
59
#ifdef __cplusplus
60
extern
"C"
{
61
#endif
62
63
RNS
createOriginRNS
();
64
void
freeRNS
(
RNS
rns);
65
void
splitRNS
(
int
no_of_father,
RNS
origin,
double
age,
int
steps,
int
depth);
66
67
void
dumpDepths
();
68
69
#ifdef __cplusplus
70
}
71
#endif
72
73
#endif
S_Frand
Definition:
frand.h:8
S_RNS::laufNr
int laufNr
Definition:
rns.h:52
frand.h
loopGcRate
Frand loopGcRate
Definition:
rns.c:20
mrpb_Init
Frand mrpb_Init
Definition:
rns.c:20
seq
FILE * seq
Definition:
rns.c:46
SingleProb
double SingleProb[BASETYPES]
Definition:
rns.h:14
freeRNS
void freeRNS(RNS rns)
Definition:
rns.c:278
orgLen
int orgLen
Definition:
rns.c:12
splitRate
Frand splitRate
Definition:
rns.c:20
loopAtRate
Frand loopAtRate
Definition:
rns.c:20
S_RNS
Definition:
rns.h:50
DoubleProb
double DoubleProb[BASETYPES][BASETYPES]
Definition:
rns.h:15
S_RNS::helix
int helix
Definition:
rns.h:52
timeSteps
int timeSteps
Definition:
rns.c:19
helixGcRate
Frand helixGcRate
Definition:
rns.c:20
simcfg.h
mutationRate
Frand mutationRate
Definition:
rns.c:20
pairPart
Frand pairPart
Definition:
rns.c:20
S_RNS::base
char * base
Definition:
rns.h:51
createOriginRNS
RNS createOriginRNS()
Definition:
rns.c:157
BASETYPES
#define BASETYPES
Definition:
base.h:17
orgHelixPart
double orgHelixPart
Definition:
rns.c:13
helixGcDruck
Frand helixGcDruck
Definition:
rns.c:20
RNS
struct S_RNS * RNS
base.h
splitRNS
void splitRNS(int no_of_father, RNS origin, double age, int steps, int depth)
Definition:
rns.c:493
transversionRate
double transversionRate
Definition:
rns.c:31
S_RNS::bases
int bases
Definition:
rns.h:52
dumpDepths
void dumpDepths()
Definition:
rns.c:55
helixAtRate
Frand helixAtRate
Definition:
rns.c:20
topo
FILE * topo
Definition:
rns.c:46
transitionRate
double transitionRate
Definition:
rns.c:31
loopGcDruck
Frand loopGcDruck
Definition:
rns.c:20
S_RNS::pairing
int pairing
Definition:
rns.h:52
l2hrpb_Init
Frand l2hrpb_Init
Definition:
rns.c:20
Generated by
1.8.8