mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-15 13:07:55 +08:00
r188: renamed bseq* to mm_bseq*
to avoid naming collisions between minimap2 and bwa/fermi-lite/etc
This commit is contained in:
22
bseq.h
22
bseq.h
@@ -3,19 +3,27 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct bseq_file_s;
|
||||
typedef struct bseq_file_s bseq_file_t;
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct mm_bseq_file_s;
|
||||
typedef struct mm_bseq_file_s mm_bseq_file_t;
|
||||
|
||||
typedef struct {
|
||||
int l_seq, rid;
|
||||
char *name, *seq, *qual;
|
||||
} bseq1_t;
|
||||
} mm_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_);
|
||||
int bseq_eof(bseq_file_t *fp);
|
||||
mm_bseq_file_t *mm_bseq_open(const char *fn);
|
||||
void mm_bseq_close(mm_bseq_file_t *fp);
|
||||
mm_bseq1_t *mm_bseq_read(mm_bseq_file_t *fp, int chunk_size, int with_qual, int *n_);
|
||||
int mm_bseq_eof(mm_bseq_file_t *fp);
|
||||
|
||||
extern unsigned char seq_nt4_table[256];
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user