mirror of
https://github.com/lh3/minimap2.git
synced 2026-10-03 07:28:11 +08:00
r1008: don't parse space in BED
This commit is contained in:
@@ -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;
|
char *p, *q, *bl, *bs;
|
||||||
int32_t i, id = -1, n_blk = 0;
|
int32_t i, id = -1, n_blk = 0;
|
||||||
for (p = q = str.s, i = 0;; ++p) {
|
for (p = q = str.s, i = 0;; ++p) {
|
||||||
if (*p == 0 || isspace(*p)) {
|
if (*p == 0 || *p == '\t') {
|
||||||
int32_t c = *p;
|
int32_t c = *p;
|
||||||
*p = 0;
|
*p = 0;
|
||||||
if (i == 0) { // chr
|
if (i == 0) { // chr
|
||||||
|
|||||||
Reference in New Issue
Block a user