Gamgee
You miserable little maggot. I'll stove your head in!
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Functions
regidx.c File Reference
#include "htslib/hts.h"
#include "htslib/kstring.h"
#include "htslib/kseq.h"
#include "htslib/khash_str2int.h"
#include "htslib/regidx.h"

Classes

struct  reglist_t
 
struct  _regidx_t
 

Macros

#define LIDX_SHIFT   13
 

Functions

char ** regidx_seq_names (regidx_t *idx, int *n)
 
int _regidx_build_index (regidx_t *idx)
 
int regidx_insert (regidx_t *idx, char *line)
 
regidx_tregidx_init (const char *fname, regidx_parse_f parser, regidx_free_f free_f, size_t payload_size, void *usr_dat)
 
void regidx_destroy (regidx_t *idx)
 
int regidx_overlap (regidx_t *idx, char *chr, uint32_t from, uint32_t to, regitr_t *itr)
 
int regidx_parse_bed (const char *line, char **chr_beg, char **chr_end, reg_t *reg, void *payload, void *usr)
 
int regidx_parse_tab (const char *line, char **chr_beg, char **chr_end, reg_t *reg, void *payload, void *usr)
 

Macro Definition Documentation

#define LIDX_SHIFT   13

Function Documentation

int _regidx_build_index ( regidx_t idx)
void regidx_destroy ( regidx_t idx)
regidx_t* regidx_init ( const char *  fname,
regidx_parse_f  parser,
regidx_free_f  free_f,
size_t  payload_size,
void *  usr_dat 
)
int regidx_insert ( regidx_t idx,
char *  line 
)
int regidx_overlap ( regidx_t idx,
char *  chr,
uint32_t  from,
uint32_t  to,
regitr_t itr 
)
int regidx_parse_bed ( const char *  line,
char **  chr_beg,
char **  chr_end,
reg_t reg,
void *  payload,
void *  usr 
)
int regidx_parse_tab ( const char *  line,
char **  chr_beg,
char **  chr_end,
reg_t reg,
void *  payload,
void *  usr 
)
char** regidx_seq_names ( regidx_t idx,
int *  n 
)