projects
/
qpalma.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
+ wrote faster parser / file processing tools in C
[qpalma.git]
/
tools
/
data_tools
/
datastructures.h
1
#ifndef __DATA_STRUCTURES_H__
2
#define __DATA_STRUCTURES_H__
3
4
struct
gene
{
5
int
start
;
6
int
stop
;
7
int
*
exon_starts
;
8
int
*
exon_stops
;
9
int
num_exons
;
10
int
max_exons
;
11
char
strand
;
12
};
13
14
struct
read
{
15
int
start
;
16
int
stop
;
17
char
*
seq
;
18
char
strand
;
19
20
int
*
prb
;
21
int
*
cprb
;
22
int
*
chastity
;
23
};
24
25
struct
gene
*
gene_alloc
(
void
);
26
void
free_gene
(
struct
gene
*
oldGene
);
27
void
add_exon
(
struct
gene
*
currentGene
,
int
start
,
int
stop
);
28
29
#endif
// __DATA_STRUCTURES_H__