]> git.donarmstrong.com Git - samtools.git/blobdiff - bam2bcf.h
* bcftools: add HWE (no testing for now)
[samtools.git] / bam2bcf.h
index 73624c0a6bdc789d892aa4dc9d89ac07f7adcc38..4038f39ba687b900f777b31835aca5204de20b97 100644 (file)
--- a/bam2bcf.h
+++ b/bam2bcf.h
@@ -8,8 +8,7 @@ struct __bcf_callaux_t;
 typedef struct __bcf_callaux_t bcf_callaux_t;
 
 typedef struct {
-       int depth, d[4];
-       int dsum[2], d2sum[2];
+       int depth, d[4], ed[4];
        uint64_t sum_Q2;
        float p[25], esum[5];
 } bcf_callret1_t;
@@ -17,8 +16,7 @@ typedef struct {
 typedef struct {
        int a[5]; // alleles: ref, alt, alt2, alt3
        int n, n_alleles, shift, ori_ref, unseen;
-       int d[4], depth, rmsQ;
-       double davg[2], dstd[2];
+       int d[4], ed[4], depth, rmsQ;
        uint8_t *PL;
 } bcf_call_t;