#include "kstring.h"
#include "time.h"
+#ifdef _WIN32
+#define srand48(x) srand(x)
+#define lrand48() rand()
+#endif
+
#include "kseq.h"
KSTREAM_INIT(gzFile, gzread, 16384)
if (!(l > begin && end > b->pos)) continue;
}
++n_processed;
- if (vc.flag & VC_QCNT) { // summarize the difference
+ if ((vc.flag & VC_QCNT) && !is_indel) { // summarize the difference
int x = bcf_min_diff(b);
if (x > 255) x = 255;
if (x >= 0) ++qcnt[x];