]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_mcns.h
added the format column
[samtools.git] / bam_mcns.h
index 6d98de1320b57ebb695f33e73cd21aedfc4734d0..cff6e57d28047950be347e7d873d940638baa385 100644 (file)
@@ -6,14 +6,19 @@
 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);
+       double mc_freq_post(mc_aux_t *ma);
        double mc_ref_prob(mc_aux_t *ma);
        int mc_call_gt(const mc_aux_t *ma, double f0, int k);