mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-16 13:37:54 +08:00
r1008: don't parse space in BED
This commit is contained in:
2
index.c
2
index.c
@@ -654,7 +654,7 @@ mm_idx_intv_t *mm_idx_read_bed(const mm_idx_t *mi, const char *fn, int read_junc
|
||||
char *p, *q, *bl, *bs;
|
||||
int32_t i, id = -1, n_blk = 0;
|
||||
for (p = q = str.s, i = 0;; ++p) {
|
||||
if (*p == 0 || isspace(*p)) {
|
||||
if (*p == 0 || *p == '\t') {
|
||||
int32_t c = *p;
|
||||
*p = 0;
|
||||
if (i == 0) { // chr
|
||||
|
||||
Reference in New Issue
Block a user