mirror of
https://github.com/lh3/minimap2.git
synced 2026-09-26 04:28:12 +08:00
r611: document --idx-no-seq; better inv aln
This commit is contained in:
@@ -202,7 +202,9 @@ static void write_cs(void *km, kstring_t *s, const mm_idx_t *mi, const mm_bseq1_
|
||||
|
||||
static inline void write_tags(kstring_t *s, const mm_reg1_t *r)
|
||||
{
|
||||
int type = r->inv? 'I' : r->id == r->parent? 'P' : 'S';
|
||||
int type;
|
||||
if (r->id == r->parent) type = r->inv? 'I' : 'P';
|
||||
else type = r->inv? 'i' : 'S';
|
||||
if (r->p) {
|
||||
mm_sprintf_lite(s, "\tNM:i:%d\tms:i:%d\tAS:i:%d\tnn:i:%d", r->blen - r->mlen + r->p->n_ambi, r->p->dp_max, r->p->dp_score, r->p->n_ambi);
|
||||
if (r->p->trans_strand == 1 || r->p->trans_strand == 2)
|
||||
|
||||
Reference in New Issue
Block a user