ARB
Functions | Variables
base.c File Reference
#include "base.h"
#include <ctype.h>
Include dependency graph for base.c:

Go to the source code of this file.

Functions

void initBaseLookups ()
 

Variables

char helixBaseChar [BASECHARS] = { 'A', 'C', 'G', 'T', '=' }
 
char loopBaseChar [BASECHARS] = { 'a', 'c', 'g', 't', '-' }
 
int basesArePairing [BASECHARS][BASECHARS]
 
int baseCharType [MAXBASECHAR+1]
 
int charIsDelete [MAXBASECHAR+1]
 
int charIsHelical [MAXBASECHAR+1]
 

Function Documentation

void initBaseLookups ( )

Definition at line 20 of file base.c.

References assert, BASECHARS, loopBaseChar, and MAXBASECHAR.

Referenced by ARB_main().

Variable Documentation

char helixBaseChar[BASECHARS] = { 'A', 'C', 'G', 'T', '=' }

Definition at line 4 of file base.c.

Referenced by createOriginRNS(), and mutateRNS().

char loopBaseChar[BASECHARS] = { 'a', 'c', 'g', 't', '-' }

Definition at line 5 of file base.c.

Referenced by createOriginRNS(), initBaseLookups(), and mutateRNS().

int basesArePairing[BASECHARS][BASECHARS]
Initial value:
= {
{ 0, 0, 0, 1, 0 },
{ 0, 0, 1, 0, 0 },
{ 0, 1, 0, 0, 0 },
{ 1, 0, 0, 0, 0 },
{ 0, 0, 0, 0, 0 },
}

Definition at line 7 of file base.c.

int baseCharType[MAXBASECHAR+1]

Definition at line 16 of file base.c.

int charIsDelete[MAXBASECHAR+1]

Definition at line 16 of file base.c.

int charIsHelical[MAXBASECHAR+1]

Definition at line 16 of file base.c.