mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-30 20:08:12 +08:00
Homopolymer-compressed k-mer sketch
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user