]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_maqcns.h
* samtools-0.1.2-16
[samtools.git] / bam_maqcns.h
index 5d410ef9fda607ba3f02a925522c4aa59864cf25..56fa9db3a907f3087d6e4d114d54623a87491634 100644 (file)
@@ -16,13 +16,19 @@ typedef struct {
 } bam_maqcns_t;
 
 typedef struct {
+       int q_indel;
+       float r_indel;
+       // 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;
-       char *s1, *s2;
+       char *s[2];
+       //
+       int gt, gl[2];
+       int q_cns, q_ref;
 } bam_maqindel_ret_t;
 
 #ifdef __cplusplus
@@ -38,7 +44,8 @@ extern "C" {
        uint32_t glf2cns(const glf1_t *g, int q_r);
 
        bam_maqindel_opt_t *bam_maqindel_opt_init();
-       bam_maqindel_ret_t *bam_maqindel(int n, int pos, const bam_maqindel_opt_t *mi, const bam_pileup1_t *pl, const char *ref);
+       bam_maqindel_ret_t *bam_maqindel(int n, int pos, const bam_maqindel_opt_t *mi, const bam_pileup1_t *pl, const char *ref,
+                                                                        int _n_types, int *_types);
        void bam_maqindel_ret_destroy(bam_maqindel_ret_t*);
 
 #ifdef __cplusplus