* fixed a bug in the gap caller
if (ref == 0 || bca == 0) return -1;
// determine if there is a gap
for (s = N = 0; s < n; ++s) {
- N += n_plp[s]; // N is the total number of reads
for (i = 0; i < n_plp[s]; ++i)
if (plp[s][i].indel != 0) break;
if (i < n_plp[s]) break;
}
if (s == n) return -1; // there is no indel at this position.
+ for (s = N = 0; s < n; ++s) N += n_plp[s]; // N is the total number of reads
{ // find out how many types of indels are present
int m;
uint32_t *aux;
#endif
#ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.9-6 (r803)"
+#define PACKAGE_VERSION "0.1.9-7 (r804)"
#endif
int bam_taf2baf(int argc, char *argv[]);