]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_maqcns.h
* make tview more friendly
[samtools.git] / bam_maqcns.h
index 56fa9db3a907f3087d6e4d114d54623a87491634..6cc5355fc2db2b1b19e6a3d2d330306a240fa15a 100644 (file)
@@ -7,7 +7,7 @@ struct __bmc_aux_t;
 
 typedef struct {
        float het_rate, theta;
-       int n_hap;
+       int n_hap, cap_mapQ, is_soap;
 
        float eta, q_r;
        double *fk, *coef;
@@ -16,15 +16,17 @@ typedef struct {
 } bam_maqcns_t;
 
 typedef struct {
-       int q_indel;
-       float r_indel;
+       int q_indel; // indel sequencing error, phred scaled
+       float r_indel; // indel prior
+       float r_snp; // snp prior
        // hidden parameters, unchangeable from command line
        int mm_penalty, indel_err, ambi_thres;
 } bam_maqindel_opt_t;
 
 typedef struct {
        int indel1, indel2;
-       int cnt1, cnt2, cnt_ambi, cnt_anti;
+       int cnt1, cnt2, cnt_anti;
+       int cnt_ref, cnt_ambi;
        char *s[2];
        //
        int gt, gl[2];