]> git.donarmstrong.com Git - samtools.git/blobdiff - bcftools/prob1.h
preliminary contrast variant caller
[samtools.git] / bcftools / prob1.h
index 358f551b4f4bde25a591de96a67a013941a18416..35c794fa1f78d8cea6781cb158dafbfff3553b93 100644 (file)
@@ -8,7 +8,9 @@ typedef struct __bcf_p1aux_t bcf_p1aux_t;
 
 typedef struct {
        int rank0;
-       double f_em, f_exp, f_flat, p_ref, g[3];
+       double f_em, f_exp, f_flat, p_ref;
+       double pc[4];
+       double g[3];
 } bcf_p1rst_t;
 
 #define MC_PTYPE_FULL  1
@@ -26,6 +28,8 @@ extern "C" {
        int bcf_p1_call_gt(const bcf_p1aux_t *ma, double f0, int k);
        void bcf_p1_dump_afs(bcf_p1aux_t *ma);
        int bcf_p1_read_prior(bcf_p1aux_t *ma, const char *fn);
+       long double bcf_p1_cal_g3(bcf_p1aux_t *p1a, double g[3]);
+       int bcf_p1_set_n1(bcf_p1aux_t *b, int n1);
 
 #ifdef __cplusplus
 }