integration/print het sites

This commit is contained in:
chhylp123
2022-01-17 18:29:48 -05:00
parent 7af0d85258
commit 0ce5a7ba5b
18 changed files with 2884 additions and 385 deletions
+22 -1
View File
@@ -57,9 +57,14 @@
typedef struct {
uint32_t qn, qs, qe;
uint32_t tn, ts, te;
uint8_t sec:6, el:1, rev:1;
uint32_t sec:30, el:1, rev:1;
} ul_ov_t;
typedef struct {
ul_ov_t *a;
size_t n, m;
} kv_ul_ov_t;
///query is the read itself
typedef struct {
@@ -207,6 +212,22 @@ typedef struct {
uint32_t utg:31, ori:1, start, len;
} utg_intv_t;
typedef struct {
uint32_t *idx;
kvec_t(uint64_t) interval;
} ucov_t;
typedef struct {
kvec_t(uint64_t) idx;
kvec_t(uint32_t) rids;
} ul_contain;
typedef struct {
ma_ug_t *ug;
ucov_t *cc;
ul_contain *ct;
// kv_ul_ov_t *ov;
} ul_idx_t;
#define MA_HT_INT (-1)
#define MA_HT_QCONT (-2)