Merge remote branch 'remotes/master/master' into fb-annots
authorPetr Danecek <pd3@sanger.ac.uk>
Tue, 12 Mar 2013 13:25:17 +0000 (13:25 +0000)
committerPetr Danecek <pd3@sanger.ac.uk>
Tue, 12 Mar 2013 13:25:17 +0000 (13:25 +0000)
1  2 
bam_plcmd.c
bcftools/call1.c
bcftools/prob1.c
samtools.1

diff --cc bam_plcmd.c
Simple merge
@@@ -544,10 -522,10 +552,10 @@@ int bcfview(int argc, char *argv[]
                        int i;
                        for (i = 0; i < 9; ++i) em[i] = -1.;
                }
-         if ( !(vc.flag&VC_KEEPALT) && vc.flag&VC_CALL && vc.min_ma_lrt>=0 )
+         if ( !(vc.flag&VC_KEEPALT) && (vc.flag&VC_CALL) && vc.min_ma_lrt>=0 )
          {
              bcf_p1_set_ploidy(b, p1); // could be improved: do this per site to allow pseudo-autosomal regions
 -            int gts = call_multiallelic_gt(b,p1,vc.min_ma_lrt);
 +            int gts = call_multiallelic_gt(b, p1, vc.min_ma_lrt, vc.flag&VC_VARONLY);
              if ( gts<=1 && vc.flag & VC_VARONLY ) continue;
          }
                else if (vc.flag & VC_CALL) { // call variants
Simple merge
diff --cc samtools.1
Simple merge