X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam_mcns.h;h=cff6e57d28047950be347e7d873d940638baa385;hb=71355852e510ac7937d552117557b9dbf07cd557;hp=89879fbc0f9cb76e924b8911fdc74442bc513c88;hpb=a11820a502707a04d5218a6a1cc32f8858b76a32;p=samtools.git diff --git a/bam_mcns.h b/bam_mcns.h index 89879fb..cff6e57 100644 --- a/bam_mcns.h +++ b/bam_mcns.h @@ -6,11 +6,15 @@ struct __mc_aux_t; typedef struct __mc_aux_t mc_aux_t; +#define MC_PTYPE_FULL 1 +#define MC_PTYPE_COND2 2 + #ifdef __cplusplus extern "C" { #endif mc_aux_t *mc_init(int n); + void mc_init_prior(mc_aux_t *ma, int type, double theta); void mc_destroy(mc_aux_t *ma); double mc_freq0(int ref, int *n, const bam_pileup1_t **plp, mc_aux_t *ma, int *_ref, int *alt); double mc_freq_iter(double f0, mc_aux_t *ma);