| 1 |
#ifndef _ABPOA_SEED_H |
| 2 |
#define _ABPOA_SEED_H |
| 3 |
|
| 4 |
#include <stdint.h> |
| 5 |
#include <stdlib.h> |
| 6 |
#include "abpoa.h" |
| 7 |
|
| 8 |
// emulate 128-bit integers and arrays |
| 9 |
typedef struct { uint64_t x, y; } ab_u128_t; |
| 10 |
typedef struct { size_t n, m; ab_u128_t *a; } ab_u128_v; |
| 11 |
|
| 12 |
typedef struct { size_t n, m; uint64_t *a; } ab_u64_v; |
| 13 |
|
| 14 |
#ifdef __cplusplus |
| 15 |
extern "C" { |
| 16 |
#endif |
| 17 |
|
| 18 |
int abpoa_build_guide_tree_partition(uint8_t **seqs, int *seq_lens, int n_seq, abpoa_para_t *abpt, int *read_id_map, ab_u64_v *par_anchors, int *par_c); |
| 19 |
|
| 20 |
#ifdef __cplusplus |
| 21 |
} |
| 22 |
#endif |
| 23 |
|
| 24 |
|
| 25 |
#endif |