projects
/
samtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d0fb2f
)
fixed a bug in printing MNPs
author
Heng Li
<lh3@live.co.uk>
Thu, 18 Nov 2010 02:58:58 +0000
(
02:58
+0000)
committer
Heng Li
<lh3@live.co.uk>
Thu, 18 Nov 2010 02:58:58 +0000
(
02:58
+0000)
bam2bcf.c
patch
|
blob
|
history
bamtk.c
patch
|
blob
|
history
diff --git
a/bam2bcf.c
b/bam2bcf.c
index fe447e6aafb610fb984d3e07c9c507a5572630ca..de414d7176903dd323ced99f3b8de39396667517 100644
(file)
--- a/
bam2bcf.c
+++ b/
bam2bcf.c
@@
-209,7
+209,7
@@
int bcf_call2bcf(int tid, int pos, bcf_call_t *bc, bcf1_t *b, bcf_callret1_t *bc
}
kputc('\0', &s);
} else if (bc->ori_ref == B2B_REF_MNP) {
- for (j = 0; j < bca->indelreg; ++j) kputc(ref[pos+
1+
j], &s);
+ for (j = 0; j < bca->indelreg; ++j) kputc(ref[pos+j], &s);
kputc('\0', &s);
for (i = 1; i < 4; ++i) {
if (bc->a[i] < 0) break;
diff --git
a/bamtk.c
b/bamtk.c
index 591257b9c7c119f51267bdbcdeda8ff96865a590..89f7e80d8b12cf26fb4d450eb5f695c1ab2bb242 100644
(file)
--- a/
bamtk.c
+++ b/
bamtk.c
@@
-9,7
+9,7
@@
#endif
#ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.10-
2 (r832
)"
+#define PACKAGE_VERSION "0.1.10-
3 (r833
)"
#endif
int bam_taf2baf(int argc, char *argv[]);