+ added read structure for new parser
[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 char* id;
13 };
14
15 struct gene* gene_alloc(void);
16 void free_gene(struct gene* oldGene);
17 void add_exon(struct gene* currentGene,int start, int stop);
18
19 #endif // __DATA_STRUCTURES_H__