From 62132098eef06eaaa854bd6f39a5bae5ca5e019f Mon Sep 17 00:00:00 2001 From: Heng Li Date: Mon, 28 Feb 2011 20:45:17 +0000 Subject: [PATCH] minor changes to a heuristic rule --- phase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phase.c b/phase.c index aa88921..dfe3eea 100644 --- a/phase.c +++ b/phase.c @@ -177,7 +177,7 @@ static uint64_t *fragphase(int vpos, const int8_t *path, nseq_t *hash, int flip) f->phase = c[0] > c[1]? 0 : 1; f->in = c[f->phase]; f->out = c[1 - f->phase]; f->phased = f->in == f->out? 0 : 1; - f->ambig = (f->in && f->out && f->in <= f->out + 1)? 1 : 0; + f->ambig = (f->in && f->out && f->out < 3 && f->in <= f->out + 1)? 1 : 0; // fix chimera f->flip = 0; if (flip && c[0] >= 3 && c[1] >= 3) { -- 2.39.5