#include <stdio.h>
#include <inttypes.h>
Go to the source code of this file.
|
int | regidx_parse_bed (const char *, char **, char **, reg_t *, void *, void *) |
|
int | regidx_parse_tab (const char *, char **, char **, reg_t *, void *, void *) |
|
regidx_t * | regidx_init (const char *fname, regidx_parse_f parsef, regidx_free_f freef, size_t payload_size, void *usr) |
|
void | regidx_destroy (regidx_t *idx) |
|
int | regidx_overlap (regidx_t *idx, char *chr, uint32_t start, uint32_t end, regitr_t *itr) |
|
int | regidx_insert (regidx_t *idx, char *line) |
|
char ** | regidx_seq_names (regidx_t *idx, int *n) |
|
#define REGITR_END |
( |
|
itr | ) |
(itr).reg[(itr).i].end |
#define REGITR_PAYLOAD |
( |
|
itr, |
|
|
|
type_t |
|
) |
| ((type_t*)(itr).payload)[(itr).i] |
#define REGITR_START |
( |
|
itr | ) |
(itr).reg[(itr).i].start |
typedef void(* regidx_free_f)(void *payload) |
typedef int(* regidx_parse_f)(const char *line, char **chr_beg, char **chr_end, reg_t *reg, void *payload, void *usr) |
int regidx_insert |
( |
regidx_t * |
idx, |
|
|
char * |
line |
|
) |
| |
int regidx_overlap |
( |
regidx_t * |
idx, |
|
|
char * |
chr, |
|
|
uint32_t |
start, |
|
|
uint32_t |
end, |
|
|
regitr_t * |
itr |
|
) |
| |
int regidx_parse_bed |
( |
const char * |
, |
|
|
char ** |
, |
|
|
char ** |
, |
|
|
reg_t * |
, |
|
|
void * |
, |
|
|
void * |
|
|
) |
| |
int regidx_parse_tab |
( |
const char * |
, |
|
|
char ** |
, |
|
|
char ** |
, |
|
|
reg_t * |
, |
|
|
void * |
, |
|
|
void * |
|
|
) |
| |
char** regidx_seq_names |
( |
regidx_t * |
idx, |
|
|
int * |
n |
|
) |
| |