|
ARB
|
#include "defines.h"

Go to the source code of this file.
Macros | |
| #define | BASETYPES 4 |
| #define | BASECHARS (BASETYPES+1) |
| #define | BASEQUAD (BASETYPES*BASETYPES) |
| #define | MAXBASECHAR ((int)'t') |
| #define | PROB_NOT_DEF (-1.0) |
| #define | isDeleted(b) (charIsDelete[(int)(b)]) |
| #define | isHelical(b) (charIsHelical[(int)(b)]) |
| #define | isPairing(b1, b2) (basesArePairing[(int)(b1)][(int)(b2)]) |
| #define | char2BaseType(c) ((enum BaseType)baseCharType[(int)c]) |
Enumerations | |
| enum | BaseType { BASE_A, BASE_C, BASE_G, BASE_T, BASE_DEL } |
Functions | |
| void | initBaseLookups () |
Variables | |
| char | helixBaseChar [BASECHARS] |
| char | loopBaseChar [BASECHARS] |
| int | basesArePairing [BASECHARS][BASECHARS] |
| int | baseCharType [] |
| int | charIsDelete [] |
| int | charIsHelical [] |
| #define BASETYPES 4 |
Definition at line 17 of file base.h.
Referenced by calcMutationMatrix(), createOriginRNS(), dumpRNS(), and mutateRNS().
| #define BASECHARS (BASETYPES+1) |
Definition at line 18 of file base.h.
Referenced by initBaseLookups().
Definition at line 19 of file base.h.
Referenced by createOriginRNS().
| #define MAXBASECHAR ((int)'t') |
Definition at line 21 of file base.h.
Referenced by initBaseLookups().
| #define isDeleted | ( | b | ) | (charIsDelete[(int)(b)]) |
Definition at line 24 of file base.h.
Referenced by mutateRNS().
| #define isHelical | ( | b | ) | (charIsHelical[(int)(b)]) |
Definition at line 25 of file base.h.
Referenced by dumpRNS(), and mutateRNS().
| #define isPairing | ( | b1, | |
| b2 | |||
| ) | (basesArePairing[(int)(b1)][(int)(b2)]) |
Definition at line 26 of file base.h.
Referenced by createOriginRNS(), and mutateRNS().
| #define char2BaseType | ( | c | ) | ((enum BaseType)baseCharType[(int)c]) |
Definition at line 35 of file base.h.
Referenced by dumpRNS(), and mutateRNS().
| void initBaseLookups | ( | ) |
Definition at line 20 of file base.c.
References assert, BASECHARS, loopBaseChar, and MAXBASECHAR.
Referenced by ARB_main().
Definition at line 4 of file base.c.
Referenced by createOriginRNS(), and mutateRNS().
Definition at line 5 of file base.c.
Referenced by createOriginRNS(), initBaseLookups(), and mutateRNS().
1.8.8