minimap2/bseq.h

22 lines
423 B
C
Raw Normal View History

2017-04-07 03:37:34 +08:00
#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;
2017-07-01 02:40:54 +08:00
char *name, *seq, *qual;
2017-04-07 03:37:34 +08:00
} 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 with_qual, int *n_);
2017-04-07 03:37:34 +08:00
int bseq_eof(bseq_file_t *fp);
2017-04-08 03:30:30 +08:00
extern unsigned char seq_nt4_table[256];
2017-04-07 03:37:34 +08:00
#endif