Permalink
Browse files

* map3 target length bug

* scoring threshold increased
  • Loading branch information...
1 parent 2c7e54b commit aaf9cc7707395848be5818fb10af0716849c59c1 @iontorrent-dev iontorrent-dev committed May 16, 2011
Showing with 4 additions and 1 deletion.
  1. +3 −0 src/map/tmap_map3_aux.c
  2. +1 −1 src/map/tmap_map_util.c
@@ -347,6 +347,9 @@ tmap_map3_aux_core(tmap_seq_t *seq[2],
s->seqid = seqid;
s->pos = pos;
s->target_len = seq_len[i];
+ if(refseq->annos[seqid].len < s->target_len) {
+ s->target_len = refseq->annos[seqid].len;
+ }
s->score_subo = INT32_MIN;
// map3 aux data
@@ -71,7 +71,7 @@ tmap_map_opt_init(int32_t algo_id)
opt->softclip_type = TMAP_MAP_UTIL_SOFT_CLIP_RIGHT;
opt->dup_window = 128;
opt->max_seed_band = 15;
- opt->score_thr = 1;
+ opt->score_thr = 8;
opt->reads_queue_size = 262144;
opt->num_threads = 1;
opt->aln_output_mode = TMAP_MAP_UTIL_ALN_MODE_RAND_BEST;

0 comments on commit aaf9cc7

Please sign in to comment.