Gamgee
You miserable little maggot. I'll stove your head in!
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
cram_index.c File Reference
#include <stdio.h>
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <zlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <math.h>
#include <ctype.h>
#include "htslib/hfile.h"
#include "cram/cram.h"
#include "cram/os.h"
#include "cram/zfio.h"

Functions

int cram_index_load (cram_fd *fd, const char *fn)
 
void cram_index_free (cram_fd *fd)
 
cram_indexcram_index_query (cram_fd *fd, int refid, int pos, cram_index *from)
 
int cram_seek_to_refpos (cram_fd *fd, cram_range *r)
 
int cram_index_build (cram_fd *fd, const char *fn_base)
 

Function Documentation

int cram_index_build ( cram_fd fd,
const char *  fn_base 
)
void cram_index_free ( cram_fd fd)
int cram_index_load ( cram_fd fd,
const char *  fn 
)
cram_index* cram_index_query ( cram_fd fd,
int  refid,
int  pos,
cram_index from 
)
int cram_seek_to_refpos ( cram_fd fd,
cram_range r 
)