]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_mcns.h
* samtools-0.1.8-6 (r638)
[samtools.git] / bam_mcns.h
index a86fc1ddbd62e575ffeca6d2d59917e0b7e2f9a6..0781975361a732ecf8ec285948832e4458d3e0a4 100644 (file)
@@ -8,7 +8,7 @@ typedef struct __mc_aux_t mc_aux_t;
 
 typedef struct {
        // O(n)
-       int ref, alt;
+       int ref, alt, alt2;
        double f_em, f_naive, f_nielsen;
        // O(n^2)
        double PD, p_ref, f_exp;
@@ -18,6 +18,7 @@ typedef struct {
 
 #define MC_PTYPE_FULL  1
 #define MC_PTYPE_COND2 2
+#define MC_PTYPE_FLAT  3
 
 #ifdef __cplusplus
 extern "C" {
@@ -28,6 +29,7 @@ extern "C" {
        void mc_destroy(mc_aux_t *ma);
        int mc_cal(int ref, int *n, const bam_pileup1_t **plp, mc_aux_t *ma, mc_rst_t *rst, int level);
        int mc_call_gt(const mc_aux_t *ma, double f0, int k);
+       void mc_dump_afs(mc_aux_t *ma);
 
 #ifdef __cplusplus
 }