Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions prob1.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,12 @@ THE SOFTWARE. */
#include <errno.h>
#include <assert.h>
#include <limits.h>
#include <zlib.h>
#include "prob1.h"

// #include "kstring.h"
// #include "kseq.h"
// KSTREAM_INIT(gzFile, gzread, 16384)

#define MC_MAX_EM_ITER 16
#define MC_EM_EPS 1e-5
#define MC_DEF_INDEL 0.15

gzFile bcf_p1_fp_lk;

void bcf_p1_indel_prior(bcf_p1aux_t *ma, double x)
{
int i;
Expand Down Expand Up @@ -304,8 +297,6 @@ static void mc_cal_y_core(bcf_p1aux_t *ma, int beg)
}
}
if (z[0] != ma->z) memcpy(ma->z, z[0], sizeof(double) * (ma->M + 1));
if (bcf_p1_fp_lk)
gzwrite(bcf_p1_fp_lk, ma->z, sizeof(double) * (ma->M + 1));
}

static void mc_cal_y(bcf_p1aux_t *ma)
Expand Down
1 change: 0 additions & 1 deletion vcfcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ THE SOFTWARE. */
#include <math.h>
#include <htslib/vcf.h>
#include <time.h>
#include <zlib.h>
#include <stdarg.h>
#include <htslib/kfunc.h>
#include <htslib/synced_bcf_reader.h>
Expand Down