mirror of
https://github.com/chhylp123/hifiasm.git
synced 2026-09-15 12:47:57 +08:00
r221: sync with hifiasm parameter
Probably has no practical effect
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#define HA_VERSION "0.3.0-dirty-r220"
|
||||
#define HA_VERSION "0.3.0-dirty-r221"
|
||||
|
||||
#define VERBOSE 0
|
||||
|
||||
|
||||
@@ -383,7 +383,7 @@ int32_t ha_chain_lis_core(k_mer_hit *a, int32_t n_a, Chain_Data *dp, int32_t min
|
||||
tot_len += dy;
|
||||
if (tot_indel > tot_len * bw_thres) break;
|
||||
dg = dx < dy? dx : dy;
|
||||
if (dd > 10 && dd > dg * bw_thres) break;
|
||||
if (dd > THRESHOLD_MAX_SIZE && dd > dg * bw_thres) break;
|
||||
score = dg < min_sc? dg : min_sc;
|
||||
gap_rate = (double)tot_indel / tot_len;
|
||||
score -= (int)(gap_rate * score * bw_pen);
|
||||
|
||||
Reference in New Issue
Block a user