X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bcftools%2Fprob1.h;h=88ed5bf0861ad709364b507fdfa39a24b825eca0;hb=ec294adf095b60c90e57e31f3af1335138c5a22a;hp=0a51a0ae2650f377f4fc48665109487687eb69cb;hpb=700d451b57c06a5fc842b24be0d69d4a251c91df;p=samtools.git diff --git a/bcftools/prob1.h b/bcftools/prob1.h index 0a51a0a..88ed5bf 100644 --- a/bcftools/prob1.h +++ b/bcftools/prob1.h @@ -26,7 +26,9 @@ extern "C" { void bcf_p1_init_prior(bcf_p1aux_t *ma, int type, double theta); void bcf_p1_init_subprior(bcf_p1aux_t *ma, int type, double theta); void bcf_p1_destroy(bcf_p1aux_t *ma); + void bcf_p1_set_ploidy(bcf1_t *b, bcf_p1aux_t *ma); int bcf_p1_cal(const bcf1_t *b, int do_contrast, bcf_p1aux_t *ma, bcf_p1rst_t *rst); + int call_multiallelic_gt(bcf1_t *b, bcf_p1aux_t *ma, double threshold); 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);