Output mapping quality with XB

This commit is contained in:
Nils Homer 2020-08-06 10:10:58 -07:00 committed by GitHub
parent 13b5637fe6
commit e050ec9a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ char **mem_gen_alt(const mem_opt_t *opt, const bntseq_t *bns, const uint8_t *pac
if (opt->flag & MEM_F_XB) {
kputc(',', &str);
kputw(t.score, &str);
kputc(',', &str);
kputw(t.mapq, &str);
}
kputc(';', &str);
free(t.cigar);