* fixed a bug in pileup: the first read in a chromosome may not be printed
abort();
}
buf->max_tid = b->core.tid; buf->max_pos = buf->tail->beg;
- if (buf->tail->end > buf->pos) {
+ if (buf->tail->end > buf->pos || buf->tail->b.core.tid > buf->tid) {
buf->tail->next = mp_alloc(buf->mp);
buf->tail = buf->tail->next;
}
#include "bam.h"
#ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.3"
+#define PACKAGE_VERSION "0.1.3-1"
#endif
int bam_taf2baf(int argc, char *argv[]);