limit fstBC to 30bp in Python3 ver.
[GalaxyCodeBases.git] / c_cpp / coverages / chrtable.h
blob3189d1f4510dfc3553c5116f9f880024f4c5c98c
1 #ifndef CHR_TABLE_H
2 #define CHR_TABLE_H
3 /*
4 #include "uthash/uthash.h"
6 struct ChrData_hash_struct {
7 char *ChrID;
8 uint32_t ChrLen;
9 uint8_t *Data;
10 UT_hash_handle hh;
13 struct ChrData_hash_struct *ChrData;
15 void add_chr(char *id, uint32_t len);
17 #include <stdlib.h>
18 #include <string.h>
19 #include <bam/sam.h>
21 struct myData {
22 int32_t n_targets;
23 char **target_name;
24 uint32_t *target_len;
25 uint8_t **ChrDat;
26 } Data;
28 void do_stat(bam1_t *balignd, const uint16_t overlap, const struct myData *Data);
30 int do_contig(const uint8_t mindep, const struct myData *, const char * const outfile);
32 char *strlinker(const char * const main, const char * const suffix, char ** outstr);
40 #endif /* CHR_TABLE_H */