]> git.donarmstrong.com Git - samtools.git/commitdiff
When -B is applied to mpileup, still use paired reads only unless -A is flagged.
authorHeng Li <lh3@live.co.uk>
Wed, 15 Dec 2010 03:41:09 +0000 (03:41 +0000)
committerHeng Li <lh3@live.co.uk>
Wed, 15 Dec 2010 03:41:09 +0000 (03:41 +0000)
bam_plcmd.c
bamtk.c

index 27f67629337b89385080e1904deb80e4dd313d50..d03bab10af0efe28cbda757b3c7e1a7150bfde1d 100644 (file)
@@ -877,7 +877,7 @@ int bam_mpileup(int argc, char *argv[])
                case 'g': mplp.flag |= MPLP_GLF; break;
                case 'u': mplp.flag |= MPLP_NO_COMP | MPLP_GLF; break;
                case 'a': mplp.flag |= MPLP_NO_ORPHAN | MPLP_REALN; break;
-               case 'B': mplp.flag &= ~MPLP_REALN & ~MPLP_NO_ORPHAN; break;
+               case 'B': mplp.flag &= ~MPLP_REALN; break;
                case 'R': mplp.flag |= MPLP_REALN; break;
                case 'D': mplp.flag |= MPLP_FMT_DP; break;
                case 'S': mplp.flag |= MPLP_FMT_SP; break;
diff --git a/bamtk.c b/bamtk.c
index 9706069828948c274db15ffe99c2717c83ca9fe0..7e72b4e8f67e012747925c7302cea05c031f8a80 100644 (file)
--- a/bamtk.c
+++ b/bamtk.c
@@ -9,7 +9,7 @@
 #endif
 
 #ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.12-6 (r887)"
+#define PACKAGE_VERSION "0.1.12-7 (r888)"
 #endif
 
 int bam_taf2baf(int argc, char *argv[]);