X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bcftools%2Fprob1.h;h=35c794fa1f78d8cea6781cb158dafbfff3553b93;hb=390bbfbca2df79acf521706409a258895dfe72b1;hp=358f551b4f4bde25a591de96a67a013941a18416;hpb=b6f550edaa9384857879894bf01399fad76dac37;p=samtools.git diff --git a/bcftools/prob1.h b/bcftools/prob1.h index 358f551..35c794f 100644 --- a/bcftools/prob1.h +++ b/bcftools/prob1.h @@ -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 }