Homopolymer-compressed k-mer sketch

This commit is contained in:
Heng Li
2017-04-06 15:37:34 -04:00
parent 2bb0839177
commit 01baa847a1
8 changed files with 838 additions and 14 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef MM_BSEQ_H
#define MM_BSEQ_H
#include <stdint.h>
struct bseq_file_s;
typedef struct bseq_file_s bseq_file_t;
typedef struct {
int l_seq, rid;
char *name, *seq;
} bseq1_t;
bseq_file_t *bseq_open(const char *fn);
void bseq_close(bseq_file_t *fp);
bseq1_t *bseq_read(bseq_file_t *fp, int chunk_size, int *n_);
int bseq_eof(bseq_file_t *fp);
#endif